Previous Topic: Using the AUTOSTAT Command to Create Status SnapshotsNext Topic: AutoStatus MODIFY Command Format


Communicating with AUTOSTAT Using Console Commands

When you specify a REPEATS= value, the AutoStatus process remains active and repeats the function as requested. In addition, AUTOSTAT attaches a console subtask to allow you to communicate to the AUTOSTAT while it is executing.

Any console command that changes an operational parameter except REPEATS, such as EXCLUDE DURATION0, goes 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 is made in the operational parameters, but it does not take effect until the next status Snapshot occurs according to the repeat value. Issuing the REPEATS console command changes the current operational value for the REPEATS parameter and also triggers an immediate status 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 status Snapshot. In cases, where you want to force a status Snapshot without changing the overall operational parameters, you can do this by just issuing the REPEATS console command with a value equal to the current REPEATS value.

Issuing the AS_OPTIONS console 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 process "/MODIFY jobname,EOJ".

/CANCEL jobname

Causes the AUTOSTAT task to cancel 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.