Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Natural Error: Variable/field/view must be defined in DEFINE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
gadiyarampavan

New User


Joined: 22 Feb 2005
Posts: 18
Location: Hyderabad

PostPosted: Wed Apr 16, 2008 11:59 am    Post subject: Natural Error: Variable/field/view must be defined in DEFINE
Reply with quote

Hi,

This is Pavan Kumar. Currently, I am working on Natural Adabas initially.
While reading a work file record in my program, I am getting the below mentioned error.

" NAT0623 Variable/field/view must be defined in DEFINE DATA."

Please let me know, how to resolve this error.


Thanks & Regards,
Pavann Kumar
Back to top
View user's profile Send private message

atulbagewadikar

New User


Joined: 15 Jun 2006
Posts: 26

PostPosted: Wed Apr 16, 2008 12:23 pm    Post subject: Reply to: Natural Error
Reply with quote

Hi Pavan,

You should encounter this error if you are using an user defined variable, a field from view that is not defined in DEFINE DATA statement.

Please check variables you are using with READ WORK FILE statement and make sure that all of them are defined before processing.

Also, for more explanation you can type ? 0623 on NEXT or COMMAND prompt. This will give you the total description of the error.

Thanks,
Atul
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Apr 16, 2008 3:25 pm    Post subject:
Reply with quote

There is no error to resolve. You simply have to define the variables.

Is this a structure-mode or reporting-mode program?

O.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us