Sample batch job for bundle control commands
A sample batch job for issuing bundle control commands is provided in SBJTSAMP member BJT@BUNP to perform bundle administration. The sample job runs the batch program (BJTCBUNP) to issue bundle activation, deactivation, reactivation, and list commands.
You will need to customize this the BJT@BUNP batch job for your Output Manager installation and bundle control requirements. Follow the modification instructions in the comments of BJT@BUNP.
Specify an ACTION parameter to choose the action to be performed: ACT (activate), DEACT (deactivate), REACT (reactivate), or LIST.
- ACTION=ACT BUNDLE=bundle name
- Activates a bundle to
open a bundle instance and begin the collection of reports. The bundle
name variable represents a unique bundle name that is specified
in a bundle definition.Note: Use a wildcard (%) to activate all bundle instances.
- ACTION=DEACT bundle name
- Deactivates a specific
bundle instance to stop the collection of reports and print the accumulated
bundle contents. The bundle name variable represents a unique
bundle name that is specified in a bundle definition.Note: Use a wildcard (%) to deactivate and print all open bundle instances. Usually, you issue this command before you stop the Output Manager started task.
- ACTION=REACT bundle name
- Deactivate specified bundle(s), then activate specified bundles. Active bundles that have nothing to print are not processed and remain activated.
- List all activated bundles.