Previous Topic: Communicating with AUTOSTAT Using Console CommandsNext Topic: Reporting Status Rowsets


AutoStatus MODIFY Command Format

The MODIFY command has the following format:

 /MODIFY ─ jobname,command

The jobname is the name of the AUTOSTAT job. Command is the action taken and value is the optional value supplied to the command. There must only be a comma separating the jobname and the command and there must be a space separating the command and the value, if specified.

Console commands are echoed to the SYSPRINT output.

Command

ADDMUF newmuf

Add the new MUFNAME to the list of MUFs that are being targeted for the status Snapshots. newmuf is 1 to 8 alphanumeric characters.

Note: There is a limit of 100 MUFNAMEs per AUTOSTAT execution.

AS_OPTIONS

Produces a listing of all AUTOSTAT options in effect to the SYSPRINT output.

COMM EOJ

Same as EOJ.

EOJ

Complete current Snapshot, set return code, and terminate the AUTOSTAT program.

EXCLUDE DURATION0

Excludes tasks that have a "blank" duration.

EXCLUDE HEADER

Tells the utility to stop producing heading pages to the SYSPRINT output file.

EXCLUDE NOTACTIVE

Excludes tasks that have a NOT ACTIVE status.

EXCLUDE REPCONNECT

Suppresses the URT open and close that occurs with the REPEATS= parameter.

Note: With the EXCLUDE REPCONNECT option specified, you must terminate AUTOSTAT before issuing the EOJ to the repository MUF.

EXCLUDE WARNMSG

Suppresses warning messages.

INCLUDE DURATION0

Includes tasks regardless of duration.

INCLUDE HEADER

Produces a page header at the top of each new page of the SYSPRINT output file. Each page is typically 60 lines.

INCLUDE NOTACTIVE

Includes tasks regardless of task status.

INCLUDE REPCONNECT

Activates the URT open and close that occurs with the REPEATS= parameter.

INCLUDE WARNMSG

Enables warning messages.

OUTTAG tag1

Changes the current OUTTAG value to a new value. Value must be from 1 through 16 alphanumeric characters.

REMOVEMUF oldmuf

Remove the existing MUFNAME from the list of MUFs that are being used as the source for the status Snapshots.

Note: There must be at least one valid MUFNAME per AUTOSTAT execution. If you attempt to remove the last MUFNAME, the command is ignored and a message issued.

REPEATS nnnnn

Changes the current REPEATS= parameter timer to this new value. Value must be 0 or from 3 through 64800. Changing the value to 0 causes the utility to do one last Snapshot and end. Changing the value to other than 0 forces an immediate Snapshot and changes the wait interval between further Snapshots and the utility continues to execute in the loop with the new REPEATS value.