Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

#### ATCBK

Prolog

Control Block Contents
ATCBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### ATCBK Prolog

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

#### ATCBK Control Block Content

#### ATCBK DSECT

    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 Signed       4 ATCVDEV (0)    BEGINNING VDEV NUMBER
    0008    8 Dbl-Word     8 ATCPARMS (0)   PARMS TO PASS HCPATSYS
    0008    8 Character    6 ATCVOLID       SYSTEM VOLUME LABEL
    000E   14 Bitstring    2 ATCSFLGS (0)   FLAG BYTES FOR HCPATSYS
    000E   14 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
    000F   15 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
    0010   16 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.
    0011   17 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
    0012   18 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
    0013   19 Bitstring    1 ATCAFLG2       Second flag byte for Attach and
                                            Dedicate options
              .1.. ....      ATCUSRID       X'40' ATCUSRID "USERACCessid"
                                            options specified
              ..1. ....      ATCKEYS        X'20' ATCKEYS "KEY" options
                                            specified
    0014   20 Character    8 ATCACCID       Specified "USERACCessid" value
    001C   28 Bitstring   32 ATCKEYA1       First KEYALIAS (tapes only)
    003C   60 Bitstring   32 ATCKEYA2       Second KEYALIAS (tapes only)
    005C   92 Address      4 ATCKEYP1       First KLABK Pointer (tapes only)
    0060   96 Address      4 ATCKEYP2       Second KLABK Pointer (tapes only)
              0000000D       ATCSIZE        (*-ATCBK+7)/8 SIZE IN DOUBLEWORDS

#### ATCBK Storage Layout

    *** ATCBK - ATTACH COMMAND BLOCK
    *
    *     +---------------------------+-------------+-------------+
    *   0 |         ATCNEXT           |  ATCRDEV1   |  ATCRDEV2   |
    *     +---------------------------+-------------+------+------+
    *   8 |                ATCVOLID                 |:LFLAG|:RFLAG|
    *     +------+------+------+------+-------------+------+------+
    *  10 |:CFLAG|:AFLAG|:DFLAG|:AFLG2|        ATCACCID-          |
    *     +------+------+------+------+---------------------------+
    *  18 |          -(014)           |                           |
    *     +---------------------------+                           |
    *  20 |                                                       |
    *     =                       ATCKEYA1                        =
    *     |                           +---------------------------+
    *     |                           |                           |
    *     +---------------------------+                           |
    *  40 |                                                       |
    *     =                       ATCKEYA2                        =
    *     |                           +---------------------------+
    *  58 |                           |         ATCKEYP1          |
    *     +---------------------------+---------------------------+
    *  60 |         ATCKEYP2          | 64
    *     +---------------------------+
    *
    *** ATCBK - ATTACH COMMAND BLOCK

#### ATCBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    ATCABVO        0011 01
    ATCACCID       0014
    ATCAFLAG       0011
    ATCAFLG2       0013
    ATCAIOPS       0011 02
    ATCANOSG       0011 80
    ATCANYVL       000E 70
    ATCASSGN       000E 80
    ATCASSN        0011 40
    ATCCFLAG       0010
    ATCCPVOL       000E 40
    ATCDEVS        0004
    ATCDFLAG       0012
    ATCKEYA1       001C
    ATCKEYA2       003C
    ATCKEYP1       005C
    ATCKEYP2       0060
    ATCKEYS        0013 20
    ATCLFLAG       000E
    ATCMAXDV       000F 02
    ATCNEXT        0000
    ATCNOATT       000F 40
    ATCNOMS        0011 20
    ATCNORSP       000F 80
    ATCNQIOA       0011 04
    ATCPARMS       0008
    ATCRBFWT       000F 04
    ATCRDEV1       0004
    ATCRDEV2       0006
    ATCRFLAG       000F
    ATCRLOGD       000F 08
    ATCRO          000F 10
    ATCSFLGS       000E
    ATCSHRD        0011 10
    ATCSIZE        0060 0000000D
    ATCSNGL        0011 08
    ATCSTACK       000F 20
    ATCUNKVL       000E 10
    ATCUSRID       0013 40
    ATCUSRVL       000E 20
    ATCVDEV        0008
    ATCVOLID       0008
    DDEVCNA        0010 40
    DDEVDCTL       0010 10
    DDEVNCTL       0010 08
    DDEVNMDC       0010 04
    DDEVQDSK       0010 02
    DDEVRELR       0012 01
    DDEVRO         0012 02
    DDEVSCTL       0010 20
    DDEVTDED       0012 10
    DDEVTDSK       0012 04
    DDEVTLNK       0012 40
    DDEVTMDK       0012 80
    DDEVTSPC       0012 20
    DDEVTSPL       0012 08
    DDEVWKAL       0010 80
    DDEVYMDC       0010 01

This information is based on z/VM V6R1.0. Last updated on 18 Feb 2010 at 08:26:15 EDT.
Copyright IBM Corporation, 1990, 2008