UPDTB1 Information Control Block

The UPDTB1 information control block is used by UPDS and USERV in order to control access to each reference file. This control block contains information about the file being accessed and the command request being given. The address of this control block is passed to the user-written exit UUPDX1 as the second argument in the parameter list. This table is also described by the UPDTB1 macro. Assemble the sample UUPDX1 to see the layout of this area.

Note:
Fields not expressly noted in the following control block are reserved.

Location Length Format Contents
Dec Hex
1608 648 44 Character File name
1652 674 6 Character Volume serial number
1658 67A 1 Character VSE sub-library type
1659 67B 2 Character Two-character library identification code, or spaces
1667 683 8 Character Member name
1717 6B5 8 Character Printout spool code
1725 6BD 8 Character Default destination code
1735 6CD 8 Character UPDS/USERV command
1756 6DC 1 Binary DSN length, minus 1
1764 6E4 1 Binary
1.......
.1......
..1.....
...1....
....1...
.....1..
Flag 1:
SYSDSN enqueued
SYSIEWLP enqueued
UCB allocated
Only shared ENQ on SYSDSN
UCB permanently resident
File is a PDS
1765 6E5 1 Binary Open status:
1 - Open for input
2 - Open for output
1702 6A6 1 Binary
1.......
.00.....
.11.....
.01.....
...1....
....1...
.....1..
......1.
.......1
Flag 2:
Reserved
Character display
HEX display
Interpretive HEX
Member entered in command
Formattable device
Buffer too small for block
Position parm with no keyword
Reserved
1703 6A7 1 Binary
1.......
.1......
..1.....
...1....
Flag 3:
User data option Y
User data option X
Reserved
User data option T