Batch jobs should use messages both to record errors and to log processing stages.
Batch jobs in which a termination level error occurs should send an escape message—this causes OS/400 to give an indication of abnormal job termination.
Remove non-consequential messages from the logs of batch jobs. For instance, if you need to check that an object exists, but can create the object if it does not, you can remove the Object not found message. The exception message will be the most recent message on the program’s message queue.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |