Created On: 17 November 2010
Problem:
I want to automatically route my batch job message files to the non-held output queue for printing.
Resolution:
If your site uses document management software to store, display and print job output, you may wish to route the system messages spool files (JESYSMSG) from your batch jobs directly to the Enterprise Server Output queue, rather than the Out Hold queue. To achieve this, add the following setting to the [ES-Environment] configuration parameters: ES_JESYSMSG_OUTPUT=Y.
All job messages files will then be sent to the Output queue, but will only actually print (either physically or logically) if the MSGCLASS of the job matches one of the sysout classes defined to an active printer.
Note that the main spool display page in Enterprise Server shows the Job Class under the column heading "C" (between JobID and User), not the Message (or Sysout) class. Select a job from this list, and the individual spool files for the job will be listed, along with their associated sysout class, under the column heading "Class".
Note also that the routing to the Output queue occurs when the job completes, and any JESYSMSG spool file created while the above setting is NOT active will remain in the Out Hold queue, and will not be transferred to the Output queue if the setting is subsequently applied.
All job messages files will then be sent to the Output queue, but will only actually print (either physically or logically) if the MSGCLASS of the job matches one of the sysout classes defined to an active printer.
Note that the main spool display page in Enterprise Server shows the Job Class under the column heading "C" (between JobID and User), not the Message (or Sysout) class. Select a job from this list, and the individual spool files for the job will be listed, along with their associated sysout class, under the column heading "Class".
Note also that the routing to the Output queue occurs when the job completes, and any JESYSMSG spool file created while the above setting is NOT active will remain in the Out Hold queue, and will not be transferred to the Output queue if the setting is subsequently applied.
Incident #2487458
Old KB# 32541
#MFDS
#EnterpriseDeveloper