IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
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
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
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: 2358
Location: Israel

PostPosted: Wed Apr 16, 2008 3:25 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Error when install DB2 DB2 2
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top