Previous Topic

Next Topic

Book Contents

Book Index

Multiple DO SYSOUT Instructions

JES executes requests asynchronously. If two actions are specified for the same class (for example, release and change class), they may or may not be performed in the order specified. This may cause an error in one of the commands.

To overcome this problem, Control-M/Analyzer merges all output operations for the same class into one JES request. For example, to change class and release, use the following two DO SYSOUT statements:

DO SYSOUT C Q FRM A

DO SYSOUT R   FRM A

If you specify the following statements:

DO SYSOUT C Q FRM A

DO SYSOUT R   FRM

The results are unpredictable, because the second example produces two JES requests: one for class A and another for all held output.

Parent Topic

DO SYSOUT: Automated Balancing Statement