Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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 -> NATURAL & MQSERIES
Author Message
gadiyarampavan

New User


Joined: 22 Feb 2005
Posts: 16
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
References
atulbagewadikar

New User


Joined: 15 Jun 2006
Posts: 5

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: 2040
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES All times are GMT + 6 Hours
Page 1 of 1