Type V2 (STOP)
The REX and AST tasks use the Type V2 element to pass a STOP command for a SNA-type link to the SCT task.
ORG CMNDTEXT
X'000' CMNDLEN DC XL1'00' Length of total element, minus 1
* Required by DMTCOMNQ/DQ
X'001' CMNDTYPE DC XL1'00' Type of command
* Command types are defined in RSSEQU and are
* used by requester and server to distinguish
* between different types of a command.
X'002' CMNDMOD DC XL1'00' Command modifier
* This byte is used to define extra
* refinements on the basic command
* type, eg, the reason for a reorder
X'003' DS XL1 Filler
*
* Command type/modifiers
*
V2STPCMD EQU X'40' STOP command for SNA link
*
*
CMND CMORIG DSECT=NO Origin of command
* Includes origin node, user ID, qual
* and various CRI settings
X'004' CMNDQUAL DC AL1(0) Origin qualifier
X'005' CMNDFLAG DC X'00' Flags (bits as MSGBFLAG)
X'006' CMNDRSPC DC H'0' Response counter
X'008' CMNDNODE DC CL8' ' Origin node
X'010' CMNDUSER DC CL8' ' and user ID
X'018' CMNDSIG DC CL6' ' Response signature
X'01E' DS XL2 Filler
X'020' CMNDTEXT DS 0D Text of command: from here, the
* ... format depends on CMNDTYPE
X'020' V2LINKID DC CL8' ' LINKID
X'028' V2ACTLUN DC CL8' ' LUname
V2ALTLEN EQU *-&LABEL-1 Length of whole, minus one