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 IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am


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