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' ASSIGN GIVEN LABEL TO DASD
          .1.. ....      ATCCPVOL       X'40' MOUNT CP VOLUME LABELS
          ..1. ....      ATCUSRVL       X'20' MOUNT USER VOLUME LABELS
          ...1 ....      ATCUNKVL       X'10' MOUNT UNKNOWN VOLUME LABELS
          .111 ....      ATCANYVL       ATCCPVOL+ATCUSRVL+ATCUNKVL ANY
                                        LABELS
000F   15 Bitstring    1 ATCRFLAG       FLAG BYTE FOR HCPATSYS
          1... ....      ATCNORSP       X'80' NO REPONSE MESSAGES
          .1.. ....      ATCNOATT       X'40' NO 'ALREADY ATTACHED' MSGS
          ..1. ....      ATCSTACK       X'20' STACK OUTPUT
          ...1 ....      ATCRO          X'10' ATTACH RDEV READ-ONLY
          .... 1...      ATCRLOGD       X'08' ATTACH LOGICAL DEVICE
          .... .1..      ATCRBFWT       X'04' WRITE RESPONSE TO BUFFER
          .... ..1.      ATCMAXDV       X'02' MAXIMUM NUMBER OF VIRTUAL
                                        DEVICES EXCEEDED
0010   16 Bitstring    1 ATCCFLAG       LEVEL OF CONTROL FLAG
          1... ....      DDEVWKAL       X'80' Working allegiance on
                                        minidisk
          .1.. ....      DDEVCNA        X'40' CACHING NOT AVAILABLE
          ..1. ....      DDEVSCTL       X'20' SUBSYSTEM CONTROL
          ...1 ....      DDEVDCTL       X'10' DEVICE CONTROL
          .... 1...      DDEVNCTL       X'08' NO CONTROL
          .... .1..      DDEVNMDC       X'04' MINIOPT NOMDC specified
          .... ..1.      DDEVQDSK       X'02' V-disk will be allocated
          .... ...1      DDEVYMDC       X'01' MINIOPT MDC specified
0011   17 Bitstring    1 ATCAFLAG       Flag byte for other
                                        Attach/Dedicate options
          1... ....      ATCANOSG       X'80' "NOASSIGN" option
          .1.. ....      ATCASSN        X'40' "ASSIGN" option
          ..1. ....      ATCNOMS        X'20' "NOCPMS" option
          .... ..1.      ATCAIOPS       X'02' User set I/O Assist off for
                                        the device
0012   18 Bitstring    1 ATCDFLAG       DIRECTORY DEVICE INFORMATION
          1... ....      DDEVTMDK       X'80' MDISK DIRECTORY ENTRY
          .1.. ....      DDEVTLNK       X'40' LINK DIRECTORY ENTRY
          ..1. ....      DDEVTSPC       X'20' SPECIAL DIRECTORY ENTRY
          ...1 ....      DDEVTDED       X'10' DEDICATE DIRECTORY ENTRY
          .... 1...      DDEVTSPL       X'08' SPOOL / CONSOLE DIRECTORY
                                        ENTRY
          .... .1..      DDEVTDSK       X'04' T-DISK TO BE ALLOCATED
          .... ..1.      DDEVRO         X'02' DEVICE IS READ ONLY
          .... ...1      DDEVRELR       X'01' VIRTUAL RESERVE RELEASE
                                        REQUESTED
          00000003       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| 13
*     +------+------+------+
*
*** ATCBK - ATTACH COMMAND BLOCK

 

ATCBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
ATCAFLAG       0011
ATCAIOPS       0011 02
ATCANOSG       0011 80
ATCANYVL       000E 70
ATCASSGN       000E 80
ATCASSN        0011 40
ATCCFLAG       0010
ATCCPVOL       000E 40
ATCDEVS        0004
ATCDFLAG       0012
ATCLFLAG       000E
ATCMAXDV       000F 02
ATCNEXT        0000
ATCNOATT       000F 40
ATCNOMS        0011 20
ATCNORSP       000F 80
ATCPARMS       0008
ATCRBFWT       000F 04
ATCRDEV1       0004
ATCRDEV2       0006
ATCRFLAG       000F
ATCRLOGD       000F 08
ATCRO          000F 10
ATCSFLGS       000E
ATCSIZE        0012 00000003
ATCSTACK       000F 20
ATCUNKVL       000E 10
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 V4R2.0. Last updated on 17 Oct 2001 at 14:49:05 EDT.
Copyright IBM Corporation, 1990, 2001