ATCBK | Back to Index page

| Prolog Control Block Contents ATCBK DSECT Storage Layout Cross Reference (Contains links to field and bit definitions) |
Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

ATCBK Prolog | Top of page

     NAME       : HCPATCBK
     DESCRIPTION: ATTACH COMMAND BLOCK
     DSECT      : ATCBK
     FUNCTION   : CONTAINS PARAMETERS FROM THE ATTACH COMMAND
     RELOCATION CONSIDERATIONS : None

ATCBK Control Block Content | Top of page

     ATCBK DSECT
    Top of page

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      ATCBK          ATTACH COMMAND BLOCK
    0000    0 Address      4 ATCNEXT        ADDRESS OF NEXT ATCBK
    0004    4 Bitstring    4 ATCDEVS (0)    REAL DEVICE NUMBERS
    0004    4 Signed       2 ATCRDEV1       BEGINING RDEV NUMBER
    0006    6 Signed       2 ATCRDEV2       ENDING RDEV NUMBER
    0008    8 Address      4 ATCEQADR       Address of the EQID/DUID
    000C   12 Signed       4 ATCVDEV (0)    BEGINNING VDEV NUMBER
    0010   16 Dbl-Word     8 ATCPARMS (0)   PARMS TO PASS HCPATSYS
    0010   16 Character    6 ATCVOLID       SYSTEM VOLUME LABEL
    0016   22 Bitstring    2 ATCSFLGS (0)   FLAG BYTES FOR HCPATSYS
    0016   22 Bitstring    1 ATCLFLAG       FLAG BYTE FOR HCPATSYS
              1... ....      ATCASSGN       X'80' ATCASSGN ASSIGN GIVEN LABEL
                                            TO DASD
              .1.. ....      ATCCPVOL       X'40' ATCCPVOL MOUNT CP VOLUME
                                            LABELS
              ..1. ....      ATCUSRVL       X'20' ATCUSRVL MOUNT USER VOLUME
                                            LABELS
              ...1 ....      ATCUNKVL       X'10' ATCUNKVL MOUNT UNKNOWN
                                            VOLUME LABELS
              .111 ....      ATCANYVL       ATCCPVOL+ATCUSRVL+ATCUNKVL
                                            ATCANYVL ANY LABELS
    0017   23 Bitstring    1 ATCRFLAG       FLAG BYTE FOR HCPATSYS
              1... ....      ATCNORSP       X'80' ATCNORSP NO REPONSE
                                            MESSAGES
              .1.. ....      ATCNOATT       X'40' ATCNOATT NO 'ALREADY
                                            ATTACHED' MSGS
              ..1. ....      ATCSTACK       X'20' ATCSTACK STACK OUTPUT
              ...1 ....      ATCRO          X'10' ATCRO ATTACH RDEV READ-ONLY
              .... 1...      ATCRLOGD       X'08' ATCRLOGD ATTACH LOGICAL
                                            DEVICE
              .... .1..      ATCRBFWT       X'04' ATCRBFWT WRITE RESPONSE TO
                                            BUFFER
              .... ..1.      ATCMAXDV       X'02' ATCMAXDV MAXIMUM NUMBER OF
                                            VIRTUAL DEVICES EXCEEDED
    0018   24 Bitstring    1 ATCCFLAG       LEVEL OF CONTROL FLAG
              1... ....      DDEVWKAL       X'80' DDEVWKAL Working allegiance
                                            on minidisk
              .1.. ....      DDEVCNA        X'40' DDEVCNA CACHING NOT
                                            AVAILABLE
              ..1. ....      DDEVSCTL       X'20' DDEVSCTL SUBSYSTEM CONTROL
              ...1 ....      DDEVDCTL       X'10' DDEVDCTL DEVICE CONTROL
              .... 1...      DDEVNCTL       X'08' DDEVNCTL NO CONTROL
              .... .1..      DDEVNMDC       X'04' DDEVNMDC MINIOPT NOMDC
                                            specified
              .... ..1.      DDEVQDSK       X'02' DDEVQDSK V-disk will be
                                            allocated
              .... ...1      DDEVYMDC       X'01' DDEVYMDC MINIOPT MDC
                                            specified NOTES : DDEVFLGC is NOT
                                            exclusive to MDISK devices.
    0019   25 Bitstring    1 ATCAFLAG       Flag byte for other
                                            Attach/Dedicate options
              1... ....      ATCANOSG       X'80' ATCANOSG "NOASSIGN" option
              .1.. ....      ATCASSN        X'40' ATCASSN "ASSIGN" option
              ..1. ....      ATCNOMS        X'20' ATCNOMS "NOCPMS" option
              ...1 ....      ATCSHRD        X'10' ATCSHRD "MULTIUSER" option
              .... 1...      ATCSNGL        X'08' ATCSNGL "SINGLEUSER" option
              .... .1..      ATCNQIOA       X'04' ATCNQIOA "NOQIOAssist"
                                            option
              .... ..1.      ATCAIOPS       X'02' ATCAIOPS User set I/O
                                            Assist off for device
              .... ...1      ATCABVO        X'01' ATCABVO DASD attached with
                                            VOLid parm
    001A   26 Bitstring    1 ATCDFLAG       DIRECTORY DEVICE INFORMATION
              1... ....      DDEVTMDK       X'80' DDEVTMDK MDISK DIRECTORY
                                            ENTRY
              .1.. ....      DDEVTLNK       X'40' DDEVTLNK LINK DIRECTORY
                                            ENTRY
              ..1. ....      DDEVTSPC       X'20' DDEVTSPC SPECIAL / NICDEF
                                            DIRECTORY ENTRY
              ...1 ....      DDEVTDED       X'10' DDEVTDED DEDICATE DIRECTORY
                                            ENTRY
              .... 1...      DDEVTSPL       X'08' DDEVTSPL SPOOL / CONSOLE
                                            DIRECTORY ENTRY
              .... .1..      DDEVTDSK       X'04' DDEVTDSK T-DISK TO BE
                                            ALLOCATED
              .... ..1.      DDEVRO         X'02' DDEVRO DEVICE IS READ ONLY
              .... ...1      DDEVRELR       X'01' DDEVRELR VIRTUAL RESERVE
                                            RELEASE REQUESTED
    001B   27 Bitstring    1 ATCAFLG2       Second flag byte for Attach and
                                            Dedicate options
              1... ....      ATCVLID        X'80' ATCVLID Attach using the
                                            VOLID
              .1.. ....      ATCUSRID       X'40' ATCUSRID "USERACCessid"
                                            options specified
              ..1. ....      ATCKEYS        X'20' ATCKEYS "KEY" options
                                            specified
    001C   28 Bitstring    1 ATCPFLAG       Special processing flag byte
              1... ....      ATCPEQID       X'80' ATCPEQID EQID processing
                                            required
              .1.. ....      ATCPDUID       X'40' ATCPDUID DUID processing
                                            required
    001D   29 Bitstring    1 ATCAFLG3       Third flag byte for Attach
                                            options
    001E   30 Bitstring    2 *              Reserved for future use
    0020   32 Character    8 ATCACCID       Specified "USERACCessid" value
    0028   40 Bitstring   32 ATCKEYA1       First KEYALIAS (tapes only)
    0048   72 Bitstring   32 ATCKEYA2       Second KEYALIAS (tapes only)
    0068  104 Address      4 ATCKEYP1       First KLABK Pointer (tapes only)
    006C  108 Address      4 ATCKEYP2       Second KLABK Pointer (tapes only)
              0000000E       ATCSIZE        (*-ATCBK+7)/8 SIZE IN DOUBLEWORDS

ATCBK Storage Layout | Top of page

    *** ATCBK - ATTACH COMMAND BLOCK
    *
    *     +---------------------------+-------------+-------------+
    *   0 |         ATCNEXT           |  ATCRDEV1   |  ATCRDEV2   |
    *     +---------------------------+-------------+-------------+
    *   8 |         ATCEQADR          |         ATCVDEV           |
    *     +---------------------------+-------------+------+------+
    *  10 |                ATCVOLID                 |:LFLAG|:RFLAG|
    *     +------+------+------+------+------+------+------+------+
    *  18 |:CFLAG|:AFLAG|:DFLAG|:AFLG2|:PFLAG|:AFLG3|/////////////|
    *     +------+------+------+------+------+------+-------------+
    *  20 |                       ATCACCID                        |
    *     +-------------------------------------------------------+
    *  28 |                                                       |
    *     =                       ATCKEYA1                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  48 |                                                       |
    *     =                       ATCKEYA2                        =
    *     |                                                       |
    *     +---------------------------+---------------------------+
    *  68 |         ATCKEYP1          |         ATCKEYP2          |
    *     +---------------------------+---------------------------+
    *  70
    *
    *** ATCBK - ATTACH COMMAND BLOCK

ATCBK Cross Reference | Top of page

    Symbol         Dspl Value
    -------------- ---- -----
    ATCABVO        0019 01
    ATCACCID       0020
    ATCAFLAG       0019
    ATCAFLG2       001B
    ATCAFLG3       001D
    ATCAIOPS       0019 02
    ATCANOSG       0019 80
    ATCANYVL       0016 70
    ATCASSGN       0016 80
    ATCASSN        0019 40
    ATCCFLAG       0018
    ATCCPVOL       0016 40
    ATCDEVS        0004
    ATCDFLAG       001A
    ATCEQADR       0008
    ATCKEYA1       0028
    ATCKEYA2       0048
    ATCKEYP1       0068
    ATCKEYP2       006C
    ATCKEYS        001B 20
    ATCLFLAG       0016
    ATCMAXDV       0017 02
    ATCNEXT        0000
    ATCNOATT       0017 40
    ATCNOMS        0019 20
    ATCNORSP       0017 80
    ATCNQIOA       0019 04
    ATCPARMS       0010
    ATCPDUID       001C 40
    ATCPEQID       001C 80
    ATCPFLAG       001C
    ATCRBFWT       0017 04
    ATCRDEV1       0004
    ATCRDEV2       0006
    ATCRFLAG       0017
    ATCRLOGD       0017 08
    ATCRO          0017 10
    ATCSFLGS       0016
    ATCSHRD        0019 10
    ATCSIZE        006C 0000000E
    ATCSNGL        0019 08
    ATCSTACK       0017 20
    ATCUNKVL       0016 10
    ATCUSRID       001B 40
    ATCUSRVL       0016 20
    ATCVDEV        000C
    ATCVLID        001B 80
    ATCVOLID       0010
    DDEVCNA        0018 40
    DDEVDCTL       0018 10
    DDEVNCTL       0018 08
    DDEVNMDC       0018 04
    DDEVQDSK       0018 02
    DDEVRELR       001A 01
    DDEVRO         001A 02
    DDEVSCTL       0018 20
    DDEVTDED       001A 10
    DDEVTDSK       001A 04
    DDEVTLNK       001A 40
    DDEVTMDK       001A 80
    DDEVTSPC       001A 20
    DDEVTSPL       001A 08
    DDEVWKAL       0018 80
    DDEVYMDC       0018 01

This information is based on z/VM 7.2.0 Last updated on 24 Jun 2020 at 09:27:07 EDT.
Copyright IBM Corporation, 1990, 2020