Previous Topic: SWAPNext Topic: UNSORT


SWITCH

SWITCH passes control to the CA IDMS/DC transfer control facility. With the SWITCH command, you can specify any valid CA IDMS/DC or CA IDMS UCF task code to transfer to another DC/UCF task. For example, you can transfer to IDD or the CA-ADS® dialog generator.

Syntax:

►►─── SWItch ─┬─────────────┬─────────────────────────────────────────────────►◄
              └─ task-code ─┘

Parameters:

task-code

Specifies the DC/UCF task to which control is passed. When the SWITCH command is issued without a designated task, control is returned to the last task suspended.

If no previous suspended session exists, the transfer control facility Selection screen is displayed.

Note: For information on the tasks that are supported by the transfer control facility, see the CA IDMS Common Facilities Guide.