35 pts.
 Run the program after sending it to bach
Hi , want to ask , i create a simple rpg program then compiled it It says that it is sent to the bach . How i can run the program? Thx

Software/Hardware used:
ASKED: June 26, 2009  5:41 PM
UPDATED: June 29, 2009  3:03 PM

Answer Wiki:
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  philpl1jb   44,630 pts.
All Answer Wiki Contributors:  philpl1jb   44,630 pts. , Teandy   5,860 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 35 pts.

 

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

 695 pts.

 

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.

 3,115 pts.