Previous Topic: STATUS CommandNext Topic: CTS Started Task


Command Samples

CANCEL TMAP

The TMAP subtask abends with a user 111 and a dump. If the DUMP subtask is active, the abend dump will be spun off to SYSOUT.

START TLMS RETRY(4)

The TLMS subtask is attached and is restarted the next four times it ends with a nonzero return code. If TLMS ends with a zero return code, it will not be restarted.

MSG TLMS TRACE

The text TRACE is sent to the TLMS subtask. TRACE tells TLMS to snap all transactions to the SNAP log on entry and exit to TLMS.

MSG INQR 'UPV VOL001 SCRATCH=YES'

The text is sent to the INQR subtask which will process it just as though it had been entered in response to INQRs WTOR. In this case, VOL001 is scratched.

SET LABDEBUG(1)

The DEBUG switch in LABs CTSB is set to 1. The meaning of the DEBUG setting varies with the task. Use only when instructed by CA TLMS Support.

SET LAB DEBUG()

The DEBUG switch in LABs CTSB is set to reset to blank.

STOP ALL

STOP will be sent to all subtasks in the CTS address space. Each subtask terminates with a zero return code. The one exception is CMD. CMD never terminates while another subtask is active, because it is needed to process the STOP or CANCEL for the other task. If CMD receives a command to terminate when another task is active, waits 20 seconds then tries again. If another task is still active, it issues a message and remains active.

The following example displays how to turn on a CTS trace and where the output is routed:

A) F CTS,SET SNAP
B) F CTS,MSG TLMS,TRACE   (run job)
C) F CTS,SPINOFF,SNAP     (after job completes)
D) F CTS,MSG TLMS,NOTRACE