Previous Topic: Manual StartupNext Topic: Sample Labels


LAB Commands

Commands are sent to LAB using the CTS Message command (MSG).

Commands issued to the LAB subtask have the following format:

MSG LAB ,command
command

Specifies the LAB command and must contain one of the following values:

CANCEL

Cancel LAB including label processing with a User-111 abend

SPINOFF [xxxxxxxx]

Send a SPINOFF request through CA Common Services CAICCI to the label processor.

STATUS

Request a current label processing status

STOP

Terminate label processing in a normal fashion

VOLUME xxxxxx

Send a VOLUME request through the CA Common Services CAICCI to the label processor.

The STOP command issues a CLOSE request to the label processor which terminates the process in a normal fashion. Once termination is complete, the LAB subtask ends.

The STATUS command issues a request that provides two messages indicating the time and date the label processor started along with accumulated totals of VOLUME, DATA, LABEL and SPINOFF CAICCI requests that have been received. Additionally, an error count associated with VOLUME requests is provided.

The VOLUME command directs a request for a specific volume serial number to be processed. This command requires a parameter containing the volume serial number associated with the request. For this reason, the command and parameter entered must be separated by a blank and enclosed within single quotes or parentheses, for example, 'VOLUME 980010'.

The SPINOFF command can be entered with or without a parameter.

If the SPINOFF command is entered without a parameter, the label processor closes, reallocates, and reopens ALL printer files that were originally dynamically allocated as a SYSOUT file, thus freeing the current SYSOUT to be printed.

If the SPINOFF command is entered with a parameter, the parameter must be PRINTER1, PRINTER2 or PRINTER3 indicating the specific printer to which the request applies. Additionally, only the printer specified is closed, reallocated and reopened, freeing the current SYSOUT to be printed. In this case, the command and parameter entered must be separated by a blank and enclosed within single quotes or parentheses, for example, 'SPINOFF PRINTER1'.