Previous Topic: Parmlib Syntax VerificationNext Topic: The Parameter Library (PARMLIB)


Automatic Command Execution

CA Vtape lets you automatically execute operating system, JES2, CA Vtape, and other console commands during CA Vtape startup and shutdown.

To enable this feature, you must define a parmlib member name for the StartupCommands and ShutdownCommands attributes in the Parmlib Directory Section in the VTPARMS member of parmlib.

Sample members VTSCMDS and VTPCMDS can be found in HLQ.CCUUPARM.

We recommend you activate the startup commands member and add &SVTS SET HSOPEN=ON and &SVTS D P,M as command entries. The first command ensures that the high-speed open option for Recalls and Recycle is always turned on (you must research whether it can be turned on first). The second command documents the current settings for the parmlib attributes, making it easier to track changes and reverse unwanted changes if needed.

Activate the shutdown commands member and add &SVTS D G, &SVTS D B, and &SVTS D A as command entries. The first command documents if there are any Virtual Volumes that require Externalization and if Externalization is active. The second command will document what Backstore Tapes are in use for Externalization or Recall. The third command documents if any Virtual Devices are in use and which jobs or started tasks are using them.

Since CA Vtape will not shutdown until all its virtual and Backstore Tape activity has stopped, the last two commands are very useful in determining what, if anything, is preventing CA Vtape from shutting down promptly. If CA Vtape is forced down after a stop command is issued, this information documents which Backstore Tapes, jobs, and started tasks were affected and may need corrective action.