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

#### SOTBK

Prolog

Control Block Contents
SOTBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### SOTBK Prolog

     NAME       : HCPSOTBK
     DESCRIPTION: SPOOL OPTIONS TABLE ENTRY BLOCK
     DSECT      : SOTBK
     FUNCTION   : COMMUNICATION BLOCK BETWEEN SPOOLING COM-
                  MAND PARSER / PROCESSOR ROUTINES AND
                  PARSE TABLE SCANNER ROUTINES.  THIS BLOCK
                  MAPS ONE PARSE TABLE ENTRY FOR THE SELECTED
                  SPOOLING COMMAND OPTION.
     LOCATED BY : GENERAL REGISTER 2 IN THE FOLLOWING
                  ENTRY POINTS:
                  HCPCSPSP
                  HCPCSLOS
                  HCPSCSDT
                  HCPCSCOT
     CREATED BY :
                  HCPCSPSP - SPOOL COMMAND PARSER / PROCESSOR
                  HCPCSLOS - CLOSE COMMAND PARSER / PROCESSOR
     DELETED BY :
                  HCPCSPSP - SPOOL COMMAND PARSER / PROCESSOR
                  HCPCSLOS - CLOSE COMMAND PARSER / PROCESSOR

#### SOTBK Control Block Content

#### SOTBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      SOTBK          SPOOL OPTIONS TABLE ENTRY BLOCK
    0000    0 Bitstring    1 SOTMINL        MINIMUM LENGTH OF ARGUMENT
    0001    1 Bitstring    1 SOTMAXL        MAXIMUM LENGTH OF ARGUMENT
    0002    2 Bitstring    1 SOTECMDS       ELIGIBLE COMMANDS FOR ARG
              1... ....      SOTSPOOL       X'80' SPOOL COMMAND ELIGIBLE
              .1.. ....      SOTCLCMD       X'40' CLOSE COMMAND ELIGIBLE
              ..1. ....      SOTSPTAP       X'20' SPTAPE COMMAND ELIGIBLE
              ...1 ....      SOTTRAN        X'10' TRANSFER COMMAND ELIGIBLE
              .... .1..      SOTACTV        X'04' VALID FOR ACTIVE FILE
              .... 1...      SOTCHAN        X'08' CHANGE COMMAND ELIGIBLE
              .... ..1.      SOTSPXTP       X'02' SPXTAPE COMMAND ELIGIBLE
              .... ...1      SOTSIG         X'01' Significant: unconvert file
    0003    3 Bitstring    1 SOTEDEVS       ELIGIBLE DEVICES FOR ARGUMENT
                                            (TYPRDR, TYPPUN, TYPPRT)
    0004    4 Bitstring    1 SOTOPON        SET OPTION ON
              1... ....      SOTHOLD        X'80' HOLD OR NOHOLD OPTION
              .1.. ....      SOTKEEP        X'40' KEEP OR NOKEEP OPTION
              ..1. ....      SOTMSG         X'20' MSG OR NOMSG OPTION
              ...1 ....      SOTCONT        X'10' CONT OR NOCONT OPTION
              .... 1...      SOTEOF         X'08' EOF OR NOEOF OPTION NOTE:
                                            IT ALSO USED FOR SYS OR NOSYS
                                            OPTION
              .... .1..      SOTNAME        X'04' NAME OR NONAME OPTION
              .... ..1.      SOTTERM        X'02' TERM OR NOTERM OPTION
              .... ...1      SOTSTART       X'01' START OR STOP OPTION
    0005    5 Bitstring    1 SOTOPOFF       SET OPTION ON
              1... ....      SOTHOLD        X'80' HOLD OR NOHOLD OPTION
              .1.. ....      SOTKEEP        X'40' KEEP OR NOKEEP OPTION
              ..1. ....      SOTMSG         X'20' MSG OR NOMSG OPTION
              ...1 ....      SOTCONT        X'10' CONT OR NOCONT OPTION
              .... 1...      SOTEOF         X'08' EOF OR NOEOF OPTION NOTE:
                                            IT ALSO USED FOR SYS OR NOSYS
                                            OPTION
              .... .1..      SOTNAME        X'04' NAME OR NONAME OPTION
              .... ..1.      SOTTERM        X'02' TERM OR NOTERM OPTION
              .... ...1      SOTSTART       X'01' START OR STOP OPTION
    0006    6 Bitstring    1 SOTOPT         OPTIONS TO SET ON
              1... ....      SOTCLOSE       X'80' CLOSE OPTION
              .1.. ....      SOTPURGE       X'40' PURGE OPTION
              ..1. ....      SOTLEAVE       X'20' LEAVE OPTION
              ...1 ....      SOTREWND       X'10' REWIND OPTION
              .... 1...      SOTRUN         X'08' RUN OPTION
              .... .1..      SOTUSERH       X'04' USERHOLD OPTION
              .... ..1.      SOTSYSH        X'02' SYSHOLD OPTION
              .... ...1      SOTALL         X'01' ALL OPTION
    0007    7 Bitstring    1 SOTOPT2        OPTIONS TO SET ON
              1... ....      SOTSCLAB       X'80' SECLABEL OPTION
              .1.. ....      SOTSYNC        X'40' Synchronous option
              ..1. ....      SOTASYNC       X'20' Asynchronous option
              .... ..1.      SOTNODUP       X'02' NODUP option
              .... ...1      SOTAPPND       X'01' APPEND option
    0008    8 Bitstring    1 SOTRETCD       RETURN CODE FOR THIS ARGUMNT
    0009    9 Bitstring    1 SOTOPON1       Set option on
              1... ....      SOTRSCN        X'80' RESCAN/NORESCAN specified
    000A   10 Bitstring    1 SOTOPOF1       Set option off
              1... ....      SOTRSCN        X'80' RESCAN/NORESCAN specified
    000B   11 Character    1 SOTARG (0)     ARGUMENT STARTS HERE
              0000000B       SOTBSIZE       *-SOTBK SIZE OF SOTBK IN BYTES
              00000002       SOTSIZE        (*-SOTBK+7)/8 SIZE OF SOTBK IN
                                            DBLWORDS
    0004    4 Bitstring    1 SOTDCLAS       DEVICE CLASS
    0005    5 Bitstring    1 SOTDTYP        DEVICE TYPE

#### SOTBK Storage Layout

    *** SOTBK - SPOOL OPTIONS TABLE ENTRY BLOCK
    *
    *     +------+------+------+------+------+------+------+------+
    *   0 |:MINL |:MAXL |:ECMDS|:EDEVS|:OPON |:OPOFF|SOTOPT|:OPT2 |
    *     +------+------+------+------+------+------+------+------+
    *   8 |:RETCD|:OPON1|:OPOF1|
    *     +------+------+------+
    *
    *** SOTBK - SPOOL OPTIONS TABLE ENTRY BLOCK

    *** Overlay for SOTOPON in SOTBK
    *
    *                                 +------+------+
    *   0 ...                       4 |:DCLAS|:DTYP | 6
    *                                 +------+------+
    *
    *** Overlay for SOTOPON in SOTBK

#### SOTBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    SOTACTV        0002 04
    SOTALL         0006 01
    SOTAPPND       0007 01
    SOTARG         000B
    SOTASYNC       0007 20
    SOTBSIZE       000B 0000000B
    SOTCHAN        0002 08
    SOTCLCMD       0002 40
    SOTCLOSE       0006 80
    SOTCONT        0004 10
    SOTCONT        0005 10
    SOTDCLAS       0004
    SOTDTYP        0005
    SOTECMDS       0002
    SOTEDEVS       0003
    SOTEOF         0004 08
    SOTEOF         0005 08
    SOTHOLD        0004 80
    SOTHOLD        0005 80
    SOTKEEP        0004 40
    SOTKEEP        0005 40
    SOTLEAVE       0006 20
    SOTMAXL        0001
    SOTMINL        0000
    SOTMSG         0004 20
    SOTMSG         0005 20
    SOTNAME        0004 04
    SOTNAME        0005 04
    SOTNODUP       0007 02
    SOTOPOFF       0005
    SOTOPOF1       000A
    SOTOPON        0004
    SOTOPON1       0009
    SOTOPT         0006
    SOTOPT2        0007
    SOTPURGE       0006 40
    SOTRETCD       0008
    SOTREWND       0006 10
    SOTRSCN        0009 80
    SOTRSCN        000A 80
    SOTRUN         0006 08
    SOTSCLAB       0007 80
    SOTSIG         0002 01
    SOTSIZE        000B 00000002
    SOTSPOOL       0002 80
    SOTSPTAP       0002 20
    SOTSPXTP       0002 02
    SOTSTART       0004 01
    SOTSTART       0005 01
    SOTSYNC        0007 40
    SOTSYSH        0006 02
    SOTTERM        0004 02
    SOTTERM        0005 02
    SOTTRAN        0002 10
    SOTUSERH       0006 04

This information is based on z/VM V4R3.0. Last updated on 30 Apr 2002 at 17:40:52 EDT.
Copyright IBM Corporation, 1990, 2002