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

Help Required from experts - Natural pgm throwing error


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

PostPosted: Mon May 11, 2009 11:55 am
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
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 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 Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top