General syntax of DEFINE DATA OBJECT:
               
DEFINE
                                      DATA |  
                              
                     ||||||
  OBJECT |  
                               
                        
                            
  |  
                               
                        USING |  
                               
                        
                            
  |  
                               
                        
                            
  |  
                               
                        
                            
  |  
                              
                     |
| 
                                      local-data-definition
                                    |  
                               
                        ||||||
END-DEFINE |  
                               
                        ||||||
This document covers the following topics:
For an explanation of the symbols used in the syntax diagram, see Syntax Symbols.
The DEFINE DATA OBJECT statement is used in a subprogram or
                       class in conjunction with NaturalX. 
               
For further information, refer to the section NaturalX in the Programming Guide.
| Syntax Element | Description | 
|---|---|
USING
                                    local-data-area | 
                                
                                
                         
                                    
                            LDA Name:  
                                    
                           A local data
                                           area (LDA) contains data elements which are to be used in a single
                                        Natural module. You may reference more than one data area; in that case you
                                        have to repeat the reserved words  DEFINE DATA OBJECT USING DATX_L OBJECT USING DATX_P ... END-DEFINE ; For further information, see also Defining Fields in a Separate Data Area in the Programming Guide.  |  
                               
                     
USING
                                    parameter-data-area | 
                                
                                
                         
                                    
                            PDA Name:  
                                    
                           A data area defined with   |  
                               
                     
 
                                    local-data-definition |  
                                
                         
                                    
                            Local Data Definition:  
                                    
                           Data can also be defined directly using the syntax shown in Local Data Definition in the section Defining Local Data.  |  
                               
                     
 END-DEFINE |  
                                
                         
                                    
                            End of DEFINE DATA Statement:  
                                    
                           The Natural reserved word   |