CSD DISCONNECT

Disconnect the current task from the CSD.

Read syntax diagramSkip visual syntax diagram
CSD DISCONNECT

>>-CSD--DISCONNECT---------------------------------------------><

Conditions: NOTAUTH

Description

The CSD DISCONNECT command removes the current task's connection to the CSD. This connection is acquired automatically when a task issues its first EXEC CICS® CSD command. CSD DISCONNECT closes the CSD if no other tasks are accessing it. This command is not normally necessary because this processing occurs automatically at task end.

Consider using CSD DISCONNECT for long-running tasks after each series of CSD commands, particularly in a non-RLS environment, because another system cannot share the CSD while a task in this system is connected.

A syncpoint is implicit in CSD DISCONNECT processing, except when an exception condition is detected early in processing the command. Uncommitted changes to recoverable resources made up to that point in the task are committed if the command is successful, and rolled back if not.

Options

None

Conditions

NOTAUTH
RESP2 value:
100
The user associated with the issuing task is not authorized to use this command.


dfha8_csd_disconnect.html | Timestamp icon Last updated: Monday, 5 June 2017