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
 RELOCATION CONSIDERATIONS : None

 

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' SOTSPOOL SPOOL COMMAND
                                        ELIGIBLE
          .1.. ....      SOTCLCMD       X'40' SOTCLCMD CLOSE COMMAND
                                        ELIGIBLE
          ..1. ....      SOTSPTAP       X'20' SOTSPTAP SPTAPE COMMAND
                                        ELIGIBLE
          ...1 ....      SOTTRAN        X'10' SOTTRAN TRANSFER COMMAND
                                        ELIGIBLE
          .... .1..      SOTACTV        X'04' SOTACTV VALID FOR ACTIVE
                                        FILE
          .... 1...      SOTCHAN        X'08' SOTCHAN CHANGE COMMAND
                                        ELIGIBLE
          .... ..1.      SOTSPXTP       X'02' SOTSPXTP SPXTAPE COMMAND
                                        ELIGIBLE
          .... ...1      SOTSIG         X'01' SOTSIG 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' SOTHOLD HOLD OR NOHOLD
                                        OPTION
          .1.. ....      SOTKEEP        X'40' SOTKEEP KEEP OR NOKEEP
                                        OPTION
          ..1. ....      SOTMSG         X'20' SOTMSG MSG OR NOMSG OPTION
          ...1 ....      SOTCONT        X'10' SOTCONT CONT OR NOCONT
                                        OPTION
          .... 1...      SOTEOF         X'08' SOTEOF EOF OR NOEOF OPTION
                                        NOTE: IT ALSO USED FOR SYS OR
                                        NOSYS OPTION
          .... .1..      SOTNAME        X'04' SOTNAME NAME OR NONAME
                                        OPTION
          .... ..1.      SOTTERM        X'02' SOTTERM TERM OR NOTERM
                                        OPTION
          .... ...1      SOTSTART       X'01' SOTSTART START OR STOP
                                        OPTION
0005    5 Bitstring    1 SOTOPOFF       SET OPTION ON
          1... ....      SOTHOLD        X'80' SOTHOLD HOLD OR NOHOLD
                                        OPTION
          .1.. ....      SOTKEEP        X'40' SOTKEEP KEEP OR NOKEEP
                                        OPTION
          ..1. ....      SOTMSG         X'20' SOTMSG MSG OR NOMSG OPTION
          ...1 ....      SOTCONT        X'10' SOTCONT CONT OR NOCONT
                                        OPTION
          .... 1...      SOTEOF         X'08' SOTEOF EOF OR NOEOF OPTION
                                        NOTE: IT ALSO USED FOR SYS OR
                                        NOSYS OPTION
          .... .1..      SOTNAME        X'04' SOTNAME NAME OR NONAME
                                        OPTION
          .... ..1.      SOTTERM        X'02' SOTTERM TERM OR NOTERM
                                        OPTION
          .... ...1      SOTSTART       X'01' SOTSTART START OR STOP
                                        OPTION
0006    6 Bitstring    1 SOTOPT         OPTIONS TO SET ON
          1... ....      SOTCLOSE       X'80' SOTCLOSE CLOSE OPTION
          .1.. ....      SOTPURGE       X'40' SOTPURGE PURGE OPTION
          ..1. ....      SOTLEAVE       X'20' SOTLEAVE LEAVE OPTION
          ...1 ....      SOTREWND       X'10' SOTREWND REWIND OPTION
          .... 1...      SOTRUN         X'08' SOTRUN RUN OPTION
          .... .1..      SOTUSERH       X'04' SOTUSERH USERHOLD OPTION
          .... ..1.      SOTSYSH        X'02' SOTSYSH SYSHOLD OPTION
          .... ...1      SOTALL         X'01' SOTALL ALL OPTION
0007    7 Bitstring    1 SOTOPT2        OPTIONS TO SET ON
          1... ....      SOTSCLAB       X'80' SOTSCLAB SECLABEL OPTION
          .1.. ....      SOTSYNC        X'40' SOTSYNC Synchronous option
          ..1. ....      SOTASYNC       X'20' SOTASYNC Asynchronous
                                        option
          .... ..1.      SOTNODUP       X'02' SOTNODUP NODUP option
          .... ...1      SOTAPPND       X'01' SOTAPPND APPEND option
0008    8 Bitstring    1 SOTRETCD       RETURN CODE FOR THIS ARGUMNT
0009    9 Bitstring    1 SOTOPON1       Set option on
          1... ....      SOTRSCN        X'80' SOTRSCN RESCAN/NORESCAN
                                        specified
000A   10 Bitstring    1 SOTOPOF1       Set option off
          1... ....      SOTRSCN        X'80' SOTRSCN 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 V6R2.0. Last updated on 21 Nov 2011 at 11:21:55 EDT.
Copyright IBM Corporation, 1990, 2011