Type <ul>
CALL MYLIB/MYPGM </ul>
on the command line and press enter.
-------------------------------------------
The message sent to batch occurs when you type 14 - compile program.
Check your messages DSPMSG or view the Spool File DSPSPLF and determine if the compile was successful.
If not successful - fix and recompile.
If successful either
CALL MYLIB/MYPGM <-- runs interactively
or
SBMJOB CMD(Call MYLIB/MYPGM) <-- runs in batch
Phil
---------------------------
The message tells you that the compile failed - you need to look at the spool file created.
Near the bottom will be a report of the number of errors, above that are the list of errors...
RNAxxxx you are interested in errors with severety => 20. Search on each error # to find more info.
Fix and recompile.
Phil
Last Wiki Answer Submitted: June 29, 2009 12:48 am by philpl1jb44,630 pts.
All Answer Wiki Contributors: philpl1jb44,630 pts. ,
Teandy5,860 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Message ID . . . . . . : RNS9308
Date sent . . . . . . : 06/26/09 Time sent . . . . . . : 23:55:17
Message . . . . : Compilation stopped. Severity 40 errors found in program.
Cause . . . . . : The RPG compiler found at least one error in the program
of severity greater than that specified in the GENLVL option on the
CRTRPGMOD or CRTBNDRPG command.
Recovery . . . : Correct the errors in the program. Compile again.
Make you life easier. Instead of SEU, use the RSE editor included with WDSC. You can click “verify” and it will list any errors that will happen at compile time, and even highlight the statement where the error occurs.
Hi all,
what this error mean
Message ID . . . . . . : RNS9308
Date sent . . . . . . : 06/26/09 Time sent . . . . . . : 23:55:17
Message . . . . : Compilation stopped. Severity 40 errors found in program.
Cause . . . . . : The RPG compiler found at least one error in the program
of severity greater than that specified in the GENLVL option on the
CRTRPGMOD or CRTBNDRPG command.
Recovery . . . : Correct the errors in the program. Compile again.
thx
If you get any 40 error then you have to look for files all the files mentioned in F spec should be in your library list.
check the library list and try once again.
if you dont want to run your program in BATCH then try to change defaults by F18 function key and enter ‘N’ for the below option.
Run in batch . . . . . . . . N
Make you life easier. Instead of SEU, use the RSE editor included with WDSC. You can click “verify” and it will list any errors that will happen at compile time, and even highlight the statement where the error occurs.