Version 8.2.3 for Mainframes
 —  Statements  —

DEFINE DATA

General Syntax

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

PARAMETER

USING parameter-data-area

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

OBJECT

USING

local-data-area

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

LOCAL

USING

local-data-area

 
parameter-data-area  
data-definition../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

END-DEFINE

The DEFINE DATA statement offers a number of clauses to declare data definitions for use within a Natural program, either by referencing predefined data definitions contained in a local data area (LDA), global data area (GDA) or paramater data area (PDA), or by writing in-line definitions.

The documentation for the DEFINE DATA statement is divided into the following sections:

Specific Data Definitions:

Clauses and Options:

Examples:

Top of page