ISQCHK

Purpose

The ISQCHK command checks whether processor operations is active.

Syntax

Read syntax diagramSkip visual syntax diagramISQCHKcommand_name

Requirements

None.

Parameters

command_name
Is the name of an automation procedure.

Defaults

None.

Usage

This command is intended for use in automation procedures to determine whether processor operations is active. It provides a method of exiting from the automation procedure cleanly when processor operations is not active. If you issue ISQCHK from an operator station and processor operations is running, you will receive no response.

The optional command_name parameter is placed in the text of the error message generated when processor operations is not active. This identifies the automation procedure that cannot run because processor operations is not active.

For example, place the following statements near the beginning of a processor operations automation procedure that is written in REXX:
'ISQCHK STARTALL'
If RC<>0 then; Exit;

If you issue the STARTALL command when processor operations is not active, the error message will inform you that “the STARTALL command” cannot be run until processor operations is active, rather than simply informing you “the command” cannot be run until processor operations is active.

You can issue ISQCHK from an operator station task (OST) or from automation.

Restrictions and Limitations

None.

Return Codes

0
Processor operations is active.
32
Processor operations is not active.