Previous Topic: How to Use AUTOSTATNext Topic: MODIFY Command Format


Console Commands

When you specify a REPEATS= value, AUTOSTAT attaches a console subtask to allow you to communicate to AUTOSTAT while it is executing.

Any console command that changes an operational parameter except REPEATS, such as EXCLUDE DURATION0, will go into effect at the next processing cycle.

For example, if the task is running with REPEATS=600 (10 minutes), and you issue the console command EXCLUDE DURATION0, the change will be made in the operational parameters, but it will not take effect until the next Snapshot process. Issuing the REPEATS command changes the current operational value for the REPEATS parameter and also triggers an immediate Snapshot to be taken.

When you have a long REPEATS value, the console interaction allows you to make the change and also force an immediate Snapshot. In cases, where you want to force a Snapshot without changing the overall operational parameters, you can do this by just issuing the REPEATS command with a value equal to the current REPEATS value.

Issuing the AS_OPTIONS command does not change any operational values or trigger a Snapshot. AS_OPTIONS only requests that the current operational values are printed to SYSPRINT for review purposes.

Console interaction is provided through the following /STOP, /CANCEL, and /MODIFY processes.

/STOP jobname

Terminates the AUTOSTAT task. The process is the same as the following /MODIFY jobname,EOJ process.

/CANCEL jobname

Causes the AUTOSTAT task to be canceled with a S222 abend.

/MODIFY jobname,command

Issues changes using a specific command format as documented in the following section. It allows you to pass information to the active AUTOSTAT task.