Natural for Mainframes Version 8.2.5 for Mainframes
 —  Statements  —

DEFINE DATA

DEFINE DATA
[GLOBAL USING global-data-area [WITH block [.block] ../graphics/dot3.gif]]

PARAMETER

USING parameter-data-area
parameter-data-definition ../graphics/dot3.gif

   

 

../graphics/dot3.gif

LOCAL

USING

local-data-area
parameter-data-area

 
local-data-definition ../graphics/dot3.gif

../graphics/dot3.gif

[INDEPENDENT [aiv-data-definition ../graphics/dot3.gif]] ../graphics/dot3.gif

CONTEXT

USING

local-data-area
parameter-data-area

 
context-data-definition ../graphics/dot3.gif

../graphics/dot3.gif

OBJECT

USING

local-data-area
parameter-data-area

 
local-data-definition ../graphics/dot3.gif

../graphics/dot3.gif

END-DEFINE

For an explanation of the symbols used in the syntax diagram, see Syntax Symbols.

Related topics in the Programming Guide: Use and Structure of DEFINE DATA Statement | Data Areas | Storage Alignment

The DEFINE DATA documentation is organized under the following headings:

Data Definitions:

Clauses and Options:

Examples:

Top of page