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
SBMJOB CMD(Call MYLIB/MYPGM) <– runs in batch
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.