Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us