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

#### ARSPL

Prolog

Control Block Contents
ARSPL DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### ARSPL Prolog

     NAME       : HCPARSPL
     DESCRIPTION: Access Real Subsystem Parameters
     DSECT      : ARSPL
     FUNCTION   : Describe the parameters for Diagnose X'254'.
     LOCATED BY : Register Rx contains the virtual address
                  of the ARSPL in guest storage at the time
                  Diagnose X'254' is issued.
     CREATED BY : The program issuing Diagnose X'254'.
     DELETED BY : The program issuing Diagnose X'254'.
     COMMENTS   : The ARSPL is fetched by CP from guest storage when
                  Diagnose X'254' is issued by the guest.  The ARSPL
                  will be stored back in guest storage by CP upon
                  completion of the specific diagnose function.

#### ARSPL Control Block Content

#### ARSPL DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      ARSPL          Access Real Subsystem Parameters
    0000    0 Bitstring    2 ARSDIAGN       Diagnose number self descriptor
    0002    2 Bitstring    1 ARSFUNCC       Diagnose function code
    0003    3 Bitstring    1 ARSPLLEN       ARSPL length self descriptor
    0004    4 Bitstring    4 ARSRESV1       Reserved for future IBM use
    0008    8 Bitstring   14 ARSSSID        Subsystem IDentifier (SSID)
    0016   22 Bitstring   18 ARSGETSR (0)   Get Status function reserved
    0016   22 Bitstring    2 ARSDEVNO       Device number
    0018   24 Bitstring    1 ARSFLAG1       Flag byte 1
              00000080       ARSTAPLB       X'80' Subsystem is a Tape Library
              00000040       ARSIGPLM       X'40' Ignore SSID Plant of
                                            Manufacture
    0019   25 Bitstring   63 ARSOPCLR (0)   Open and Close function reserved
    0019   25 Bitstring    1 ARSFLAG2       Flag byte 2
              00000080       ARSCCWF1       X'80' Format-1 CCWs are specified
              00000040       ARSDEVSP       X'40' Device number is specified
    001A   26 Bitstring    1 ARSSPKEY       Guest storage protection key
    001B   27 Bitstring    1 ARSRESV2       Reserved for future IBM use
    001C   28 Bitstring    4 ARSINTPM       Guest interruption parameter
    0020   32 Address      4 ARSCPA (0)     Guest channel program address
    0020   32 Bitstring    3 *              CPA High-order 3 bytes
    0023   35 Bitstring    1 ARSCPA3        CPA Alignment test byte
    0024   36 Address      4 ARSICPA        Guest CCW + 8 interrupt address
    0028   40 Bitstring    1 ARSDVST        Device status
    0029   41 Bitstring    1 ARSSCHST       Subchannel status
    002A   42 Bitstring    2 ARSRESCT       Residual count
    002C   44 Bitstring    2 ARSSNSCT       Sense data count
    002E   46 Bitstring   10 ARSRESV3       Reserved for future IBM use
    0038   56 Bitstring   32 ARSSENSE       Sense data
              00000058       ARSBYLEN       *-ARSPL Byte length of ARSPL
              0000000B       ARSDWSIZ       ((ARSBYLEN+7)/8) Doubleword
                                            length of ARSPL

#### ARSPL Storage Layout

    *** ARSPL - Access Real Subsystem Parameters
    *
    *     +-------------+------+------+---------------------------+
    *   0 |  ARSDIAGN   |:FUNCC|:PLLEN|         ARSRESV1          |
    *     +-------------+------+------+---------------------------+
    *   8 |                       ARSSSID                         |
    *     |                                         +-------------+
    *  10 |                                         |  ARSDEVNO   |
    *     +------+------+------+------+-------------+-------------+
    *  18 |:FLAG1|:FLAG2|:SPKEY|:RESV2|         ARSINTPM          |
    *     +------+------+------+------+---------------------------+
    *  20 |////////////////////|:CPA3 |         ARSICPA           |
    *     +------+------+------+------+-------------+-------------+
    *  28 |:DVST |:SCHST|  ARSRESCT   |  ARSSNSCT   |  ARSRESV3   |
    *     +------+------+-------------+-------------+             |
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  38 |                                                       |
    *     =                       ARSSENSE                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  58
    *
    *** ARSPL - Access Real Subsystem Parameters

#### ARSPL Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    ARSBYLEN       0038 00000058
    ARSCCWF1       0019 00000080
    ARSCPA         0020
    ARSCPA3        0023
    ARSDEVNO       0016
    ARSDEVSP       0019 00000040
    ARSDIAGN       0000
    ARSDVST        0028
    ARSDWSIZ       0038 0000000B
    ARSFLAG1       0018
    ARSFLAG2       0019
    ARSFUNCC       0002
    ARSGETSR       0016
    ARSICPA        0024
    ARSIGPLM       0018 00000040
    ARSINTPM       001C
    ARSOPCLR       0019
    ARSPLLEN       0003
    ARSRESCT       002A
    ARSRESV1       0004
    ARSRESV2       001B
    ARSRESV3       002E
    ARSSCHST       0029
    ARSSENSE       0038
    ARSSNSCT       002C
    ARSSPKEY       001A
    ARSSSID        0008
    ARSTAPLB       0018 00000080

This information is based on z/VM V5R2.0. Last updated on 12 Apr 2006 at 16:39:57 EDT.
Copyright IBM Corporation, 1990, 2005