z/OS Communications Server: SNA Programming
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Control block fields applicable for TESTCB

z/OS Communications Server: SNA Programming
SC27-3674-00

The field names shown in the first column of Table 1 are the values that can be coded for the field name operand of the TESTCB macroinstruction. The second column indicates the number of bytes that each field occupies. No lengths are shown for fields that can only be tested using fixed values (for example, MACRF=LOGON or CONTROL=QEC).

Table 1. Control block fields that can be tested with TESTCB

ACB fields

   
Field name Length (bytes)

Description

APPLID     4 Address of application program's symbolic name
PASSWD     4 Address of password
EXLST     4 Address of exit list
ACBLEN     2 Length of ACB, in bytes
ERROR     1 OPEN and CLOSE completion codes
OFLAGS     — ACB open-closed indicator (OFLAGS=OPEN)
MACRF     — Logon request status (MACRF=LOGON or NOLOGON)

EXLST fields

   
Field name Length (bytes)

Description

LERAD     4 Address of exit routine
SYNAD     4 Address of exit routine
DFASY     4 Address of exit routine
RESP     4 Address of exit routine
SCIP     4 Address of exit routine
TPEND     4 Address of exit routine
RELREQ     4 Address of exit routine
LOGON     4 Address of exit routine
LOSTERM     4 Address of exit routine
NSEXIT     4 Address of exit routine
EXLLEN      2 Length of exit list, in bytes

RPL fields

   
Field name Length (bytes)

Description

ACB     4 Address of ACB
NIB     4 Address of NIB
ARG     4 CID of session
AREA     4 Address of I/O work area
AREALEN     4 Length of AREA work area, in bytes
RECLEN     4 Length of data in AREA work area, in bytes
AAREA     4 Address of alternate I/O work area
AAREALN     4 Length of AAREA work area, in bytes
ARECLEN     4 Length of data in AAREA work area, in bytes
ECB     4 ECB or address of ECB
EXIT     4 Address of RPL exit routine
RTNCD     1 Recovery action return code
FDBK2     1 Specific error return code
FDBK     1 Additional status information
DATAFLG     1 Alias for FDBK
IO     — RPL internal ECB post bit on (IO=COMPLETE)
USER     4 USERFLD data
REQ     1 Request type code
RPLLEN     2 Length of RPL, in bytes
BRANCH     — SRB indicator (BRANCH=YES or NO)
OPTCD     — RPL option code
CRYPT     — Enciphered data flag
SEQNO     4 Sequence number
SSENSEO     — Outbound system-sense value
SSENSMO     1 Outbound system-sense modifier value
USENSEO     2 Outbound user-sense value
SSENSEI     — Inbound system-sense value
SSENSMI     1 Inbound system-sense modifier value
USENSEI     2 Inbound user-sense value
IBSQAC     — Inbound action code for STSN request
OBSQAC     — Outbound action code for STSN request
IBSQVAL     4 Inbound sequence number for STSN request
OBSQVAL     4 Outbound sequence number for STSN request
POST     — Scheduled or responded output (POST=SCHED or RESP)
RESPOND     — Response indicator (RESPOND)
CONTROL     — Control command (CONTROL=DATA) indicator
CHAIN     — Chain indicator (CHAIN)
CHNGDIR     — Change-direction indicator (CHNGDIR)
BRACKET     — Bracket indicator (BRACKET)
RTYPE     — Receive-type indicator (DFSYN, DFASY, RESP)
STYPE     — Send-type indicator (STYPE=REQ or STYPE=RESP)
SIGDATA     4 Information included with a signal request
CODESEL     — Type of character encoding (CODESEL=STANDARD or CODESEL=ALT)

NIB fields

   
Field name Length (bytes)

Description

NAME     8 Symbolic name of logical unit
USERFLD     4 Arbitrary data associated with session
CID     4 Communication ID
NIBLEN     1 Length of NIB, in bytes
DEVCHAR     8 Device characteristics. See Control block formats and DSECTs.
EXLST     4 Address of exit list
RESPLIM     4 Maximum number of concurrent SEND (POST=RESP) macros
LOGMODE     8 Logon mode name
BNDAREA     4 Address of BIND area
MODE     — Mode indicator (MODE=RECORD)
LISTEND     — NIB list termination flag (LISTEND=YES or LISTEND=NO)
SDT     — Start-data-traffic flag (SDT=APPL or SDT=SYSTEM)
PROC     — Processing option codes
COND     — Session-established flag (CON=YES)
ENCR     — Cryptographic level indicator (ENCR=REQD,ENCR=SEL or ENCR=NONE)
Note: Refer to the notes in Table 2, Table 4, and Table 5 for information about fields that are not supported by the TESTCB macroinstruction.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014