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

#### SDSCA

Prolog

Control Block Contents
SDSCA DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### SDSCA Prolog

     Name       : DMSSDSCA
     Description: MAPPING OF SDSCA
     DSECT      : SDSCA
     Function   : SDS COMMUNICATIONS AREA MAPPING
                  MACRO. USED TO FEEDBACK ERRORS FROM SPS
                  REQUESTS.

#### SDSCA Control Block Content

#### SDSCA DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      SDSCA          MAPPING OF SDSCA
          START ASSEMBLER PART
    0000    0 Character    8 SDSCEYE        EYE CATCHER WITH "DMSSDSCA"
    0008    8 Character    8 SDSCFPID       FILE POOL ID
    0010   16 Character    8 SDSCUWID       UNIT OF WORK ID
    0018   24 Signed       4 SDSCODE        SDS CODE
    001C   28 Signed       4 SDSCODE2       SECONDARY CODE
    0020   32 Signed       4 SDSCODE3       TERTIARY CODE
    0024   36 Signed       4 SDSCUIX        INDEX INTO USERID LIST
    0028   40 Bitstring    1 SDSCWIX        INDEX INTO WARNING FLAGS
    0029   41 Bitstring    1 SDSCWRNS       WARNING FLAG SUMMARY
    002A   42 Character    1 SDSCFPRW       FILEPOOL MODE AT TIME OF ERROR
    002B   43 Character    1 SDSCRSV1       RESERVED
    002C   44 Signed       4 SDSCCWR (0)    WARNING FLAGS
    002C   44 Bitstring    1 SDSCWR01       IMPLICIT ROLLBACK OCCURRED
    002D   45 Bitstring    1 SDSCWR02       SERIOUS SERVER ERROR
    002E   46 Bitstring    1 SDSCWR03       COORDINATE BACKOUT
    002F   47 Bitstring    1 SDSCWR04       LINK SEVER BY LC
    0030   48 Bitstring    1 SDSCWR05       USER RUNNING AT MAXCONN LIMIT
    0031   49 Bitstring    1 SDSCWR06       NO ASYNC REQUEST STARTED
    0032   50 Bitstring    1 SDSCWR07       WARNING FLAG 7
    0033   51 Bitstring    1 SDSCWR08       WARNING FLAG 8
    0034   52 Bitstring    1 SDSCWR09       WARNING FLAG 9
    0035   53 Bitstring    1 SDSCWR10       WARNING FLAG 10
    0036   54 Bitstring    1 SDSCWR11       WARNING FLAG 11
    0037   55 Bitstring    1 SDSCWR12       WARNING FLAG 12
    0038   56 Bitstring    1 SDSCWR13       WARNING FLAG 13
    0039   57 Bitstring    1 SDSCWR14       WARNING FLAG 14
    003A   58 Bitstring    1 SDSCWR15       WARNING FLAG 15
    003B   59 Bitstring    1 SDSCWR16       WARNING FLAG 16
    003C   60 Character    8 SDSCDMOD       DAC DETECTING MODULE
    0044   68 Address      4 SDSCCHN        CHAIN POINTER
    0048   72 Signed       4 SDSCFBKA (0)   FEEDBACK AREA
    0048   72 Signed       4 SDSCLFED       LENGTH OF FEEDBACK AREA
    004C   76 Character   70 SDSCFEED       FEEDBACK AREA
    0092  146 Signed       2 SDSCNUMSYM     RESERVED FOR NUMBER OF SYMBOLIC
                                            LINKS RESOLVED
    0094  148 Character    8 SDSRELLVL      RELEASE LEVEL OF SERVER
    009C  156 Signed       4 SDSCTRANID     FOR AGENTS WAITING FOR RESYNC
    00A0  160 Character    8 SDSCDETFP      FILEPOOL WHERE ERROR DETECTED
    00A8  168 Signed       4 SDSCCOMM       COMMIT ERROR
    00AC  172 Signed       4 SDSCRSV3 (0)   LABEL LEFT HERE FOR HDX PATH
    00AC  172 Signed       2 SDSCSEGIX1     INDEX OF LAST RESOLVED PATHNAME
                                            COMPONENT IN PATH1
    00AE  174 Signed       2 SDSCSEGIX2     INDEX OF LAST RESOLVED PATHNAME
                                            COMPONENT IN PATH2
    00B0  176 Signed       4 SDSCTFSL       TOTAL FILE SPACE LEFT
    00B4  180 Character    4 SDSPAD         TO FORCE DOUBLE WORD LENGTH
              .... ...1      SDSCWARN       1 SDSCWARN USED TO SET WARNING
                                            FLAGS
              11.1 1..1      SDSCMORD       C'R' SDSCMORD SDSCFPRW VALUE IF
                                            READ MODE
              111. .11.      SDSCMOWR       C'W' SDSCMOWR SDSCFPRW VALUE IF
                                            WRITE MODE
              000000B8       SDSCALEN       *-SDSCA
          POSIX byte files accessed through CMS interface are limited to
          7FFFFFFF bytes in length (2**31 - 1, FIXED(31)).
              00FFFFFF       SPSBYTELIM     2147483647
          SERVER OPERATOR COMMAND OP-CODE
              00000003       SPSQLOGTAB     03 03X QUERY_LOGTABLE
              00000004       SPSERLUWID     04 04X ERASE_LUWID
              00000005       SPSERASELU     05 05X ERASE_LU
              00000006       SPSQCRRLOG     06 06X QUERY_CRRLOG
              00000007       SPSQLUWID      07 07X QUERY_LUWID
              00000008       SPSQUERYLU     08 08X QUERY_LU
              00000009       SPSRESRESUM    09 09X RESYNC_RESUME
              0000000A       SPSRESSPND     10 0AX RESYNC_SUSPEND
              0000000B       SPSRESBEGIN    11 0BX RESYNC_BEGIN
              0000000C       SPSERLUNAME    12 0CX ERASE_LUNAME
              0000000D       SPSFORCEPRE    13 0DX FORCE_PREPARED
              0000000E       SPSQPREPARE    14 0EX QUERY_PREPARED
              0000000F       SPSQDISABLE    15 0FX QUERY_DISABLE
          SPS REQUEST OP-CODES
              00000010       SPSCACHEREL    16 10X CACHE_RELEASE
              00000011       SPSCLOSE       17 11X CLOSE
              00000012       SPSCLOSEDIR    18 12X CLOSE_DIRECTORY
              00000013       SPSCOMMIT      19 13X COMMIT
              00000014       SPSGETDIR      20 14X GET_DIRECTORY
              00000015       SPSGETDIRE     21 15X GET_DIRECTORY_ENTRY
              00000016       SPSLOCK        22 16X LOCK
              00000017       SPSOPEN        23 17X OPEN
              00000018       SPSOPENDIR     24 18X OPEN_DIRECTORY
              00000019       SPSREAD        25 19X READ
              0000001A       SPSREFRDIR     26 1AX REFRESH_DIRECTORY
              0000001B       SPSROLLB       27 1BX ROLLBACK
              0000001C       SPSUNLOCK      28 1CX UNLOCK
              0000001D       SPSWRITE       29 1DX WRITE
              0000001E       SPSPREPCOM     30 1EX PREPARE_TO_COMMIT
              0000001F       SPSTCLOSE      31 1FX TCLOSE
              00000020       SPSCONNECT     32 20X CONNECT
              00000021       SPSCRDIR       33 21X CREATE_DIRECTORY
              00000022       SPSCRALIAS     34 22X CREATE_ALIAS
              00000023       SPSDELETE      35 23X DELETE
              00000024       SPSDELDIR      36 24X DELETE_DIRECTORY
              00000025       SPSFCOPY       37 25X FILE_COPY
              00000026       SPSGRANT       38 26X GRANT
              00000027       SPSRELOC       39 27X RELOCATE
              00000028       SPSRENAME      40 28X RENAME
              00000029       SPSREVOKE      41 29X REVOKE
              0000002A       SPSQLEVEL      42 2AX QUERY_SERVER_LEVEL
              0000002B       SPSSETESMD     43 2BX SEND_UDATA
              0000002C       SPSCHATTR      44 2CX CHANGE_ATTRIBUTES
              00000030       SPSADDSTR      48 30X ADD_STORAGE
              00000031       SPSCHANGETH    49 31X CHANGE_THRESHOLD
              00000032       SPSDELSTR      50 32X DELETE_STORAGE
              00000033       SPSGRANTADM    51 33X GRANT_ADMIN_AUTH
              00000034       SPSGRANTU      52 34X GRANT_USER
              00000035       SPSQADMINS     53 35X QUERY_ADMINS
              00000036       SPSQCONUSRS    54 36X QUERY_CONNECTED_USERS
              00000037       SPSQENUSERS    55 37X QUERY_ENROLLED_USERS
              00000038       SPSQLOCKS      56 38X QUERY_LOCK_CONFLICTS
              00000039       SPSQPOOL       57 39X QUERY_POOL
              0000003A       SPSQUSTOR      58 3AX QUERY_USER_SPACE
              0000003B       SPSREVADM      59 3BX REVOKE_ADMIN_AUTH
              0000003C       SPSREVOKEU     60 3CX REVOKE_USER
              0000003D       SPSWACCOUNT    61 3DX WRITE_ACCOUNTING
              00000040       SPSGETCAT      64 40X GETCAT
              00000041       SPSCLOSECAT    65 41X CLOSECAT
              00000042       SPSOPENCAT     66 42X OPENCAT
              00000043       SPSPURGEWU     67 43X PURGE_WORKUNIT
              00000044       SPSPUTCAT      68 44X PUTCAT
              00000045       SPSRELBLK      69 45X RELEASE_BLOCKS
              00000046       SPSDSPACE      70 46X DATASPACE
              00000047       SPSDIRATTR     71 47X DIRATTR
              00000048       SPSQACCSSRS    72 48X QUERY_ACCESSORS
              00000049       SPSQDSPACE     73 49X QUERY_DATASPACE
              0000004A       SPSSETRDATE    74 4AX SET_REFDATE
              0000004B       SPSPRECOORD    75 4BX PRE_COORDINATED
              00000050       SPSGETLU       80 50X GET_LUWID
              00000051       SPSGETRLOG     81 51X GET_RLOGNAME
              00000052       SPSWRLOG       82 52X WRITE_LOG
              00000053       SPSRESINIT     83 53X RESYNC_INIT
              00000054       SPSRESQDIR     84 54X RESYNC_QDIR
              00000055       SPSRESCOMP     85 55X RESERVED
              00000056       SPSGETCAPBL    86 56X GET_CAPABILITIES
              00000057       SPSRESPV       87 57X RESYNC_PV
              00000060       SPSCHNGDRA     96 60X CHANGE_DRA
              00000061       SPSCREXTOBJ    97 61X CREATE_EXTERNAL_OB
              00000062       SPSCRFILE      98 62X CREATE_FILE
              00000063       SPSQUSTORGR    99 63X Q_USR_STOR_GROUP
              00000064       SPSSENDSMSD    100 64X SEND_SMS_DATA
              00000065       SPSCONNECTU    101 65X CONNECT_USER
              00000066       SPSADDMINI     102 66X ADD_MINIDISK
              00000067       SPSCTRLBKUP    103 67X CONTROL_BACKUP
              00000068       SPSRENAMEU     104 68X RENAME_USER
    00B8  184 Character    1 SPSAREAD       READ AUTHORITY
    00B9  185 Character    1 SPSAWRITE      WRITE AUTHORITY
    00BA  186 Character    1 SPSADIRRD      DIRREAD AUTH
    00BB  187 Character    1 SPSADIRWR      DIRWRITE AUTH
    00BC  188 Character    1 SPSANEWRD      NEWREAD AUTH
    00BD  189 Character    1 SPSANEWWR      NEWWRITE AUTH
    00BE  190 Character    1 SPSARDDIRRD    DEFAULTS TO READ IF FILECONTROL
                                            AND DIRREAD IF DIRCONTROL
    00BF  191 Character    1 SPSARDNEWRD    READ AND NEWREAD
    00C0  192 Character    1 SPSARDNEWWR    READ AND NEWWRITE
    00C1  193 Character    1 SPSAWRNEWRD    WRITE AND NEWREAD
    00C2  194 Character    1 SPSAWRNEWWR    WRITE AND NEWWRITE
    00C3  195 Character    1 SPSKPREAD      KEEP READ
    00C4  196 Character    1 SPSREVALL      REVOKE ALL
    00C5  197 Character    1 SPSREVANY      REVOKE ANY
    00C6  198 Character    1 SPSKPDIRRD     KEEP DIRREAD
    00C7  199 Character    1 SPSREVNEW      REVOKE NEW AUTH
    00C8  200 Character    1 SPSKPNEWRD     KEEP NEW READ
    00C9  201 Character    1 SPSANEWKPRD    NEWAUTH AND KEEPREAD
    00CA  202 Character    1 SPSARWKPNEWRD  RWAUTH AND KEEPNEWREA
    00CB  203 Character    1 SPSAKPRDKPNEWRD
                                            KEEPREAD & KEEPNEWREA
    00CC  204 Character    1 SPSARW         RWAUTH

#### SDSCA Storage Layout

    *** SDSCA - MAPPING OF SDSCA
    *
    *     +-------------------------------------------------------+
    *   0 |                       SDSCEYE                         |
    *     +-------------------------------------------------------+
    *   8 |                       SDSCFPID                        |
    *     +-------------------------------------------------------+
    *  10 |                       SDSCUWID                        |
    *     +---------------------------+---------------------------+
    *  18 |         SDSCODE           |         SDSCODE2          |
    *     +---------------------------+---------------------------+
    *  20 |         SDSCODE3          |         SDSCUIX           |
    *     +------+------+------+------+------+------+------+------+
    *  28 |:CWIX |:CWRNS|:CFPRW|:CRSV1|:CWR01|:CWR02|:CWR03|:CWR04|
    *     +------+------+------+------+------+------+------+------+
    *  30 |:CWR05|:CWR06|:CWR07|:CWR08|:CWR09|:CWR10|:CWR11|:CWR12|
    *     +------+------+------+------+------+------+------+------+
    *  38 |:CWR13|:CWR14|:CWR15|:CWR16|        SDSCDMOD-          |
    *     +------+------+------+------+---------------------------+
    *  40 |          -(03C)           |         SDSCCHN           |
    *     +---------------------------+---------------------------+
    *  48 |         SDSCLFED          |                           |
    *     +---------------------------+                           |
    *  50 |                                                       |
    *     =                       SDSCFEED                        =
    *     |             +-------------+---------------------------+
    *  90 |             | SDSCNUMSYM  |        SDSRELLVL-         |
    *     +-------------+-------------+---------------------------+
    *  98 |          -(094)           |        SDSCTRANID         |
    *     +---------------------------+---------------------------+
    *  A0 |                      SDSCDETFP                        |
    *     +---------------------------+-------------+-------------+
    *  A8 |         SDSCCOMM          | SDSCSEGIX1  | SDSCSEGIX2  |
    *     +---------------------------+-------------+-------------+
    *  B0 |         SDSCTFSL          |          SDSPAD           |
    *     +------+------+------+------+------+------+------+------+
    *  B8 |:AREAD|(0B9) |(0BA) |(0BB) |(0BC) |(0BD) |(0BE) |(0BF) |
    *     +------+------+------+------+------+------+------+------+
    *  C0 |(0C0) |(0C1) |(0C2) |(0C3) |(0C4) |(0C5) |(0C6) |(0C7) |
    *     +------+------+------+------+------+------+------+------+
    *  C8 |(0C8) |(0C9) |(0CA) |(0CB) |SPSARW| CD
    *     +------+------+------+------+------+
    *
    *** SDSCA - MAPPING OF SDSCA

#### SDSCA Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    SDSCALEN       00B4 000000B8
    SDSCCHN        0044
    SDSCCOMM       00A8
    SDSCCWR        002C
    SDSCDETFP      00A0
    SDSCDMOD       003C
    SDSCEYE        0000
    SDSCFBKA       0048
    SDSCFEED       004C
    SDSCFPID       0008
    SDSCFPRW       002A
    SDSCLFED       0048
    SDSCMORD       00B4 D9
    SDSCMOWR       00B4 E6
    SDSCNUMSYM     0092
    SDSCODE        0018
    SDSCODE2       001C
    SDSCODE3       0020
    SDSCRSV1       002B
    SDSCRSV3       00AC
    SDSCSEGIX1     00AC
    SDSCSEGIX2     00AE
    SDSCTFSL       00B0
    SDSCTRANID     009C
    SDSCUIX        0024
    SDSCUWID       0010
    SDSCWARN       00B4 01
    SDSCWIX        0028
    SDSCWRNS       0029
    SDSCWR01       002C
    SDSCWR02       002D
    SDSCWR03       002E
    SDSCWR04       002F
    SDSCWR05       0030
    SDSCWR06       0031
    SDSCWR07       0032
    SDSCWR08       0033
    SDSCWR09       0034
    SDSCWR10       0035
    SDSCWR11       0036
    SDSCWR12       0037
    SDSCWR13       0038
    SDSCWR14       0039
    SDSCWR15       003A
    SDSCWR16       003B
    SDSPAD         00B4
    SDSRELLVL      0094
    SPSADDMINI     00B4 00000066
    SPSADDSTR      00B4 00000030
    SPSADIRRD      00BA
    SPSADIRWR      00BB
    SPSAKPRDKPNEWRD
                   00CB
    SPSANEWKPRD    00C9
    SPSANEWRD      00BC
    SPSANEWWR      00BD
    SPSARDDIRRD    00BE
    SPSARDNEWRD    00BF
    SPSARDNEWWR    00C0
    SPSAREAD       00B8
    SPSARW         00CC
    SPSARWKPNEWRD  00CA
    SPSAWRITE      00B9
    SPSAWRNEWRD    00C1
    SPSAWRNEWWR    00C2
    SPSBYTELIM     00B4 00FFFFFF
    SPSCACHEREL    00B4 00000010
    SPSCHANGETH    00B4 00000031
    SPSCHATTR      00B4 0000002C
    SPSCHNGDRA     00B4 00000060
    SPSCLOSE       00B4 00000011
    SPSCLOSECAT    00B4 00000041
    SPSCLOSEDIR    00B4 00000012
    SPSCOMMIT      00B4 00000013
    SPSCONNECT     00B4 00000020
    SPSCONNECTU    00B4 00000065
    SPSCRALIAS     00B4 00000022
    SPSCRDIR       00B4 00000021
    SPSCREXTOBJ    00B4 00000061
    SPSCRFILE      00B4 00000062
    SPSCTRLBKUP    00B4 00000067
    SPSDELDIR      00B4 00000024
    SPSDELETE      00B4 00000023
    SPSDELSTR      00B4 00000032
    SPSDIRATTR     00B4 00000047
    SPSDSPACE      00B4 00000046
    SPSERASELU     00B4 00000005
    SPSERLUNAME    00B4 0000000C
    SPSERLUWID     00B4 00000004
    SPSFCOPY       00B4 00000025
    SPSFORCEPRE    00B4 0000000D
    SPSGETCAPBL    00B4 00000056
    SPSGETCAT      00B4 00000040
    SPSGETDIR      00B4 00000014
    SPSGETDIRE     00B4 00000015
    SPSGETLU       00B4 00000050
    SPSGETRLOG     00B4 00000051
    SPSGRANT       00B4 00000026
    SPSGRANTADM    00B4 00000033
    SPSGRANTU      00B4 00000034
    SPSKPDIRRD     00C6
    SPSKPNEWRD     00C8
    SPSKPREAD      00C3
    SPSLOCK        00B4 00000016
    SPSOPEN        00B4 00000017
    SPSOPENCAT     00B4 00000042
    SPSOPENDIR     00B4 00000018
    SPSPRECOORD    00B4 0000004B
    SPSPREPCOM     00B4 0000001E
    SPSPURGEWU     00B4 00000043
    SPSPUTCAT      00B4 00000044
    SPSQACCSSRS    00B4 00000048
    SPSQADMINS     00B4 00000035
    SPSQCONUSRS    00B4 00000036
    SPSQCRRLOG     00B4 00000006
    SPSQDISABLE    00B4 0000000F
    SPSQDSPACE     00B4 00000049
    SPSQENUSERS    00B4 00000037
    SPSQLEVEL      00B4 0000002A
    SPSQLOCKS      00B4 00000038
    SPSQLOGTAB     00B4 00000003
    SPSQLUWID      00B4 00000007
    SPSQPOOL       00B4 00000039
    SPSQPREPARE    00B4 0000000E
    SPSQUERYLU     00B4 00000008
    SPSQUSTOR      00B4 0000003A
    SPSQUSTORGR    00B4 00000063
    SPSREAD        00B4 00000019
    SPSREFRDIR     00B4 0000001A
    SPSRELBLK      00B4 00000045
    SPSRELOC       00B4 00000027
    SPSRENAME      00B4 00000028
    SPSRENAMEU     00B4 00000068
    SPSRESBEGIN    00B4 0000000B
    SPSRESCOMP     00B4 00000055
    SPSRESINIT     00B4 00000053
    SPSRESPV       00B4 00000057
    SPSRESQDIR     00B4 00000054
    SPSRESRESUM    00B4 00000009
    SPSRESSPND     00B4 0000000A
    SPSREVADM      00B4 0000003B
    SPSREVALL      00C4
    SPSREVANY      00C5
    SPSREVNEW      00C7
    SPSREVOKE      00B4 00000029
    SPSREVOKEU     00B4 0000003C
    SPSROLLB       00B4 0000001B
    SPSSENDSMSD    00B4 00000064
    SPSSETESMD     00B4 0000002B
    SPSSETRDATE    00B4 0000004A
    SPSTCLOSE      00B4 0000001F
    SPSUNLOCK      00B4 0000001C
    SPSWACCOUNT    00B4 0000003D
    SPSWRITE       00B4 0000001D
    SPSWRLOG       00B4 00000052

This information is based on z/VM V6R1.0.
Last updated on 23 Oct 2009 at 10:58:00 EDT.
Copyright IBM Corporation, 1990, 2008