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
 

 

Help Required from experts - Natural pgm throwing error

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

New User


Joined: 16 May 2005
Posts: 32
Location: Millenium Business Park, Mumbai

PostPosted: Fri May 08, 2009 4:35 pm    Post subject: Help Required from experts - Natural pgm throwing error
Reply with quote

Hello,

Though I have around 5 yr of exp on IBM Mainframes however I am quite new to AG NATURAL.

I have a online screen where if I do not enter anthing against a variable , it shows me a error at the top -

Code:
ZZZZ- Field can not be balnk.  Please enter data       PF13=HELP


Now if I hit PF13, it shows me pop up "Error Information Window" where at the bottom few PF keys are assigned to some functionality ..e.g. PF6 - EFRWD , PF8 RFRWD and PF10 EXIT.

Now if I hit PF10 to come out from error window to original screen it gets terminated and shows error in orig pgm like below -

PROGRAM NAME ................ZZZZZZZZ
ERROR MESSAGE ..............1108
ERROR LINE.......................5350

If it was a CICS pgm I could have fixed it but I am not sure how should I proceed with NATURAL...I just explored the pgm and found the line 5350 which throws the error - and that line contains the REINPUT statement.


Code:
REINPUT #ERR-MSG-TEXT MARK *#PARENT-ZZZ-ID


I would really appreciate if anyone offer me help to find the exact issue.

Thanks in advance,
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon May 11, 2009 11:55 am    Post subject:
Reply with quote

Error 1108 is very clear and self-explanatory. Please read the manual carefully, and then use TEST to test your program.

OE.
Back to top
View user's profile Send private message
Steve Robinson

New User


Joined: 14 Nov 2009
Posts: 12
Location: U.S.

PostPosted: Sun Nov 15, 2009 12:22 am    Post subject:
Reply with quote

Lets back up to the original problem.

I am assuming, due to the "code" you posted, that the problem is not an AD=E setting for the field you did not enter data for.

Hence, you must have code such as:

INPUT ... #INPUT
IF #INPUT = ' '
::::
END-IF

Take a look at the logic within the IF clause. As noted by ofer71, an 1108 is quite a simple error message. In order to do a REINPUT, the original INPUT screen must still "exist". However, a statement such as WRITE, DISPLAY or PRINT erases the original INPUT screen from Natural's buffer. Hence, the 1108.

The real "problem" is probably the logic in your IF clause; the 1108 is merely the result of your logic problem.

steve
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 OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
This topic is locked: you cannot edit posts or make replies. Natural ADABAS Opening with CTS enikhilk Mainframe Jobs 0 Wed Nov 30, 2016 5:37 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm


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