How to Cancel a Job
March 15, 2006 Hey, Ted
I have what I hope is a simple question. A CL program that runs in batch mode calls an RPG program, passing parameters to it. If the RPG program finds a certain error, it sets one of those parameters to a certain value, sets on the LR indicator, and ends. At this point, the CL program ends, but the message that it generates gives the caller the impression that the job ran OK. How do I make the program end abnormally? –Mike That’s a good, basic question, Mike, and I understand why you bring it up. This phenomenon drove me |