SY33 8571 7_DOS_VSE_Handbook_Feb79 7 DOS VSE Handbook Feb79

SY33-8571-7_DOS_VSE_Handbook_Feb79 SY33-8571-7_DOS_VSE_Handbook_Feb79

User Manual: SY33-8571-7_DOS_VSE_Handbook_Feb79

Open the PDF directly: View PDF PDF.
Page Count: 402

DownloadSY33-8571-7_DOS_VSE_Handbook_Feb79 SY33-8571-7 DOS VSE Handbook Feb79
Open PDF In BrowserView PDF
SY33·B571-7
S 370/5
4300-40

)

)

I~

Systems

DOS!VSE Handbook

Preface
lltis manual references to infonnation contained in this manual is provided as a DOS/VSE
serviceability aid and is, therefore, a summary of other DOS/VSE dncumentation. These manuals
are intended for use by persons involved in program suppod.

This manual does not ,contain information on DOSjVSE Advanced Fur.ctions. This inforn:u~ion
represent licensed material and must be ordered separaUy.
It will be distributed as System Library Supplement which logically fit into this manual.

The volume contains following information:
Volume 1, SY33·8571 :
Chapter I : General Infannatian
II : DOS/VSE General Infonnation
III: DOS/VSE roes (General, SAM, DAM, ISAM)
IV: DOSjVSE Supervisor Control Blocks and Areas
V: DOS/VSE Service Aids
If there is any discrepancy between the information contained in this manual and the DOS;VSE
optional progran::,ning m3terial (e.g., PLMs and listings), the latter is assumed to be correct.
Eighth Edition (February, 1979)
This is a major revision of and obsoletes, SY33-8S71-6. This edition applies to the Disk Operating
System/Virtual Storage Extended (DOS;VSE) and to all subsequent versions and releases until
otherwise indicated in new editions or Technical Newsletters. Changes are continually made to
the information herein; before using this publication in connection with the operation of IBM
systems, consult the latest System /370 Bibliography, Ge2D-DOO!. for the editions that are applicable and current.
Request for copies of IBM publications should be made to your IBM representative or to the
IBM branch office serving your lo~ality.
Ahandbook-sized binder, FE Part Number 453559, may be purchased from IBM. Customers may
order it through their IBM marketing representative. IBM personnel should order it as an FE part
from Mechanicsburg.
This manual has been prepared by WT-DP/CE Technical Operations, 7030 BoeblingeQ, Germany.
A form for readers' comments is provided at the back of this publication. If the form has been
removed, comments may be sent to the above address. Comments become the property of IBM.
© Copyright International Business Machines Corporation, 1973. 1974, 1975, 1976, 1977,
1978,1979.

TABLE OF CONTENTS (."" Cont'd)

Chapter IV
Interval Timer Table
Task Timer Option Table
Interval Timer Request Table
Abnormal Termination Table
Page Fault Handling Overlap Table
Job Accounting Interface Common Table
Job Accounting Interface Partition Table
ASCII ABCDIC Translation Tables
Segment and Page Table
Page Data Set Table (DPDT AB)

63
63
64
65
66
67
68

P"ge-1n Queue Em:ry (pGQUI)

76
76

Page-Out Queue Entry (PGQUO)
Page Frame Table Entry (PFTE)
PAGETAB
Translation Control Block (TCB)
Copy Blocks
Replica Block, Didal Block and Entry
Converting Virtual to Real Address
Page Data Set Format
Replica Header Blocks, layout
Resource Usage Record Table (RURTAB)
Anchor Table (ANCHTAB)
Fetch/load Control Blocks
layout of Shared Virtual Area (SVA)
layout of Directory Entry
Routine Identifiers (RIO)
VTAM Address Vector Table USTAVT)

69

74
75

77

78
79
80
83
84
85
86
87
89
90
91
92
93
94

Chapter V DOS/VSE Service Aids
OlTEP
EREP
SOAID
MSHP
POZAP
OOSVSDMP

)

)

)

01
04
11

17
67
69

TABLE OF CONTENTS
Chapter I Generallnformation
Machine Instructions
Extended MNEMONIC Instruction Codes
Assembler Instructions
Condition Codes
Code Translation Table
Machine Instructions Formats
Control Register Allocation
Assignment of Control Register Field
Permanent Main Storage Assignment
Program Status Word (PSW)
Channel Address Word (CAW)
Channel Command Word (CCW)
Channel Status Word (CSW)
Limited Channel Logout
Machine Check Interruption Code
Codes for Program Interruptions
Codes for External Interruptions
Codes for Input/Output' Interruptions
Codes for Supervisor Call Interruptions
Channel Commands
Hexadecimal and Decimal Conversion
Sense Information Summary

01
04
05
06
08

12
13
13
14
16
17

17
17
18
18
19
19
19
19
19
23
24

Chapter II DOS/VSE General Information
IPL Control Statements
Job Control- and Attention Routine Commands
Linkage Editor Control Statements
Librarian
ESERV

LSERV
Supervisor Macros
Device Type Codes
Format of ESD CARD
TXT CARD
RLD CARD

END CARD
REP CARD
Chapter III

01
05
22
24
33
35
36
42
44
44
45
45
45

DOS/VSE IOCS (GeneraI/SAM/CAM/ISAM)

Standard
Standard
Standard
Standard
Standard
Standard
Standard

Volume Labels, Tape or CASC
Magnetic Tape File Label
CASC File Label - Format 1
CASC File Label - Format 2
CASe File Label - Format 3
CASC File Label - Format 4
eASe File Label - Format 5
Label Information Cylinder
LlOCS Module Name Versus Options
DTFCD (Reader)
DTFCe (Punch)
DTFCe (Combined Reader/Punch)
DTFPR

01
03
07
11

15
16
19
20
21
28

32
34
35

DTFCN

37

DTFDR

36
39
41
44

DTFOR
DTFMR
DTFMT (Data Files)
DTFMT (Work Files)
DTFSD (Data Files)
DTFSD (Work Files)
DTFDA
DTFIS (Load)

DTFIS (ADD)
DTFIS (RETRVE, RANDOM)
DTFIS (RETRVE. SEQNTL)

52
53
60
62
67
71
77

81

TABLE OF CONTENTS C•••• Cont'd)

DTFDU

DTFPH (Magnetic Tape)
DTFPH (Sequential Disk)
DTFPH (DAM Files)

OTFPH (Diskette)
DTfDI

DTFCP (Disk=Yes)
DTFCP (Disk=No)

DTFCP IDisk=Parameter Omitted)
DTF - Table Types
RPS DTF/Module Relationship

RPS DTF - Extention

91
93
94
96
97

99
101
104
106
109
110
111

Chapter IV DOSNSE Supervisor Control and Areas

Supervisor Storage Allocation
Supervisor Calls

Command Control Block (CCB)
Input/Output Request Siock (lOR81
Storage Management Control Block (SMeBI

)

)

System Control Program Communication Region (SYSCOM)
Partition Communication Region
Partition Identification Key (PIK)
Task Interrupt Key (TIKI
Logical Transient Owner Identifikdtion Key III Kl
Logical Transient Key (LTK)
RAS Linkage Area
System Task Blocks
Program Information Block (PI B)
Program Information Block Extension
Save Areas
I/O Table Interrelationship
Logical Unit Block (LUB)
Physical Unit Block (PUB)
Physical Unit Block Ownership Table
Job Information Block (JIB)
Channel Queue Table (CHANQ)
Channel Control Table (CHNTAB)
Track Hold Table (THTAB)
Console Buffering Table
Line Mode Table
Relationship of Control and Workblocks for Channel Program Fixing
Fixlist Header Block (FHB) Layout
Rix Request Block (FRB)
Fix list Block (FLB) Layout
locate List Block, Layout
Line Pointer Blocks, Layout
Emulator ECa Table (EUECBTAB)
FIXWTAB
Density Data
Event Control Block (ECB)
Resource Control Block (RCB)
Cross Partition ECB (XECB) Table
Disk Information Block (DIB) Table
MICR DTF Addresses and Pointers
Error Recovery Procedure Information Block (ERPIB)
Error REcovery Block and Error Queue Entry
Cancel Codes and Messages
PUB2 Entry AddreSSing
PUB2 Table
Recorder File Table (RF TABLE)
CRT Constant Table (CRTTAB)
Program Check Option Table
Operator Communication Table

01
02

05
09
10
11
17

25
25
25
25
26

27
26
31
32

33
34
35
36
37

39
39
40
40

41
42
43
44
44

45
45
46
46
46
47
47
47

46
50
51
52
63
55
56
59
61
62
62

CHAPTER I
GENERAL INFORMATION

CHAPTER II
DOS/VSE GENERAL INFORMATION

CHAPTER III
DOS/VSE IOCS (GENERALISAMIDAMIISAM)

CHAPTER IV
DOS/vSE SUPERVISOR CONTROL BLOCKS AND AREAS

CHAPTER V
DOS/VSE SERVICE AIDS

)

)

I
I
I
I
I

CHAPTER I
GENERAL INFORMATION

)

)

I

MACHINE INSTRUCTIONS
Mnemonic

Op
Code

Format

Operands

lA
5A
FA
4A
lE
5E
14
54
94
D4
05
45

AA
AX
S5
AX
AA
AX
AA
AX
51
55
AA
AX

Al, A2
Al, D2(X2,B2)
D1(L1,Bl)'D2(l2.B2)
Al,D2IX2,B2)
Al,A2
A 1,D2IX2,B2)
Al,A2
Al,D2IX2,B2)
D1(B1),12
D1(l,B1),D2IB2)

Branch and Link

AA
A
AP
AH
ALA
Al
NA
N
NI
NC
BAlA
BAl

Branch on Condition

BCR

07

RR

Branch on
Branch on
Branch on
Branch on
Branch on
Clear I/O
Clear Page

BC
BCTA
BCT
BXH
BXlE
CIAIO
CLAP
CA
C
C5
CP
CD5
CA
C
CP
CH
ClA
Cl
ClC
Cli
ClM

47
06
46
B6
87
9001
B215
19
59
BA
F9
BB
19
59
F9
49
15
55
D5
95
BD

RX
AA
AX
A5
A5
5
5
AA
AX
A5
55
A5
AA
AX
55
AX
AA
AX
55
51
A5

Ml,R2
Ml,D2(X2,B2)
R1.R2

ClCl
CTP
CVB
CVD
DEP

OF
BO
4F
4E

Name

Add (e)
Add (e)
Add Decimal (e)
Add Halfword (e)

Add Logical (e)
Add Logical (e)
AND Ie)
AND (e)
AND (e)
ANDie)
Branch and Link

Condition
Count
Count
Index High
Index Low or Equal

Compare (e)
Compare (e)

Compare and Swap
Compare Decimal (e)

Compare Double and Swap
Compare (e)
Compare (e)

Compare Decimal (el
Compare Halfword (e)
Compare Logical (e)

Compare Logical (e)
Compare Logical (e)

Compare Logical (e)
Compare Logical Characters

Rl,R2
Al,D2IX2,B2)

Al,D2IX2,B2)
Al,A3,D2IB2)
Al,A3,D2(B2)
D21B2)
Rl,R2
Al,D2(X2,B2)
Al,A3,D2,(B2)
Dl (l 1,Bl ),D2(l2,B2)
Al,A3,D2,(B2)
Rl,R2
Rl,D2(X2,B2)

D1(ll,B1),D2Il2,B2)
Al,D2(X2,B2)
Al,A2
Al,D2(X2,82)
Dl,(l,Bl),D2(B2)
D1(B1),12
Al,M3,D2IB2)

under Mask (e)

)

)

)

Compare Logical Long (e)
Connect Page
Convert to Binary
Convert to Decimal
Deconfigure Page
Diagnose (p)
Disconnect Page
Divide
Divide
Divide Decimal
Edit (c)
Edit and Mark (c)
Exclusive OR (c)
Exclusive OR leI
Exclusive OR (c)
Exclusive OR (cl
Execute
Halt I/O (c,pl
Halt Device (c,p)
Insert Character
Insert Characters under Mask (c)
Insert Page Bits
Insert Storage Key (p)
Insert PSW Key
Load
Load
Load Address
Load and Test (cl
Load Complement (e)
Load Control (pI
Load Frame Index
Load Halfword
Load Multiple
Load Negative (c)
Load Positive (el

DCTP
DA
D
DP
ED
EDMK
XA
X
XI
XC
EX
HID
HDV
IC
ICM
IPB
15K
IPK
lA
l
lA
lTA
lCR
lCTl
lFI
lH
lM
lNA
lPA

AA
A5
AX
AX
B218 5
83
51
B21C 5
ID
AA
5D
AX
FD
S5
DE
55
DF
55
17
AA
57
AX
97
51
D7
55
44
AX
9EOO 5
9E01 5
43
AX
BF
A5
B4
5
09
AA
B20B 5
1B
AA
5B
AX
41
AX
12
AA
13
AA
B7
A5
BB
A5
4B
AX
9B
A5
11
AA
10
AA
1-01

Rl,R2
Al,M3,D2IB2)
Al,D2IX2,B2)
A1,D2IX2,B2)

Al,A2
Al,D2IX2,B2)
D1(L1,B1),D2Il2,B2)
Dl (l,B1 ),D2(B2)
D1(l,Bl),D2IB2)
Al,A2
AI,D2IX2,B2)
Dl(Bl1,12
Dlll,BlI,D2IB2)
AI,D2IX2,B2)
D1(B1)
D1(B1)
A1,D2(X2,B2)
Al,M3,D2(B2)
Al,A2
R1,R2

Al,D2(X2,B2)
Al,D2IX2,B2)
Al,A2
R1,R2

Al,A3,D2(B2)
Al,M3,D2(B2)
Al,D2IX2,B2)
Al,A3,D2(B2)
Al,A2
Al,A2

I

MACHINE INSTRUCTIONS I •. .. Cont'd)

Mne-

Op

Name

monic

Code

Format

Operands

Load -PSW (n,p)
Load Real Address (e,p)

LP5W
LRA
MC

B2
Bl
AF

51
RX
51

01(Bl}
Rl,02IX2,B2}
D1(Bl1.12

Monitor Call (m)
Make Addressable
Make Unaddressable

Move
Move
Move Long (e)

Move Numerics
Move with Offset
Move Zones
Multiply

Multip'ly
Multiply Decimal
Multiply Halfword

OR Ie}
OR Ie}
OR Ie}
OA Ie}
Pack
Purge Table (pI

Reset Reference Bit (c,p)

Retrieve Status and Page
Set Clock (e,p)

Set Clock Comparator (pI
Set CPU Timer (pI

Set Page Bits
Set Program Mask fn)
Set Storage Key (pI

Set PSW Key from Address
Set System Mask (pI
Shift and Round Decimal (e)
Shift Left Double (e)
Shift Left Double Logical
Shift Left Single (e)

Shift Left Single Logical
Shift Right Double (e)
Shift Right Double Logical
Shift Right Single (c)
Shift Right Single Logical
Start I/O (c,p)
Start I/O Fast Release (c,p)
Store
Store Capacity Counts
Store Channel ID (c,p)
Store Character
Store Characters under Mask
Store Clock (c)
Store Clock Comparator (p)
Store Control (p)
Store CPU I D (p)
Store CPU Timer (p)
Store Halfword
Store Multiple
Store then AND System Mask (p)
Store then OR System Mask (p)
Subtract (c)
Subtract (cl
Subtract Decimal (c)
Subtract Halfword (c)
Subtract Logical (c)
Subtract Logical {cl
Sup~rvisor Call
Test and Set (c)
Test Channel (c,p)
Test lID (c,p)
Test under Mask (c)
Translate
Translate and Test (c)
Unpack
Zero and Add Decimal (c)

MAD

921D

S

MUN
MVI
MVC
MVCl
MVN
MVO
MVZ
MR
M
MP
MH
OR
0
01
DC
PACK
PTLB
RRB
A5P
5CK
5CKC
5PT
5PB
5PM
55K
5PKA
55M
5RP
5LOA
5LDL
5LA
5LL
5RDA
5RDL
5AA
5AL
510
510F
5T
5TCAP
5TIDC
5TC
5TCM
5TCK
5TCKC
5TCTL
5TIDP
5TPT
5TH
5TM
5TN5M
5T05M
5A
5
5P
5H
5LR
5L
5VC
T5
TCH
TID
TM
TR
TAT
UNPK
ZAP

B21E
92
D2
OE
01
Fl
03
lC
5C
FC
4C
16
56
96
D6
F2
B200
B213
DB
B204
B206
B20B
B5
04
OB
B20A
BO
FO
BF
BD
BB
B9
BE
BC
BA
BB
9COO
9COl
50

5
51
55
RR
55
SS
55
RR
RX
55
AX
AR
AX
51
55
55
5
5
55
5
5
5
A5
RR
RR
5
51
55
R5
R5
A5
A5
A5
R5
A5
R5
5
5
RX
5
5
RX
R5
5

B21F

B203
42
BE
B205
8207
B6
8202
B209
40
90
AC
AD
lB
5B
FB
4B
lF
5F
OA
93
9F
9D
91
DC
DD
F3
FB
1·02

S.
A5
5
5
RX
R5
51
51
RA
AX
55
RX
RR
AX
AR
51
51
51
51
55
55
55
55

Dl1Bll.12
D1(L,BlI.D2(B2}
Rl,R2
DlIL,s1),D2IB2}
DllL1,Bl},D2IL2,B2}
01IL,BlI.D2IB2}
Rl,R2
Rl,D2IX2,B2}
D1(L1 ,Bl },02IL2,B2}
Rl,02IX2,B2}

Rl,R2
A 1,D2IX2,B2}
Dl1Bll.12
D1(L, Bl},D2IB2}
D1(L1,B1),D2IL2,B2}
D1(Bl)
D1(L1,Bl },D2IL2,B2}
DlIB1)
D1(B1)
011Bl)
Rl,02IB2}
Al
Rl,R2
D1(Bl)
01(L1,B1),D2IB21.13
Al,D2IB2}
Rl,D2IB2}
Rl,D2IB2}
Rl,D2IB2}
Al,D2IB2}
Al,D2IB2}
Rl,D2IB2}
Rl,D2IB2}
D1{Bl}
D1{Bl}
Rl,D2IX2,B2}
Dl1Bl}
Rl,02IX2,B2}
A 1,M3,02IB2}
01{Bl}
01{Bl}
Rl,A3,D2IB2}
D1{B1}
DlIB1}
Al,D2IX2,B2}
Al,A3,D2IB2}
01lBl}12
DlIB1},12
Al,R2
Al,D2IX2,B2)
DllL1,B1},D2IL2,B2}
Al,D2IX2,B2}
Rl,R2
Rl,D2IX2,B2}
I
DlIB1}
DlIB1}
DlIB1}
DlIB1},12
DlIL,Bl},D2IB2}
DlIL,Bl},D2IB2}
DlIL1 ,Bl },D2IL2,B2}
DlIL1 ,Bl },D2IL2,B2}

MACHINE INSTRUCTIONS (•••• Con,'d!
Floating Point Instructions

MneName
Add
Add
Add
Add
Add
Add

,

)

)

monic

Normalized, Extended Ic,xl
Normalized, Long Ie)
Normalized, Long Ie)
Normalized, Short lei
Normalized, Short Ie)
Unnormalized, long lei

AXR
ADR
AD
AER
AE
AWR
Add Unnormalized, Long lei
AW
Add Unnormalized, Short Ie)
AUR
Add Unnormalized. Short Ie)
AU
Compare, Long Ie)
CDR
Compare, Long lei
CD
Compare, Short Ie)
CER
Compare, Short Ie)
CE
Divide, Long
DDR
Divide, Long
DD
Divide, Short
DER
Divide, Short
DE
Halve, Long
HDR
Halve, Short
HER
Load and Test, Long Ie)
LTDR
Load and Test, Short Ie)
LTER
Load Complement, Long Ie)
LCDR
Load Complement, Short lei
LCER
Load, long
LDR
Load, Long
LD
Load Negative, Long Ie)
LNDR
Load Negative, Short Ie)
LNER
Load Positive, Long Ie)
LPDR
Load Positive, Short Ie)
LPER
Load Rounded, Extend~ t Long Ix) LRDR
Load Rounded, Long to Short Ixl
LRER
Load, Short
LER
Load, Short
LE
Multiply. Extended Ixl
MXR
Multiply, Long
MDR
Multiply, Long
MD
Multiply. Long/Extended Ixl
MXDR
Multiply, Long/Extended Ixl
MXD
Multiply, Short
MER
Multiply. Short
ME
Store, Long
STD
Store, Short
STE
Subtract Normalized, Ext'd (c,xl
SXR
Subtract Normalized, Long Icl
SDR
Subtract Normalized, Long Icl
SD
Subtract Normalized. Short (cl
SER
Subtract Normalized, Short (cl
SE
Subtract Unnormalized, Long Icl
SWR
Subtract Unnormalized. Long (c)
SW
Subtract Unnormalized, Short (cl
SUR
Subtract Unnormalized, Short Icl
SU

lal Direct Control Feature
Icl Condition Code is set
Iml Monitoring Feature

Op

Code

Format

Operands

36
2A
6A
3A
7A
2E
6E
3E
7E
29
69

RR
RR
RX
RR
RX
RR
RX
RR
RX
RR
RX
RR
RX
RR
RX
RR
RX
RR
RR
RR
RR
RR
RR
RR
RX
RR
RR
RR
RR
RR
RR
RR
RX
RR
RR
RX
RR
RX
RR
RX
RX
RX
RR
RR
RX
RR
RX
RR
RX
RR
RX

R1,R2
R1,R2
R1,D2(X2,B2)
R1,R2
R1,D2(X2,B2)
R1,R2
R1,D2(X2,B2)
R1,R2
R1,D2(X2,B2)
R1,R2
R1,D2(X2,B2)

3.

79
2D
6D
3D
7D
24

34
22
32
23
33
28
68
21
31
20
30
25
35
3B
78
26
2C
6C
27
67
3C
7C

60
70
37
2B
6B
3B
78
2F
6F
3F
7F

R1,R2

R1,D2(X2,B2)
R1,R2
R1,D2(X2,B2)
R1,R2
R1,D2(X2,B2)
R1,R2
R1,R2
R1,R2
R1,R2
R1,R2
R1,R2
R1,R2
R1,D2(X2,B2)
R1,R2
R1,R2
R1,R2
R1,R2
R1,R2
R1,R2
R1,R2
R1,D2(X2,B2)
R1,R2

R1,R2
R1,D2(X2,B2)
R1,R2
R1,D2(X2,B2)
R1,R2
R1,D2(X2,B2!
R1,D2(X2,B2!
R1,D2(X2,B2)
R1,R2
R1,R2
R1,D2(X2,B2!
R1,R2
R1,D2(X2,B2)
R1,R2
R1,D2(X2,B2)
R1,R2
R1,D2(X2,B2)

(nl New Condition Code is loaded
(pi Privileged Instruction
(xl Extended p~ecision floating point feature

)

1·03

I

EXTENDED MNEMONIC INSTRUCTION CODES
GENERAL
Machine Instruction

Meaning

SR
NOP

D2(X2,B2)
R2
D2(X2,B21

BC 15,
BCR 15,
BC 0,

Branch Unconditionally
No Operation

NOPR

R2

BCR 0,

Extended Code

D2(X2,B2)
R2
D2(X2,B21
R2

Branch Uncon'ditionally

No Operation (RR)

AFTER COMPARE INSTRUCTIONS (A:B)
BH
BL
BE
BNH
BNL
BNE

D2(X2,B2)
D2(X2,B2)
D2(X2,B2)
D2(X2,B21
D2(X2,B2)
D2(X2,B2)

BC 2,
BC 4,
BC 8,
BC 13,
BC ",
BC 7,

D2(X2,B21
D2(X2,B2)
D2(X2,B21
D2(X2,B21
D2(X2,B21
D2(X2,B21

Branch
Branch
Branch
Branch

on
on
on
on

A
A
A
A
Branch on A
Branch on A

High
Low
equal B
not High
not Low

not Equal B

AFTER ARITHMATIC INSTRUCTIONS
D2(X2,B21
D2(X2,B2)
D2(X2,B2)
D2{X2,B21
D2{X2,B2)
D2{X2,B2)
D2{X2,B21

BO
BP
BM
BZ
BNP
BNM
BNZ

D2{X2,B21
D2(X2,B21
D2(X2,B2)
D2{X2,B21
D2(X2,B21
D2(X2,B2)
D2{X2,B21

Be 1,
BC 2,
BC 4,
BC B,
BC 13,
BC " ,
BC7,

Branch on Overflow

Branch on Plus
Branch on Minus

Branch on Zero
Branch on not Plus
Branch on not Minus
Branch on not Zero

AFTER TEST UNDER MASK INSTRUCTIONS
BO
8M
BZ
BNO

D2{X2,B2)
D2{X2,B21
D2{X2,B21
D2{X2,821

BC "
BC 4,
BC 8,
BC 14,

D2{X2,B21
D2(X2,821
D2{X2,82)
D2{X2,B2)

Branch if Ones
Branch if Mixed
Branch if Zero's
Branch if not Ones

eNQP ALIGNMENT
Double Word

I

Word
Half Word

Byte

Byte

I
,,

Half Word

Byte

Byte

I,

Word
Half Word
Byte

Byte

I

Half Word

Byte

1'.......0,4

'.......2:4

'.......~

'.......~

0,4

2,4

0,8

2,8

4,8

6,8

EDIT AND EDMK PATTERN CHARACTERS (In Hex)

20 - Digit selector
21 - Start of significance
22 - Field separator

5C - Aterisk
68 -Comma

40 - 81ank
48 - Period
58 - Dollar sign

C3D9 - CR

1-04

Byte

ASSEMBLER INSTRUCTIONS

Function

Mnemonic

Meaning

Data Definition

DC
OS
CCW

Define Storage
Define Channel Command Word

Program Sectioning
and Linking

START
CSECT
OSECT
COM
ENTRY
EXTRN
WXTRN

Start Assembly
Identify Control Section
Identify Dummy Section
Identify blank common Control Section
Identify Entry Point Symbol
Identify External Symbol
Id entify weak External Symbol

Base Register Assignment

USING

Use Base Address Register
Drop Base Address Register

Define Constant

DROP
TITLE

Identify Assembly Output

EJECT
SPACE
PRINT

Start new Page
Space Listing
Print Optional Data

ICTl
ISEQ
PUNCH
REPRO
ORG
EQU
lTORG
CNOP
COPY
END

Input Format Control
Input Sequence Checking
Punch a Card
Reproduce following Card

Set Location Counter
Equate Symbol
Begin Literal Pool
Conditional No-Operation
Copy predefined Source Coding
End Assembly

Macro Definition

MACRO
MNOTE
MEXIT
MEND

Macro Definition Header
Request for Error Message
Macro Definition Exit
Macro Definition Trailer

Conditional Assembly

ACTR
AGO
AIF
ANOP
GBLA
GBlB
GBLC
lClA
lClB
LCLC
SETA
SETB
SETC

Conditional Assembly Loop Counter
Unconditional Branch
Conditional Branch
Assembly No-Operation
Define global SETA Symbol
Define global SETB Symbol
Define global SETC Symbol
Define local SETA Symbol
Define local SETB Symbol
Define local SETC Symbol
Set Arithmetic Variable Symbol
Set Arithmetic
Set Character Variable Symbol

Control of listings

Program Control

)
SUMMARY OF CONSTANTS

Type

)

Implied
Length
Bytes

C
X
B
F
H

E
0

)

l
P
Z
A

y
S
V

16

Alignment

Format

Truncation
Padding

Byte
Byte
Byte
Word
Halfword
Word
Doubleword
Doubl.eword
Byte
Byte
Word
Halfword
Halfword
Word

Characters
Hexadecimal Digits
Binary Digits
Fixed-point Binary
Fixed-point Binary
Short Floating-point
Long Floating-point
Extended Floating-point
Packed Decimal
Zoned Decimal
Value of Address
Value of Address
Address in Base-Displacement form
Externally defined Address Value

Right
Left
Left
Left
Left
Right
Right
Right
Left
Left
Left
Left

I-OS

Left

I

CONDITION CODES
Condition Code Setting
Mask Bit Position
Floating Point Arithmetic
Add Normalized S/L/E
Add Unnormalized SIL
Compare S/L (A:BI
Load and Test SIL
Load Complement SIL
Load Negative SIL

Load Positive SIL
Subtract Normalized SlUE
Subtract Unnormalized SIL

zero
zero

zero
> zero
A high

>zero

 zero

 zero

zero
zero,

>zero
>zero

Fixed Point and Decimal Arithmetic
Add H/F/Dec.
Add Logical

zero,
na carry

Compare H/F/Oec. (A:B)
Compare and Swap/Double

equal
equal

Load and Test
Load Complement
Load Negative

zero

Load Positive

zero

Shift and Round Decimal

zero
zero

Shift Left Single/Double
Shift Right Single/Double
Subtract H/F/Dec.
Subtract Logical

zero

zero

not zero,
no carry

A low
not equal

 zero
>zero

overflow

>zero

overflow
overflow

>zero
> zero
>zero

overflow

> zero

overflow

not zero,

zero •

not zero,

no carry

carry

carry
overflow

zero

logical Operations

AND
Compare Logical (A:BI
Edit

zero
equal

not zero

A low

Exclusive OR

zero
zero
zero

Insert Characters under Mask

all zero

not zero
1st bit one

Move Long (A:B)

equal

A low

Edit and Mark

A high

>zero
>zero
1st bit zero
A high

overlap

not zero

OR
Test under Mask
Translate and Test


?

12-0-1-8-9
12-1-9
12-2-9
12-3-9
12-4-~

12-5-9
12-6-9
12-7-9
12-8-9

12-'-8-9
12-2-8-9
12-3-8-9
12-4-8-9
12-5-8-9
12-6-8-9
12-7-8-9
12-11-1-8-9

11-'-9
11-2-9
11-3-9
11-4·9

11-5-9
11-6-9
11-7-9

11-8-9
11-1-8-9
11-2-8-9
11-3-8-9
11-4-8-9
11-5-8-9
11-6-8-9
11-7-8-9
11-0-1-8-9
0-1-9
0-2-9
0-3-9
0-4-9
0-5-9
0-6-9
0-7-9
0-8-9
0-1-8-9
0-2-8-9
0-3-8-9
0-4-8-9
0-5-8-9
0-6-8-9
0-7-B-9

Binary
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
0000 1000
0000 1001
0000 1010
0000 1011
0000 1100
0000 1101
00001110
0000 1111
0001 0000
0001 0001
0001 0010
0001 0011
0001 0100
0001 0101
0001 0110
0001 0111

0001 1000
0001 1001
0001 1010

0001 1011
0001 1100
0001 1101
0001 1110
0001 1111
0010 0000
00100001
0010 0010
00100011
0010 0100
0010 0101
00100110
00100111
0010 1000
0010 1001
0010 1010
00101011
0010 1100
0010 1101
00101110
0010 1111
12-11-0-'-8-9 0011 0000
1-9
0011 0001
2-9
0011 0010
3-9
0011 0011
4-9
0011 0100
5-9
0011 0101
6-9
0011 0110
7-9
0011 0111
8-9
0011 1000
1-8-9
0011 1001
2-8-9
0011 1010
3-8-9
0011 1011
4-8-9
0011 1100
5-8-9
0011 1101
6-8-9
0011 1110
7-8-9
0011 1111

1 EBCDIC graphics shown are standard bit pattern assignment. For specific print train/chain:
See printer manual.
2 Add C (Check bit) for odd or even parity as needed, exept as noted.
3 For even parity use CA

1-08

Hex

InStruction Graptlics and Controls
7-Track Tape
BCDI EBCDIC 11 ASCII BCDic 121
Card Code
IRRI

73
74
75
76

40
41
42
43
44
45
46
47
48
49
4A
48
4C

5TH
LA
STC
IC
EX
BAL
BCT
8C
LH
CH
AH
SH
MH

77

40

78
79
80
81
82
83
84
85
86
87
88
69
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127

4E
4F
50
51
52
53
54
55
56
57
58
59
5A
58
5C
50
5E
5F
60
61
62
63
64
65
66
67
68
69
6A
68
6C
60
6E
6F
70
71
72
73
74
75
76

Dec

/

64
65
66
67
68
69
70
71

72

-j

)

)

)

K
L

no punches
12-0-1-9
12-0-2-9
12-0-3-9
12-0-4-9
12-0-5-9
12-0-6-9
12-0-7-9
12-0-8-9
12-1-8
12-2-8
8 A8
2 1 12-3-8
12-4-8
8A84

M

BA64

<

I
+

N

I

0

&+

&

P

12-6-6
8A842
8A8421 12-7-8
8A
12
12-11-1-9
12-11-2-9
12-11-3-9
12-11-4-9
12-11-5-9
12-11-6-9
12-11-7-9
12-11-8-9
11-1-8
11-2-8
2 I 11-3-8
8
8
11-4-8
8
84
1 11-5-8
8
8 4
8 4 2
11-6-8
8
8
8 4 2 1 11-7-8
8
11
1 0-1
A
11-0-2-9
11-0-3-9
11-0-4-9
11-0-5-9
11-0-6-9
11-0-7-9
11-0-8-9
0-1-8
12-11
A8
2 1 0-3-8
A84
0-4-8
A84
1 0-5-8
0-6-8
A842
A8421 0-7-8
12-11-0
12-11-0-1-9
12-11-0-2-9
12-11-0-3-9
12-11-0-4-9
12-11-0-5-9
12-11-0-6-9
12-11-0-7-9
12-11-0-8-9
1-8
2-8
A
8
2 1 3-8
84
4-8
84
1 5-8
6-8
8 4 2
8 4 2 1 7-8

B
C
0
E
F
G
H
I

t
"

•

J

<

Q

R
S
T
U
V
W
X
Y

N
CL

0
X
L
C
A
S
M
0
AL
SL
STD

MXD
LD
CD
AD
SO
MD
DO
AW
SW
STE

Z

I

. .
"'" $

I

$

[

\

-

)

I

;

I

I

a
b
c
d
e
f
9
h
i
j
k
I
m
n

I
%

Y

\
~

~

-

%

-

>
7

0

p
q

r

s
t

u
v

w

77
78
79
7A
78
7C
70
7E
7F

131

A

[

CVD
CV8
ST

@

SP

LE
CE
AE
SE
ME
DE
AU
SU

x
y

:
#

z
{

:

~

}

>

=

#=
@'

I

-DEL

V

1 12-5-8

Binary

01000000
01000001
()1000010
01000011
01000100
01000101
0100.0110
01000111
0100 1000
0100 lQOl
0100 1010
01001011
01001100
0100 1101

01001110
01001111
0101 0000
0101 0001
0101 0010
0101 0011
0101 0100
0101 0101
01010110
01010111
0101 1000
0101 1001
0101 1010
0101 1011
0101 1100
0101 1101
0101 1110
0101 1111
01100000
01100001
01100010
01100011
01100100
01100101
01100110
01100111
01101000
0110 1001
0110 1010
0110 1011
011() 1100
0110 1101
01101110
01101111
01110000
0111 0001
0111 0010
01110011
0111 0100
0111 0101
01110110
0111 0111
0111 1000
0111 1001
0111 1010
0111 1011
0111 1100
0111 1101
0111 1110
0111 1111

1 EBCDIC graphics shown are standard bit pattern assignments. For specific print train/chain:
See printer manual.
2 Add C (check bitl for odd or even parity as needed, exept as noted.

1-09

I

CODE TRANSLATION TABLE ,(, , , ,Cont'd)
Instruction Graphics and Controls

De,

Hex

128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191

BO
81
82
83
84
85
86
87
88
89
8A
8B
8C
80
8E
8F
90
91
92
93
94
95
96
97
98
99
9A
98
9C
90
9E
9F
AD
Al
A2
A3
A4
A5
A6
A7
AS
A9
AA
A8
AC
AD
AE
AF
80
81
82
83
84
85
86
87
B8
89
BA
88
8C
BD
8E
8F

7-Track Tape
(RS, SI, S) Be-DIC EBCDIC 1) ASCII BCOIC (2)
Card Code

SSM
lPSW

Diagnose

.,

12-0-1-8
12-0-1
12-0-2
12-0-3
12-0-4
12-0-5
12-0-6
12-0-7
1.2-0-6
12-0-9
12-0-2-6
12'0-3-6
12-0-4-6
12-0-5-8
12-0-6-8
12-0-7-8
12-11-1-8
12-11-1
12-11-2
12-11-3
12-11-4
12-11-5
12-11-6
12-11-7
12-11-8
12-11-9
12-11-2-8
12-11-3-8
12-11-4-8
12-1t-5-8
12-11-5-8
12-11-7-6
11-0-1-8
11-0-1
11-0-2
11-0-3
ll-Q-4
11-0-5
11-0-6
11-0-7
11-0-8
11-0-9
11-0-2-8
11-0-3-8
11-0-4-6
11-0-5-6
11-0-6-6
11-0-7-6
12-11-0-1-6
12-11-0-1
12-11-0-2
12-11-0-3
12-11-0-4
12-11-0-5
12-11-0-6
12-11-0-7
12-11-0-8
12-11-0-9
12-11-0-2-6
12-11-0-3-6
12-11-0-4-6
12-11-0-5-6
12-11-0-6-6
12-11-0-7-8

b

d
e

BXH
BXlE
SRl
Sll
SRA
SLA
SRDl
SlDl
SRDA
SlDA
STM
TM
MVI
TS
NI
CLI
01
XI
lM

f

9
h
i

i
k
I
m

n
0

P
q
r

SIO, SIOF ~
TIO, ClRIO
HIO, HDV
TCH

s

t

u
v

w
x
Y

z
STNSM
STOSM
MC
CTP

See below
IP8
SP8
STCTl
lCTl
lFI

cs
CDS
ClM
STCM
ICM
B202
8203
B204
8205
B206

- STIDP
- STIDC
- SCK
- STCK
- SCKC

B207 - STCKC
8208_- SPT
B209 - STPT
8213 - RR8
B20A-SPKA
1-10

B20B - IPK
B215 - ClRP
B21B - DECP
B21C- DCTP
8210 - MAD

Binary
10000000'
10000001
10000010
10000011
10000100
10000101
10000110
10000111
1000 1000
1000 1001
10()(l.1010
10001011
10001100
10001101
10001110
10001111
10010000·
10010001
1001 0010
1001 0011
1001 0100
1001 0101
10010110
10010111
1001 1000
10011001
10011010
10011011
10011100
1001 1101
10011110
10011111
10100000
10100001
10100010
10100011
10100100
10100101
10100110
10100111
10101000
10101001
10101010
10101011
1010 1100
10101101
1010 1110
10101111
1011 0000
10110001
10110010
10110011
1011 0100
10110101
1011 0110
10110111
1011 1000
10111001
10111010
1011 1011
1011 1100
10111101
1011 1110
10111111
B21E - MUN
B21F - STCAP

CODE TRANSLATION TABLE ( ..•. Cont'd)

)

D,c

Hex

192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255

CO
Cl
C2
C3
C4
C5
C6
C7
C8
C9
CA
C8
CC
CD
CE
CF
DO
Dl
D2
D3
D4
D5
D6
D7
D8
D9
DA
DB
DC
DD
DE
DF
EO
El
E2
E3
E4
E5
E6
E7
E8
E9
EA
EB
EC
ED
EE
EF
FO
Fl
F2
F3
F4
F5
F6
F7
F8
F9
FA
FB
FC

FD

7-Track Tape
Instruction Graphics and Controls
(55)
BCOIC EBCDIC 111 ASCII BCDIC (21
Card Code
1

[

A
B
C
D
E
F

A
B
C
D
E
F

G

G

H
I

H
I

B A 8
2
12-0
1 12·,
B A
BA
2
12·2
8A
2 1 12·3
12-4
B A
4
B A
4
1 12·5
B A
4 2
12·6
BA
4 2 1 12·7
B A 8
12·8
B A 8
1 12·9
12-0-2-8-9
12-0-3-8-9

J

12·0-4-B·9
12-0-5-8-9
12·0·6·8·9

Y

12-0-7-8-9

MVN
MVC
MVZ
NC
CLC
OC
XC
RSP

TR
TRT
ED
EDMK

I
J
K
L
M
N

)

B
8
B
B
B
8
B
B
8
B

J
K
L
M
N

0

0

P

P

0

Q

R

R

8

2

11'0

111-'
11·2
2
2 1 11·3
11-4
4
1 11-5
4
11-6
4 2
4 2 1 11·7
11·8
8
8
1 "·9
12-11-2-8-9
12'11·3·8·9
12-11-4-8-9
12-11·5-B-9

•

\

5
T
U
V

5
T
U
V

W

W

X

12·11·6·8·9
12·11·7·8·9
A8
2
0·2·8
11·0·1·9
A
0·2
2
A
2 1 0·3
A
4
0-4
A
4
0·5
A
0·6
4 2
A
4 2 1 0·7
A8
0·8
1 0-9
A8
11-0·2·8·9

X

Y

Y

Z

Z

11-0-3-8-9

"
SRP
MVO
PACK
UNPK

ZAP
CP
AP
SP
MP
DP

0
1
2
3
4
5
6
7
8
9

0
1
2
3
4
5
6
7
8
9
I

8

2
2
2
4
4
4 2
4 2

8
8

11·0-4·8·9
11·0-5·8·9
11-0-6·8·9
11-0-7-8-9
0
11
2
1 3
4
1 5
6
1 7
8
1 9
12'11-0·2·8·9
12·11-0·3-8·9
12·11·0·4·8·9
12-11-0-5-8-9

FE
FF

12·11·0·6·8-9
12·11·0·7·8·9

1-11

Binary
11000000
11000001
11000010
11000011
11000100
11000101
11000110
11000111

1100 1000
11001001
11001010
11001011
11001100
11001101
11001110
11001111
11010000
1101 0001
11010010
1101 0011
11010100
1101 0101
11010110
1101 0111
1101 1000
1101 1001
1101 1010
1101 1011
1101 1100
1101 1101
1101 1110
1101 1111
11100000
11100001
11100010
11100011
11100100
11100101
11100110
1110 01·11
11101000
11101001
11101010
11101011
11101100
11101101
11101110
11101111
1111 0000
1111 0001
1111 0010
1111 0011
1111 0100
1111 0101
1111 0110
1111 0111
1111 1000
1111 1001
1111 1010
1111 1011
1111 1100
1111 1101
1111 1110
11111111

I

MACHINE INSTRUCTIONS FORMATS

FIRST HALFWORD 1

I

REGISTER
OPERAND 1

RRI Op Code
0
1

I

Rl

I

ADDRESS OF

I

71B

I

R1
X2
B2
1112 15 116 1920

I

0

I

REGISTER
OPERAND 3

I

I

Rl

718

I

R3

1112

I

B2

15 116

SI I Op Code

I

02

1920
ADDRESS OF
OPERAND 1

I

12

78

0
[

D2

ADDRESS OF
OPERAND 2

IMMEDIATE
OPERAND

1

I

Bl

15[16

Dl

1920
ADDRESS OF
OPERAND 1

lop Code
0

I

I

0

I
718

Ll

Dl
1920

LENGTH

ADDRESS OF
OPERAND 1

OPER~ND 2

I L2/13 I
11 12

BIOI

15 116 1920

ADDRESS OF
OPERAND 2

I

LENGTH

I
7 B

I

B1
15 16 1920

Dl

I
31 32

1-12

D2

35 36

ADDRESS OF
OPERAND 2

OPERAND 1

I

I

B2

31132

ADDRESS OF

1
SS I Op Code

Bl

15 116

LENGTH
OPERfND 1

SS I Op Code

o

15[
OPERAND 2

REGISTER
OPERAND 1

RS I Op Code

1

i

I R2

OPERAND 1

Rxl Op Code
0

1

REGISTER
OPERAND 2

7181112
REGISTER

I

THIRD HALFWORD 3

SECOND HALFWQRD 2

B2

I
3536

D2

I
47

CONTROL REGISTER ALLOCATION

0

3

2

1

SYSTEM CONTR

I TRANSL CONTR

LEXTERNAL INTERRUPTION MASKS

I

SEGM TBL LENGTH SEGMENT TABLE ORIGIN ADDRESS

I

CHANNEL MASKS

PER EVENT MASKS

I
I MONITOR MASKS
I PER GR ALTERATION MASKS

I

I PER STARTING ADDRESS

10

I PER ENDING ADDRESS

11

12
13
14 ERROR RECOVERY CONTR & MASKS

I

15

ASSIGNMENT OF CONTROL REGISTER FIELDS

CR

)

)

Bits

Associated with

Name of Field

Block-Multiplexing Control

Block·Multiplexing Channels

SSM-Suppression Control
Page Size*'"
Reserved"

SET System Mask
Dynamic Addr. Translation
Dynamic Addr. Translation
Dynamic Addr. Translation

0
0
0
0
0
0
0
0
0
0

0
1
8-9
10
11-12
20
21
24
25
26

2

0-31

Channel Masks

Channels

1

8

16-31

Monitor Masks

Monitor Call

0

9
9
9
9
9

0
1
2
3
16-31

Successful-Branching-Event Mask

Program-Event Recording

Instruction-Fetching-Event Mask
GR-Alternation-Event Mask
PER* General-Register Masks

Program-Event Recording
Program-Event Recording
Program-Event-Recording
Program-Event-Recording

0
0
0
0
0

10

8-31

PER Starting Address

Program-Event Recording

0

11

8-31

PER Ending Address

Program-Event Recording

0

14
14
14
14
14
14
14
14
14
15

0
1
2
4
5

Check Stop Control**
Synchronous MCEL Control'"
I/O Extended Logout Control**
Recovery-Report Mask
Degradation-Report Mask
External-Damage-Report Mask
Warning Mask
Asynchronous MCEL Control'"
Asynchronous Fixed Log Contr_ **
MCEL Address**

Machine Check Handling
Machine Check Handling
Machine Check Handling
Machine-Check Handling
Machine-Cheek Handling
Machine-Check Handling
Machine-Cheek Handling
Machine-Cheek-Handling
Machine-Cheek-Handling
Machine-Cheek-Handling

1
1
0
0
0
1
0
0
0
512

6
7
8
9
8-28

Segment Size ....
Clock-Comparator Mask
CPU-Timer Mask

Interval-Timer Mask
Interrupt-Key Mask

External-Signal Mask

Storage-Alternation-Event Mask

Explanation:

)

Initial
Value

* PER Means Program-Event Recording
** Only Used in /370 Mode

1-13

Clock Comparator
CPU Timer
Interval Timer
I nterrupt Key
External Signal

0
0
0
0
0
0
0
1
1
1

PERMANENT MAIN STORAGE ASSIGNMENT
Storage Lac
Hex
Dec

0

0

4

4

8

8

C

12

10

16

14

20

18

24

lC

28

20

32

24

36

28

40

2C

44

30

48

34

52

38

56

3C

60

40

64

44

68

48

72

4C

76

50

80

54

84

58

88

5C

92

60

96

64

100

68

104

6C

108

70

112

74

116

78

120

7C

124

I

Byte

Byte

Byte

I

Byte

Restart New PSW (lPL PSW)

Restart Old PSW (lPL CCWll

IIPL CCW21

External Old PSW

Supervisor Call Old PSW

Program Old PSW

Machine Check Old PSW

Input/Output Old PSW

Channel Status Word

Channel Address Word

Interval Timer

External New PSW

Supervisor Call New PSW

Program New PSW

Machine Check New PSW

Input/Output New PSW

80

128

84

132

o0

88

136

00 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0

a0

0 0 0 0 0 0

8C

140

aa

90

144

00000000 ACCESS Exception Address

94

148

00000000 Monitor Class #

98

152

00000000 PER Address

9C

156

0 0 0 0 0 0 0 0 Monitor Code

AO

160

A4

164

0 0 0 0 0

A8

168

Channel ID

AC

172

Reserved

a

01 External Interruption Code

o]ILclolsvc Interruption Code

0 0 0 0 alllelO/Program Interruption Code

1-14

[PER Code [ 0 0 0 0 0 0 0 0 0 0 0 0

PERMANENT MAIN STORAGE ASSIGNMENT I ••• Cont'd)

Storage.Lac
.Hex

Dec

BO

176

B4

180

B8

184

Bf
I.

Byte

Limited

Chan~el

212
216

DC

220

EO

224

E4

228

E8

232

EC

236

FO

240

F4

244

CPU-Timer Save Area

Clack-Comparator Save Area
Machine Check Interruption Code

F8

248

o0

292

Aeserved

Hie

348

160

352

I

I
17C

I
I
I

360

180

364

lBC

I
444

lCO

448

1

I

I
I

1

I
I

lFC

508

.Byte

Zero if an 1/0 Address is stored here

F9

I

I

1

D4

I
I
I

Byte

I

Byte

100 00 0 OOOlliDAddress

1ye

08

1

I

Logout

I

0 0 0 0 0 0 Failing Storage Address

Floating Point Register Save Area

General Register Save Area

Control Register Save Area

)

1·15

I

I

PROGRAM STATUS WORD (EC·model

32

40

INSTRUCTION ADDRESS

100000000

Bit

Description
*Alwayszero

PER mask
2·4
5
6

*Always zero
**Translate mode
I/O interrupt mask
External interrupt mask

7
8·11
12
13
14

63

KEY
Always one in EC mode
Machine check mask

Wait state

Bit

Description

15
16·17

Problem state

* Always zero

18-19

Condition code
Fixed-point overflow mask

20} Prog.
21
22 mask
23
24-31

32·39
40·63

{ Decimal overflow mask
Exponent underflow mask
Significance mask
*Alwayszero
*Alwayszera
Instruction address.

*If not zero a Specification Exeption is recognized
**Only used in /370 mode
PROGRAM STATUS WORD (BC-mode)

31

INTERRUPTION CODE

32

34

36

40

63

INSTRUCTION ADDRESS

Bit

Description

Bit

Description

Channel 0 mask

14
15

Wait state
Problem state
Interruption code
I nstruction length code

Channell mask

8-11

12
13

Channel 2 mask
Channel 3 mask
Channel 4 mask
Channel 5 mask
Mask for channel 6 and up
External interrupt mask
Protection key
Always in BC mode
Machine check mask

a

16-31

32·33
34-35

36}
37
Prog.
38

39
40·63

1·16

mask

Condition code
{F;Xed.po;nt o",flow mask
Decimal overflow mask
Exponent underflow mask
Significance mask
I nstruction address

CHANNEL ADDRESS WORD ICAW} IX'48'}

3 4

7 B

I

!

K,y

0 0 0 0

15 16

23 24

31

23 24

31

55 56

63

Command Address

CHANNEL COMMAND WORD ICCW}
7 B

15 16

Data Address

Command Code

32

37 38

40

Flags

47 4B
Ignored

Byte Count

Flags
Bit

Description

32
33
34
35
36
37

CD-bit (80)
CC-bit (40)
SLI-bit (20)
Skip bit (10)
PCIM lOB}
IDA-bit (04)

: causes use of address portion of next CCW

: cuases use of command code and data address of next CCW
: causes suppression of possible incorrect length indication
: suppresses transfer of information to main storage
: causes a channel Program Controlled Interruption

: specifies indirect data addressing (only /370 mode)

CHANNEL STATUS WORD ICSW} IX'40'}

o

!

1516

345678

K,y

H+c!

39 40

32

2324

31

Command Address

47 48

55 56

63

Byte Count

Status

Bit
5
6,7
32
33
34
35
36
37
38
39

Description
Logout pending

Deferred condo code
IBOOO}
(4000)
12000}
11000)
10BOO)
10400}
10200)
10100)

Attention

Status Modifier
Control unit end
Busy
Channel end
Device end
Unit check
Unit exception

Bit

Description

40
41
42
43
44
45
46
47

10080)
10040}
10020)
10010}
10008)
10004)
10002)
10001)

Program controlled interruption

Incorrect length

Program check
Protection check
Channel data check
Channe~ control check
Interface control check
Chaining check

Byte count: Bits 4B-63 form the residual count for the last CCW used.

1-17

I

LIMITED CHANNEL LOGOUT IX'BO')

Source

Detect
Bit

Description

Bit

Description

CPU
Channel
Storage control

8
9
10
11
12

CPU
Channel
Storage control
Storage
Control unit

Storage

Field Validity Flags

TT (Type of termination)

Bit

Description

Bit
Description
24-25

19

Sequence code

20
21
22

Unit status
CCW address and key
Channel address

23

Device address

Interface disconnect
Stop, stack or normal
Selective reset

Reserved
A (bit 28): I/O error alert
Seq (bits 29·31): Sequence code

MACHINE CHECK INTERRUPTION CODE IX'ES')

8 9

1516

181920

31
Validity

3940

32

00000000000000

Me Conditions
Bit

46

48

CC
TC

55 56
0000000000000000

Time

Description

Bit

Description

System damage
Instr. proc'g damage
System recovery
Timer damage

15

Delayed

Timing Facility

External damage

Stg error
Bit

Description

16
18

Storage error uncorrected
Storage-key error uncorrected

Degradation
Warning
Validity
Bit

Description

Bit

Description

20

PSW bits 12·15

21
22
23
24
25

PSW masks and key
Program mask and condo code
Instruction address
Failing storage address
Region code

27
28
29
30
31
46
47

Floating·point registers
General registers
Control registers
CPU exten~ed logout
Storage logical
CPU Timer
Clock comparator

1-18

63

CODES FOR PROGRAM INTERRUPTION IX'BE')
Interruption

Program Interruption

Dec

Hex

1
2
3
4
5
6
7
8
9
10
11

0001
0002
0003
0004
0005
0006
0007
0008
0009
OOOA
0008

Interruption

Cause

Code

Program Interruption

Cause

Code

Operation

Privileged operation
Execute
Protection

Addressing
Specification

Data
Fixed-point overflow
Fixed-point divide

Decimal overflow
Decimal divide

Dec

Hex

12
13
14
15
16
17
18
19
24
26
27
64
12B

OOOC
0000
OOOE
OOOF
0010
0011
0012
0013
0018
001A
001B
0040

0080

Exponent overflow
Exponent underflow

Significance
Floating point divide

Segment translation*
Page translation*
Translation specification*
Special operation

Page access
Page state
Page translation
Monitor event
Program event

·Used only in /370 mode
CODES FOR EXTERNAL INTERRUPTlONS IX'86')
Interruption Code
(Hex)

External Interruption
Cause

Indication of
Concurrent Condition
by Bit Positions

0080
0040
0020
0010
0008
0004
0002

Interval timer
Interrupt key
External signal
External signal
External signal
External signal
External signal

9-15

0001
1004
1005

External signal 7
Clock comparator
CPU timer

8 and 10-15

8,9,11-15
8-10,12-15

2
3
4
5
6

8-11,13-15

8-12,14,15
8-13,15
8-14

CODES FOR INPUT/OUTPUT INTERRUPTIONS IX'BA')
Interruption Code
(Hex)

I nput/Output Interruption
Cause

Channel

OOdd
01 dd
02 dd
03dd
04 dd
05 dd
06dd

a

Channell

Channel
Channel
Channel
Channel
Channel

2

3
4

5
6

Note: d = device address

CODES FOR SUPERVISOR CALL INTERRUPTIONS IX'SA')
Supervisor Call Interruption
Cause
Instruction (OA)

Note: r = R 1 and R2 field of

SUPERVISOR CALL

CHANNEL COMMANDS
Standard Command Code Assignments (CCW bits 0-7) for I/O Operations

0000

tttt

1000
1100

Invalid
Sense
Transfer in Channel
Read backward

x = Bit

ignored

t

tttt 0100

=

tttt ttOl
tttt ttl0
tttt ttll
00000011

Modifier bit for specific type of I/O device

1-19

Write
Read
Control
Control No Operation

I

CHANNEL COMMANDS (••• Cont'd)
3210,3215 CONSOLES

Source: GA 24·3557

Write, No Carrier Return
Write, Auto Carrier Return

Read Inquiry

01
09
OA

04
OB

Sense
Audible Alarm

3505 CARD READER /3525 CARD PUNCH

Source' GA 21-9124

Binary

Command

Sense
Feed, Select Stacker
Read Only*

.Diagnostic Read
Read, Feed, Select Stacker*
Write RCE Format* t

0000
SS 1 0
1 1 DO
1 1 0 1
S S DO
000 1

o1

0 0
F 0 1 1
F 0 1 0
o0 1 0
F 0 1 0
0001

Hex

Bit Meanings

04

SS

02
11

Stacker

00
01
'10
Format Mode

o

Unformatted

1

Formatted

3505 only

Write OMR Format

00 1 1

0001

3 1

o

Data Mode

3525 only
Write, Feed, Select Stacker
Print Line*

5500
L L L L

!-EBCDIC
2-Card Image

0001
L 1 01

Line Position
5 Bit Binary Value

t Specral feature on 3505

*Special feature on 3525

3211 PR1NTER/3Bll CONTROL UNIT

Source' GA24-3543

After

Space 1 Line
Space 2 Lines
Space 3 Lines

OB

11
19

13
lB
83
BB
93
9B
A3
AB
B3
BB
C3
CB
03
DB
E3

Sense
Load UCSB

01
02
OC
04
F4
04
lB
BB
4B
07
OF
17
IF
27
2F
37
3F

Data Security Erase
Diagnostic Write Mode Set
Set Mode 1 17-track) t

09

Skip to Channel a

-

Skip to Channell
Skip to Channel 2

B9
91
99
Al
A9
Bl
B9
Cl
C9
01
09
El

Skip to
Skip to
Skip to
Skip to
Skip to
Skip to
Skip to
Skip to
Skip to
Skip to

Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel B
Channel 9
Channell 0
Channel 11
Channel 12

Immed.

Write

Fold

Unfold
Load FeB
Block Data Check
Allow Data Check
Read PLB
Read UCSB
Read FCB
Check Read
Diagnostic Write
Raise Cover
Diagnostic Gate

3B03/3420 MAGNETIC TAPE

50urce' GA32·0020

Write
Read Forward
Read Backward
Sense
Sense Reserve*
Sense Release*
Request Track in Error
Loop Write to Read
Set Diagnose
Rewind
Rewind Unload
Erase Gap
Write Tape Mark
Backspace Block
Backspace File
Forward Space Block
Forward Space File

Density

558

t

{

even

odd
BOO
even

{

97
OB

DC

Trans

Cmd

on

off

53
73
7B
63
6B

Parity

odd

l
O f fon
r
off
off
on
on
off
off

off

~ 011
on
off
on

93
B3
BB
A3
AB

Set Mode 2 19-track)
1600 bpi
800bpi

*Two-channel switch required

01
04
FB
43
23
63
73
7B
02
OA
12
06
05
6B
07

Write without spacing

t

SpeCial feature for NRZI operation

1·20

C3
CB

CHANNEL COMMANDS (••. Con,'d)
BB09 MAGNETIC TAPE
Command

Command Code

Write

01
02
07
OF
17
1F
27
2F
37
3F
97
B3
13
23
93
33
53
63
E3
BB
03
04
E4
A4

Read
Rewind
Rewind-Unload

Erase Gap
Write Tape Mark

Backspace Block
Backspace File
Forwardspace Block

Forwardspace File
Data Security Erase
Set Low Speed
Set Long Gap
Set Normal Gap

Set High Speed and Long Gap
Set High Speed and Normal Gap
Set Low Speed and Long Gap

Set Low Speed and Normal Gap
Set High Speed
ERP Loop Write-ta-Read
Control-No Op

Sense
Sense I/O
Read and Reset Buffered Log
DIRECT ACCESS DEVICES

Control

Source:
GA26-1592 for 3830/3330
GA26·3599, GA26·1606 for 2314,2319

Command

MTOff

MTon*

Orient Ie)

2B
13
07
OB
1B
OF
1F
23
17
27
53
73

B9

Home Address Equal
Identifier Equal
Identifier High
Identifier Equal or High
Key Equal
Key High
Key Equal or High
Key and Data Equal (d)
Key and Data High (d)
Key and Data Equal or High (d)

39
31
51

B9
Bl
Dl
F1
A9
C9
E9
AD
CD

Search Equal (d)
Search High (d)
Search High or Equal (d)
Set Status Modifier (d)
Set Status Modifier (d)
No Statt:s Modifier (d)

25
45
65
35
75
55

Recalibrate
Seek
Seek cylinder

Seek Head
Space Count
Set File Mask

Set Sector (a)
Restore (a)

Vary Sensing Ie)
Diagnostic load lal
Diagnostic Write (al
Search

Continue
Scan

I

• Code same as MT Off except as listed
a 3830/3330 and 2835/2305 orily

71
29
49
69
2D
4D
6D

Count
Nonzero

Nonzero
6
6
6
3 (al; nonzero (d)

1
1
Nonzero
1
1
512

ED
A5
C5
E5
B5
F5
D5

4
5

5
5
KL
KL
KL

)'"---

(incl. mask bytes)
in search argument

d 2314,2319 only
e Channel attachment and 2-channel switch
feature required; standard on 2314 with 2844

b 3B30/3330 only
c 2835/2305 only

1·21

CHANNEL COMMAND I •••Cont·d)
DIRECT ACCESS DEVICES I .•. Cont·d)
Command

Read

Home Address
Count
Record

a

Data

Key and Data

Count, Key and Data
IPL
Sector (al
Sense

Sense 1/0

Read. Reset Buffered Log (bl
Read Buffered Log Ie)
Device Release lei
Device Reserve (e)
Read Diagnostic Status 1 Cal

Write

Home Address
Record 0

Erase
Count, Key and Data

Special Count, Key and Data

Data

.

Code same as MT Off except as lIsted

c

3830/3330 and 2835/2305 only
3830/3330 only
2835/2305 only

Key and Data

MTOff

MTOn*

1A
12
16
06
OE
1E
02
22

9A
92
96
86
8E
9E

Count

5
8
}

Number of bytes
to be transferr~

1

04
A4
24
94
B4
44

24 tal; 6 Id)
24
128
24Ia);6Id)
24 la);6 Id)
160r512

19
15
11
10
01
05
00

8+KL+DL
8+KL+OL
8+KL=DL
DL
KL+DL

5
8+KL+DL or RO

2314,2319 only
e

Channel attachment and 2-channel switch

feature required; standard on 2314 with 2844

DIRECT ACCESS DEVICES 13310.3370) FBA MODE
Command
Control

No-Operation
Define Extent

Locate
Read

Read
Read IPL

Write

Se"nse

Diagnostic

Write

Testl!O
Sense 1/0
Sense
Read and "Reset Buffered Log
Read Device Characteristics
"Device Reserve
"Unconditional Reserve
·Device Release
Diagnostic Control
Diagnostic Sense

"These commands are executed as sense

MTOff
03
63
43
42
02
41
00
E4
04
A4
64
84
14
94
F3

C4

MTOn*

Count

HEXADECIMAL AND DECIMAL CONVERSION

From Hex: Locate each hex digit in its corresponding column position atm note the..decimal
eouivalents. Add these to obtain the decimal value.
.
From Dec:

Locate the largest decimal value in the table that will fit into the decimal number
to,be converted.
Note its hex equivalent and hex column position.
Find the decimal remainder.

I

Repeat the process on this and subsequent remainders.

Hexadecimal Columns

6

5
Oec Hex

Hex

0

4
Dec

0 0

0

0

0

256

1

16

1

1

B 192

2
3
4
5
6
7
8
9

512
768
1024
1280
1536
1792
2048
2304
2560
2816
3072
3328
3584
3840

2
3
4
5
6
7
8
9

32
48
64
80
96
112
128
144
160
176
192
208
224
240

2
3
4
5
6
7
8
9

2
3
4
5
6
7
8
9
10
11
12
13
14
15

1

65536

2
3
4
5
6
7
8
9

2
3
4
5
6
7
8
9

C
D

131072
196608
262144
327680
393216
458752
524288
589824
655360
720896
786432
851968

E 14680 064 E
F 15728640 F

917504

983040

E
F

0123

4567

A
B
C
D

12288
16384
20480
24576
28672
32768
36864
40960 A
45056 B
49152 C
53248 D
57344 E
61440 F

D

E
F

0

A
B
C
D

E
F

0123

Byte

POWERS OF 2

4567
Byte

POWERS OF 16
n

256
512
1024
2048
4096
8192
16384
32768
65536
131072
262144
524288
1048576
2097152
4194304
8388608

8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

16777216

A
B

C

4567

0123

Byte

2n

Dec

0

1

1046576

D

Dec Hex

0

2097152
3145728
4194304
5242880
6291 456
7340032
8388608
9437184
10485760
11534336
12582912
13631 488

B

1

Hex

0

1

A

Dec

4096

2
3
4
5
6
7
8
9

C

Dec Hex

0 0
1

A
B

2

3

Hex

16n

n

1
16
256
4096
65536
1 048576
16777216

268435456
4294976296
68719476736
1 099 511 627776
17592186044416
281 474976710 656
4 503 599 627 370 496
72 057 594 037 927 936
1152921504606846976

1-23

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

SENSE INFORMATION SUMMARY
1~17 : P"At!f

:ra"e Reader

Sense Byte

Designation

o

Bit 0 : command reject

1 : intervention reject
2 : bus-out check
3 ,4 : data check
5,-

6,7 : broken tape
1018 - Paper Tape Punch
Sense Byte

Designation

o

Bit 0 : command reject
1 : intervention required

2 : bus-out check
3 : equipment check

4 : data check
5:6:-

7:1287 - Optical Reader
Sense Byte

Designation
Bit a : command reject
1 : intervention required
2 : bus-out check
3 : equipment check
4: data check
5: overrun
6 : non-recovery
7 : keyboard correction (tape only)
Bit 0 : tape mode
1 : late stacker select
2 : no document found

3:4 : invalid operation
5:6:7 :1288 - Optical Reader
Sense Byte

Designation
Bit 0

1
2
3
4
5
6
7

command reject

intervention required
bus-out check
equipment check

data check
overrun
non-recovery

-

BitO 1 end-of-page
2 no document found

3 4 invalid operation

5 6 7 -

1-24

SENSE INFORMATION SUMMARY (•••• Cont'd)

1403 - Printer
Sense Byte

Designation
Bit 0 : command reject
1 : intervention required
2 : bus-out check.
3 : equipment check.
4 : data check
5 : parity check. lUes storage)

6:7 : channel 9
Not used
Bit 0 : chain interlock.
1 : forms check.
2 : coil protect check
3 : subscan ring check.
4 : chain buffer address register check.
5: 6 :any hammer on check

7 :Not used
Bit 0 : hammer reset failure check.
1 : no fire check.
2 : misfire check
3: print data buffer parity check
4 : check bit buffer parity check
5 : chain buffer parity check
6: buffer address register parity check
7 : clock check
Bit 0 : open hammer coil check

1-7 :1419-PCU-MICR

Sense Byte

Designation
Bit 0 : command reject
1 : intervention required
2 : bus-out check

3:4 : data check
5: overrun
6 ~ autoselect
7 :Bit 0:1 :2 : document under read head
3 : amount field valid
4 : process-control field valid
5 : account-number field valid
6 : transit field valid
7 : serial-number field valid
1419 - SCU - MICR

Designation
Bit 0 command reject
1 intervention required
2 bus-out check

3 -

4 5 late stacker select
6 autoselect
7 operator attention

1·25

I

SENSE INFORMATION SUMMARY (, , , ,Cont'd)

1442 - Card Read-Punch ICard Punch

Sense Byte

Designation

o

Bit 0 : command reject
1 : intervention required
2 : bus-out check
3 : equipment check

4 : data check

5! overrun
6:7 :1443 - Printer
Sense Byte

Desig~ation
~it

0 : command reject

1 : intervention required
2 : bus-out check
3 : equipment check

4: type bar

5: type-bar
6:-

.7'2260 - Display Station
Sense Byte

Designation
Bit 0 : command reject
1 : intervention required
2 : bus-out check
3 : equipment check
4,7 : -

2311 - Disk Storage

Sense Byte

Deisgnation
Bit 0 command reject
1 intervention required

2 bus-out check
3

equipment check

4
5
6
7

data check
overrun

track condition check
seek check

Bit 0 data check in count area
1 track overrun
2 e.nd of cylinder
3 invalid sequence
4 no record found
5 fileprote~
6

missing address marker

7 overflow incomplet.e

1-26

SENSE INFORMI>.TION SUMMI>.RY (.•.• Cont'd)

2311

Disk Storage (COl It'd)
Designation

Bit 0: unsafe

1 :2: serializer check

3: 4: ALU check

5: unselected file status
6: -

7: Bit 0: ready
1 : on line
2: unsafe
3: ~
4: on line
5 : end of cylinder

6: 7 : seek incomplete
Bit 0-7:Bit 0-7 : command in progress when overflow
incomplete occurs

2314/2319 - Direct Access Storage
Designation
Bit

a

command reject

1 intervention required
2 bus-out check
3

equipment check

4 data check
5 overrun
6 track condition check
7 seek check
Bit 0
1
2
3

data check in count area
track overrun
end of cylinder
invalid sequence
no record found

file protect
missing address marker
overflow incomplete
Bit 0 unsafe
1 2

SEADES check

3 4 ALU check

5 unselected status
6 7 Bit

a

busy
1 on line

2 unsafe
3
4
5
6
7

wr current sense

pack change
end of cylinder
multi-module select
seek incomplete

1·27

I

SENSE INFORMATION SUMMARY (•••• Cont'd)

2314/2319 - Disk Access Storage (Cant'd)
Designation
Bit 0: wrong length record (2314 with multiplex storage control feature only)
1 : pending status (2314 with multiplex

storage control feature only)

2 :3:4-7 : Module indentification

bits 4567
0000
0001
0010
0011
0100
0101
0110
0111
1000
1111

physical drive
--A-B

C

o

E
F
G
H
J

module not defined

Bit 0-7 : command in progress when overflow
incomplete occurs.
2400 - Magnetic Tape
Sense Byte

Designation
Bit 0
1
2
3

: command reject
: intervention required
: bus-out check
: equipment check;

4 : data check
5: overrun
6 : word count zero
7 : data converter check

Bit 0 : noise
'-2: 8'00' = not existent
8'01' = not ready
S',O' = ready and not rewinding
S'l,' '" ready and rewinding

3 : seven-track
4
5
6
7

:
:
:
:

at loadpoint
selected and write status
file protect
not capable

Bit 0-7 : contains the track-in-error indicator
bits that are set at the end of a read,
or read-backward command if a data
check has been encountered. Bits 6
and 7 on together indicate either more
than one error or no error found_
Bit 0

RIWVRC

1 LRCR
2 skew

3
4
5
6

CRC

skew register VRC
phase encoding
backward
7 C compare

Bit 0

echo check

1 rejectTU
read clock error
write clock error
delay counter
sequence indicator C
sequence indicator B
7 sequence indicator A

2

3
4
5
6

1·28

SENSE INFORMATION SUMMARY (.... Cont'd)
2501 - Card Reader

Sense Byte

Designation
Bit 0 : command reject

1 : intervention required
2 : bus-out check
3 : equipment check
4 : data check
5: overrun

2520 - Card Read-Punch/Card Punch
Designation

Bit 0 : command reject
1 : intervention required
2 : bus-out check
3: equipment check
4 : data check
5: overrun

2540 - Card Reader/Card Punch
Designation

Bit

a : command reject
1 : intervention required
2 : bus-out check
3 : equipment check

4: data check

5, 6 : unusual command

7, 2560 - Multifunction Card Machine
Designation

Bit 0 : command reject
1 : intervention required

2,3 : equipment check

4
5
6
7
Bit

:
:
:
:

data check
feed/Machine check
no card available
print operation in progress

a : cover interlock/punch pusher check
1
2
3
4
5
6
7

:
:
:
:
:
:
:

jam bar check
corner station check
call B to 9 feed check
print station feed check
punch station feed check
read station feed check
input station feed check

Location of individual card:
Bit 0: secondary select
1 ; card in punch station
2 : preprint SC7 exposed
3 : prepunch SC5 exposed
4 : prepunch SC4 exposed
5 : preread SC3 exposed
6 : preread SC2 exposed
7: input station SCl exposed

1·29

I

SENSE INFORMATION SUMMARY I•••• Cont'd)
2560 - Multifunction Card Machine L ... Cont'd)
Designation
Stacker Select Information:
Bit 0 : primary card 0
)
1 : binary value 4
)
2 : binary value 2
)
3 : binary value 1
)
4
5
6
7

: secondary card 1 )
: binary value 4
)
: binary value 2
)
: binary value 1
)

Stacker Select Information:
Bit 0 : primary (0)
)
secondary (1)
)
1 : binary value 4
)
2 : binary value 2
)
3 : binary value 1
4 : primary (0)
secondary (1)
5 : binary value 4
6 : binary value 2
7 : binary value 1

card at secondary
prepunch station

card at punch or
preprint station

card after print
station

Stacker Select Information:
Bit 0: primary (0)
)
secondary (1)
)
1:4
)

2,2

I

3,1

I

4 : primary (0)
secondary (1)
5 :4

card at primary
prepunch station

card at corner station

card in stacker pocket
(was just stacked)

6,2
7,1
Card column in which first (possibly only)
error was detected:
Bit 0: multi data cheek
1 : binary value 64
2 : binary value 32
3: binary value 16
4 : binary value 8
5 : binary value 4
6 : binary value 2
7 : binary value 1
2596 - Card Read-Punch
Sense Byte

Designation
Bit 0 : command reject
1 : intervention required
2 : bus-out check
3 : equipment check
4 : data check
5: overrun
6, -

7,2671 - Paper Tape Reader
Sense Byte

Designation
Bit 0
1
2
3
4
5

command reject
intervention required
bus-out cheek
equipment check
data check
-

6 7 -

1-30

SENSE INFORMATION SUMMARY I •••• Cont·d)
3203 - Printer
Sense Byte

Designation
Bit 0 :
1:
2:
3:

command reject
intervention required
equipment check
4: data check
5 : chain buffer parity check
6 : no channel found
7: channel 9

Bit 0-7 ; -

Bit 0
1
2
3
4
5
6

: interlock (chain gate open)
: form-check (jam)

: coil protect check
:
:
:
:

subsean ring check
chain buffer address register check
hammer unit shift check (model 1 only)
any hammer on. check
7 : device ready check

Bit 0:-

1 :2: 3 : carriage inhibit check
4: -

5: 6 : step check
7 : move check
Bit 0 :
1:
2:
3:
4 :
5 :
6 :
7 :

hammer reset failure check
no fire check
misfire check
print data buffer parity check
check bit buffer parity check
chain buffer parity check
buffer address register check
clock check

Bit 0 : open coil check

1·7: 3210/3215 - Console Printer Keyboard
Designation
Bit 0 : command reject
1 ; intervention required

2:3 : equipment check
4·7: PRTl (32034.3203·5.3211.3289)
Designation
Bit 0 command reject
1 intervention required
2 bus-out check
equipment check
data check
buffer parity check
load check
channel 9
Bit 0
1
2
3
4
5
6
7

command parity
print check
print quality
line position check
forms check
command suppress
mechanical motion
-

1·31

I

SENSE INFORMATION SUMMARY (0 0 0 0 Gont'd)
PRT1 (32034,3203·5, 3211, 3289) (Cont'd)

Designation

Bit 0 : carriage failed to move
1 : carriage sequence check
2: carriage stop
3 : platen failed to advance
4 : platen failed to retract
5: forms jam
6 : ribbon motion
7 : train overload
Bit 0 : UCSB parity
1 : PLB parity
2 : FeB parity
3 : coil protect
4 : hammer fire check
5: service aid
6 : UCSAR sync check
7 : PSE sync check
Bit 0·7 : information used by service personnel

Bit 0-7:3272 - (3270

Locall

Sense Byte

Designation

Bit 0: command reject
1 : intervention required
2 : bus out check
3 : equipment check

4 : data check
5: unit specify
6 : control check
7 : operation check
F8M (3310 and 3370) Disk Storage

Designation

Format

Bit 0: command reject
1 : intervention required
2 : bus out parity (not used)
3 : equipment check
4 : data check
5 : overrun
6: (unused)
7: (unused)

Bit 0 : permanent error
1 : (unused)
2: (unused)
3: (unused)
4: (unused)
5 : file protected
6 : write inhibited
7 : operation incomplete
Bit 0 : check data error
1: correctable
2: (unused)
3 : environmental data present
4: (unused)
5: (unused)
6: (unused)
7 : only logging required

3·6

physical address
Bit 0-3 : hex: format number
4-7 : hex: message code

8·23

only for diagnose information

1·32

any

6,4,1

SENSE INFORMATION SUMMARY (•••• Cont'dl

3330 - Disk Storage
Sense Byte

Designation
Bit 0 : command reject
1 : i.... tervention required
2 : bus-out check
3 : equipment check
4 : data check
5: overrun

I

6:7 :Bit 0 : permanent error
1 : inv.alid track format
2 : end of cylinder

3:4 : no record found
5 : file protected
6 : write inhibited
7 : operation incomplete

BitO:1 : correctable
2 :3 : environmental data present

4 :5: -

6:7 :_
Bit 0-7 : restart command
Bit 0-1 : storage control identification
2-7 : physical drive identification
bits 2 t07

physical drive

111000
110001
101010
100011
011100
010101
001110
000111

A
8
C

o

E
F
G
H

Bit 0-7 : identify the eight low-order bits of
the cylinder address in the most recent
seek argument
Bit 0: reserve
1 : cylinder number (high order bit of cylinder address)
2 : difference

3: 16
4: 8

5: 4
6: 2
7: 1

head number

Bit 0-3 : format type of remaining sense bytes (8-23)
4-7 : encoded error message

8-23

Meaning depends on format type

3340 - Disk Storage
Sense Byte

)

Designation
Bit 0 command reject
1 intervention required
2 bus-out check
3 equipment check
4 data check
5 overrun
6 track condition check
7 seek check

1·33

SENSE INFORMATION SUMMARYi •••• Cont'd)

3340 - Disk Storage

Sense Byte

Designation

1

Bit

a : permanent error
1 : invalid track format
2 : end of cylinder

3:4 : no record found

5 : file protected
6 : write inhibited
7 : operation incomplete
Bit 0 : RPS feature present
t : correctable
2 :3 : environmental data present

4:5 :-

6: data module size I 01 '" 35MB
7 : data module size ) 10::: 70MB
Bit 0-7 : reSJart command

4

Physical drive identification:
Bit 0: drive A
1: drive B
2: drive C
3: drive 0
4: drive E

5: drive F
6: drive G
7: drive H

Bit 0-7 : Identifies the eight low-order bits of the
cylinder .address in the most recent seek argument
Bit 0-2 : identifies the three high-order bits of the cylinderttddress

3:4:8 )
:

~~ ~

head number

7: 1 )
Bit 0-3 : format type of remaining sense bytes (8-23)
4-7: encoded error message

8-23

Meaning depends on format type

3344 - Direct Access Storage (3340 Model
Designation
Bit 0
1
2
3
4
5
6
7

command reject
intervention required
bus-out check
equipment check
data check
overrun
track condition check
seek check

Bit 0
1
2
3
4
5
6
7

permanent error
invalid track format
end of cylinder
no record found
file protected
write inhibited
operation incomplete

Bit 0 RPS feature present
1 correctable

2 3
4
5
6
7

environmental data present
Compatibility Mode /3344
HDA Size 3 Bit
HDA Size 2 Bit
HDA Size 1 Bit
1·34

SENSE INFORMATION SUMMARY (.••• Cant'd)
3344 - Direct Access Storage (Cant'd)
Designation
Bit 0-7 : restart command

4

Controller device address
Bit a : Controller Addr. Bit 2

i:lca::::~:I:~:~V~~: ~ddress
4:

5: evice Addr. Bit 4
6 : Device Addr. Bit 2
7 : Device Addr. Bit 1
Bit 0-7 : Identifies the eight low-order bits of the
cylinder address
Bit 0-3 : Identifies the four high-order bits of the
cylinder address

0: 1024
1: 512
2: 256
3: 2048
4: 8 )
5:4

) head number

6:2
7: 1

)
)

Bit 0-3 : format type of remaining sense bytes (8-231
4-7 : encoded error message

8-23

Meaning depends on format type

3350 - Direct AccesfStorage
Designation
Bit 0 : command reject
1 : intervention required
2 : channel bus out parity
3 : equipment check
4; overrun
5: not used
7: not used

Bit 0 : permanent error
1 : invalid track format
2 : end of cylinder
3: not used
4: no record found
5 : file protected
6 : write inhibited
7 : operation incomplete
Bit 0 : not used
1: correctable
2: not used
3 : environmentaT data present
4 : computibility mode
5: not used
6: not used
7 : not used
Bit 0-7 : restart command
Bit 0-7 : physicc:1 drive identification
Bit: physical drive
O:A

1: B

2:C
3:0

4:E
5:F
6:G
7:H

1·35

I

SENSE INFORMATION SUMMARY ( .... Cont'd)

3350 - Direct Access Storage (Cont'd)
Designation
Bit 0-7 : low order logical cylinder address
Bit: Value
0,128
1, 64
2, 32
3, 16
4, 8

5,
6,
7,
Bit 0-2 : Identifies the three high-order bits of
the cylinder address
Bit 0 : CE Cylinder
1 :3330-11 =512
3330 - 1 = 256
2:3330-11=256
3330- 1= 0

3,16 )
4, 8)
5: 4) Head number
6, 2)
7: 1 )
Bit 0-3 : FORMAT TYPE of remaining sense bytes (8-23)

8-23

Meaning depends on format type (see 3350 MLM)

3370 - Disk Storage
Sense Byte

Designation
Bit 0 : command reject
1 : intervention required
2 : bus out parity (not used)
3 : equipment check
4: data check
5: overrun
6: (unused)
7 : (unused)
8it 0: permanent error
1 : (unused)
2: (unused)
3: (unused)
4: (unused)
5 : file protected
6: write inhibited
7 : operation incomplete
8it 0: check data error
1 : correctable
2: (unused)
3 : environmental data present
4: (unused)
5: (unused)
6: (unused)
7 : only logging required

3-6

physical address
Bit 0-3 : hex: format number
4-7 : hex: message code

8-23

Only for diagnose Information

1-36

any

6,4,1

SENSE INFORMATION SUMMARY (••.• Cont'd)
3410/3411 - Magnetic Tape

Sense Byte

Designation
Bit 0 ; command reject
1 : intervention required
2 : bus-out check
3 : equipment check
4 : data check
5: overrun
6 : word count zero
7 ; data converter check
Bit 0: noise
1-2: B'OO' = non-existent
S'O" '" not ready
B'10' = ready and not busy
B'11' = ready and busy
3: seven track
4 : at load point
5: write status
6 : file protected
7 : not capable
Bit 0-7 : track in error bits
Bit 0: VRC
1 : multiple track error (PEl or LRC (NRZI)
2: skew
3: end data check (PEl or CRC (NRZI)
4 : envelope check (PE only)
5 : phase encoding
6: backward

7: Bit

a

tape unit positioning check
1 tape unit reject
2 end of tape

3 -

4 5 diagnostic track check
6 tape unit check
7 illegal command
Bit 0 new subsystem
2 write tape mark check
3 PE identification burst
4 PE compare
5 tachometer check
6 false end mark
7 RPQ
Bit 0 seven track
1 short gap mode
2 dual density
4-7 tape unit model
Bit 0 lamp check
1 left column check
2 right column check
3 ready reset
4 data security erase

5·7 Bit 0 1 feed through

2 3
4
5

./

end velocity check
no read-back data
start velocity check

6 -

7 -

1·37

I

SENSE INFORMATION SUMMARY (.•.• Cont'dl

3420/3803 - Magnetic Tape
Sense Byte

Designation
Bit

a : command reject
1 : intervention required
2 : bus-out check
3 : equipment check
4 : data check
5: overrun
6 : word count zero
7 : data converter check

Bit a : noise
1-2: B'OO' = non-existent
B'Ol' = not ready
B'10' = ready and not rewinding
B'11' = ready and rewinding
3 : seven track
4 : at load point
5: write status
6 : file protected
7 : not capable
Bit 0-7 : track in error bits
Bit 0
1
2
3

VRC
multiple track error (PEl or LPC (NRZI)
skew
end data check (PEl or CRC (NRZI)
envelope check (PE only)
phase encoding
backward
C-compare

Bit 0
1
2
3
4

ALU hardware error
reject tape unit
tape indicate
write trigger VRC
microprogram detected error

5

LWR

6 tape unit check
7

Bit 0
1
2
3
4
5
6
7

Bit 0
1
2
3
4-7
Bit

RPQ

new subsystem
new subsystem
write tape mark check
PE 10 burst check
start read check
partial record
excessive postable or tape mark
RPQ

seven track
write current failure
dual density
N RZI density
tape unit model

a

lamp failure
1 tape bottom left
2 tape bottom right
-3 reset key
4 data security erase
5 erase head
6 air bearing pressure
7 load failure

Bit 0
1
2
3
4
5
6
7

IBG drop while writing
feed through check
SDR counter
early begin readback check
early ending readback check
slow begin read back check
slow ending readback check
velocity retry/restart

1-38

SENSE' INFORMATION SUMMARY ( •••• Cont'd)

3420/3803 - Magnetic Tape (. .. Cont'd)

Bit 0: SOR counter
1 : velocity change during write
2-3 : SOA counter

4:-

5:6:7 : tape control reserved

10

Bit 0 : command status reject
1 :-

2 : control status reject
3 : no block on record readback check
4 : WTM not detected block

5 : tachometer start fail

6:7 : velacity check

11

Bit 0 : B bus parity error, ALU 1
1 :-

2: low ROS parity/low Ie/parity on branch instr.
3: high Ie/high RDS reg parity
4 : micro program detected hardware error
5 : D bus parity error, ALUl

6: 7 : branch condition error, ALU2

12

Bit 0 : B bus parity error, ALU 2

1 :.2
3
4
5

:
:
:
:

low ROS parity/low Ie/parity on branch ins!r.
high le/Be/high RDS reg parity
microprogram detected hardware error
D bus parity error, ALU 2

6: 7 : branch condition error, ALU 2

/

13

Bit 0·1 : tape control density
2·7 : tape control unique ID high

14

Bit 0·7 : tape control unique 10 low

15

Bit 0·7 : tape unit unique 10

16

Bit 0·7: tape unit unique 10

17

Bit 0.: two·channel switch
1·3: tape control device switch features
4·7 : EC level of tape control

18

Bit 0 : Power check/air flow
1·3 :4·7 : EC level of tape unit

19

Bit 0
1
2
3
4
5
6
7

:
:
:
:
:
:
:
:

20

Bit 0
1
2
3
4
5
6
7

: primed for device and
: primed for device and
: primed for device and
: primed for device and
: primed for device and
: primed for device and
: primed for device and
:.primed for device and

primed
primed
primed
primed
primed
primed
primed
primed

for device and tape unit 7
for device and tape unit 6
for device and tape unit 5
for device and tape unit 4
for device and tape unit 3
for device and tape unit 2
for device and tape unit 1
for device and tape unit 0

1·39

tape unit F
tape unit E
tape unit 0
tape unit C
tape unit B
tape unit A
tape unit 9
tape unit B

I

SENSE INFORMATION SUMMARY (•• , • Cont·d)

3420/3803 - Magnetic Tape ( .... Cont'd)
Sense Byte

Designation

21

Bit 0 : load button depressed
1 : left reel turning
2 : right reel turning
3 ; tape present
4 : reels loaded
5 : load rewind
6 : load complete

22

Bit 0-7 : FRU identifiers for tape control

23

Bit 0-7 : FRU identifiers for tape control

7 : load check

3504/3505/3525 - Card 1/0
Designation
Bit

a : command reject
1 : intervention required
2 : bus-out check
3 : equipment check

4: data check
5 :6: abnormal format reset
7 : permanent error key
Bit 0 : permanent error
1 : automatic retry
2 : motion malfunction
3 : retry after intervention complete
4·7: -

2-3

Used for diagnostic purposes only

3540 - Diskette
Sense Byte

Designation
Bit 0 : command reject
1 : intervention required
2 : bus-out check
3 : equipment check
4: data check
5·7 : Bit 0 : permanent error
1 : automatic retry
2 : motion malfunction
3 : retry after intervention complete
4 : special record transferred
5·7, Used for diagnostic purposes only
Bit 0-7 : cylinder address in binary
Bit 0-7 : head address, must be binary zero
Bit 0-7 : record address in binary

3881 - Optical Mark Reader
Sense Byte

Designation
Bit 0
1
2
3
4

command reject
intervention required
bus-out check
equipment check
-

5 6

unusual command sequence

7 -

1-40

SENSE INFORMATION SUMMARY I .•.• Cont'd)
3886 - OPtical (;naracter Reader
Designation
Bit 0 : command reject
1 ; intervention required
2 ; bus-out check
3 : equipment check

4:5: 6 : non-initialized
7 : Rep error
Bit 0:1 : mark check
2; invalid format
3: 4 ; incomplete scan
5: 6 : non-recovery
7 : outboard

5203 - Printer
Sense Byte

Designation
Bit 0: command reject
1 : intervention required

2: 3 : eQuipme~ check
4 : data check
5: chain buffer parity check
6 : no channel found
7 : channel 9

Bit 0-7 : Bit 0:
1:
2:
3:
4:
5:
6:
7 :

interlock (chain gate open)
forms check (jam)
coil protect check
subscan ring check
chain buffer address register check
hammer unit shift check
any-hammer-on check
thermal overload

Bit 0-7:Bit 0 : hammer reset failure check
1 : no fire check
2 : misfire check
3 : print data buffer parity check
4 : check bit buffer parity check
5: chain buffer parity check
6 : buffer address register check
7 : clock check
Bit 0 : open coil check
1-7: -

5424/5425 - Multifunction Card Unit
Designation
Bit 0
1
2
3
4
5
6

command reject
intervention required
bus-out check
equipment check
data check
no card available

7 -

'-41

I

SENSE INFORMATION SUMMARY ( .••• Cont'd)
5424/5425 - Multifunction Card Unit (. ... Cant'd)

Designation

Bit 0 : read check
1 : punch check

2:3 : print data check
4 : print clutch check
5 : hopper check
6 : feed check

7: Bit 0:-

1 :-'
2 : card in primary wait station
3 : card in secondary wait station

4 : NPRO allowed
5 : hopper cycle not complete

6: card in transport counter bit 2
7 : card in transport counter bit 1
Contains a hexadecimal Ilumber whose value can represent
feed checks and emitter checks in the 5425
Defines the card column group and tier where the error was
detected which caused the first read check or punch check of
a card cycle:
Bit 0 : multiple error
1-2 : S'OO' Tier 1,

S'01' Tier 2
B'10' Tier3
3-7: 8'00000' column group 1
column group 2

8'99991'
11111

B'11111' column group 32
Bit 0: D row miscompare
1 : Crow miscompare
2 : Brow miscompare
3 : A row miscompare
4 : 8 row miscompare
5 : 4 40w miscompare
6 : 2 row miscompare
7 : 1 row miscompare

6-10

Forms a table of the five most recent command strings
Bit 0: Secondary
1 : print four lines
2 : stacker select M2
3 : stacker select M3
4: punch
5 : feed command sample
6: print
7: read

8809 - Tape Unit

Sense Byte

Designation
Bit 0 command reject
1 intervention required

2 3
4
5
6

equipment check
data check
overrun
-

7 Bit 0
1
2
3
4
5
6
7

noise
tape unit status A
tape unit status B
at load point
writestatus
file protected
not capable

1·42

SENSE INFORMATION SUMMARY (•••• Cont'd)

8809 - Tape Unit (Cont'dl
Sense Byte

Designation
Bit 0-7 ; represent track in error pointers
Bit 0;
1:
2:
3;
4:
5:
6:
7:

128 EAP number
64 EAP number
32 EAP number
16 EAP number
8 ERP number
4 EAP number
2 ERP number
1 EAP number

BitO:1 :2 : tape indicate
3 : permanent error
4 : host detected error
5 ; loop write to read error
6; not used
7; not used
Bit 0;1 ;-

2 :3 : PE-I 0 burst check
4:5:6: 7 :-

Contains all zeros
Bit 0 : 8 format code
1 : 4 format code
2 ; 2 format code
3 : 1 format code
4 : Data security erase
5 :6: 7: -

8·31

Sense bytes 8-31 are only used for hardware diagnostics

DOC - Display Operator Console
Designation
Bit 0 command reject
1 intervention required

2 3 equipment check
4 5 -

6 7 operation check

1·43

I

CHAPTER II
DOS/vSE GENERAL INFORMATION

I

IPL CONTROL STATEMENTS

Operation

ADD

Remarks

Operand
CUU[ (k) I,device-type

(,SSI,S5SSI.ssssss}

The ADD command is used to define the
physical devices attached to the system.
Note: The X"notation is no longer required
but is still supported for compatibility
Indicates the channel and unit

number of the device to be add~.
Can be specified as either 5 Qr a

decimal number from 0 to 255:
5 indicates that the device can be
switched (that is, physically
attached to two adjacent channels).
The designated channel is the
lower of the two channels.
o to 255 indicates the priority of
a device that cannot be switched,
with 0 indicating the highest
priority. If k is not given. the
assumed priority is 255.

devicetype

Specifies the actual device
(2400T9. 1443, etc.). See device
type codes in Figure 1.

ss
ssss
ssssss

Device specifications (see ASSGN
Statement). If absent, the following values are assigned: CO for
g·track tapes (2400, 3410 series)
DO for 9-track tapes (3420 series)
60 for 8809 Magnetic Tape Unit
90 for 7·track tapes
00 for non-tapes
00,01,02, and 03 are invalid as
ss for magnetic tape.
ss is required for a 3284/3286/
3287 printer used as a hard·copy
device for a 3277 operator console. The required entry is 02.
ss specifies SADxxx (Set Address)
requirements for IBM 2702 lines:
00 for SADO
01 forSAD1
02 for SAD2
03 for SAD3
This information is not accepted
on the ASSGN statements.
ss is required for 1270, 1275,
1419, 1419P, and 1419S device
types. It specifies the external
interrupt bit associated with magnetic ink or optical character
readers. The settings 01 through
20 correspond to the external
interrupt code in low real storage
byte 87, bits 7 through 2 respectively. The corresponding external
lines to which the control units
are attached are as follows:
01 byte 87 bit 7
02 byte 87 bit 6
04 byte 87 bit 5
08 byte 87 bit 4
10 byte 87 bit 3
20 byte 87 bit 2
ThE! ss parameter specifies whether
or not the error correction feature
is present on an IBM 1018 Paper
Tape Punch with 2826 Control
Unit Modell.

11·01

IPL CONTROL STATEMENTS ( ...• Cant'd)

Operation

Operand

Remarks

ADD
(Cont'd)

DEF

ss can be:
00 no error correction feature
01 error correction feature
For the 3704 and the 3705, 5S is
required and must be specified as
one of the fallowing:
01 Type 1/4 channel adapter
02 Type 2/3 channel adapter
10 for 4300 ICA
For the 2703 of the Model 115 or
125,55, ssss, or ssssss is used to
specify the line mode setting for
a Start/Stop line or a BSe line.
The bit settings of the line mode
specification for each line involved
are explained in IBM System 1370
Model 115 Functional Characteristics, and in I BM System 1370
Model 125 Functional Characteristics, repectively.
The line mode setting is not accepted on the ASSGN statement. If a
one or two byte value is specified,
the specified value is right-justified
and the rest of the three bvtes is
filled with zeros.
SYSREC-cuu,SYSCAT- {cuUIUA} [,SYSDMP-cuu] I
The DEF command is used to assign SYSREC,
the logical device for the system recorder
and hard-copy files SYSCAT, the logical
device for the VSAM-E master catalog
SYSOMP, the logical device for the highspeed system dump.
SYSCAT=cuu Indicates the channel and
unit number of the physical device
to be assigned to SYSCAT.
SYSREC=cuu Indicates the channel and
unit number of the physical device
to be assigned to SYSREC.
SYSOMP=cuu Indicates the channel and
unit number of the physical device
assigned to SYSDMP. SYSDMP
can be assigned to any CKD or
FBA device. The assignment cannot be changed until the next IPL.

DEL

The DEL command is used to delete a device
from the PUB table.
Indicates the channel and unit
number of the device to be deleted.

DPD

[TYPE= NI F 1. UNIT=cuu,
CYL=nl BLK=n [,VOLlD=xxxxxxj

The OPO command, which is mandatory,
is used to define the pape data set.
The operands of the OPO command may be
given in any order.
TYPE=N TYPE=N is the default and indicates that the page data set need
not be formatted.
If TYPE=N is specified but the
page data set does not exist or the
extent limits have been changed,
TYPE=N is ignored and the page
data set is formatted during IPL.
TYPE=F Indicates that the page data set is
to be formatted during·IPL. Formatting during IPL is required if
part of the formatted extent has
been destroyed. The TYPE operand is ignored for FBA devices.

11-02

IPL CONTROL STATEMENTS I •.•• Cont'd)

Operation

Remarks

Operand

UNlT -cuu Specifies the channel and unit
number of the device tha t is to
contain the page data set.

DPD
Cont'd

CYL=n

Specifies, for eKD devices, the
sequential number of the cylinder,
relative to zero, where the page
data set is to begin (in decimal).

BLK=n

Specifies, for FBA devices, the
sequential number of the block,
relative to zero, where the page
data set is to begin (in decimal).

VOLID=xxxxxx Identifies the volume
serial number (one to six alpha·
betic or numeric characters) of
the disk pack that contains the
page data set (for label checking).
If this operand is omitted, the
volume serial number is not
checked.
SET

[DATE=value 1. CLOCK=value2)
I,ZONE' )EAST}/hh/mm)
\WEST

value 1

In one of the following formats:
mm/ddiyyor
mm: month (01·12)
dd, day
(01-311
yy: year
(00·99)

value 2

In the following format:
hh/rnm/ss,
(00·23)
hh: hours
mm: minutes (00·59)
ss: seconds
(00-59)

EAST

Specifies a geographical position
east of Greenwich.

WEST

Specifies a geographical position
west of Greenwich.

hhimm

A decimal value which indicates
the difference in hours and
minutes between local and Greenwich Mean Time.
hh ,0-23
mm: 0-59

Note Required statement. If any ADO or
DEL commands are required, they must
precede the SET command.
SVA

ISDL=nH,PSIZE-nKH,GETV1S-nK]

11-03

SDL-n

Specifies the decimal number of
entries in the system directory list
to be reserved for user phases and
non SVA-etigible 18M-supplied
phases, in addition to the phases
loaded automatically during IPL.
For a list of those phases that are
automatically loaded into the
SVA during IPL, refer to OOSNSE
System Generation. Do not specify entries for these phases, as
this is done by lPL. The maximum
number that can be specified is
963.

I

IPL CONTROL STATEMENTS (•••• Cont'd)
Operation

Operands

Remarks
PSIZE-nK Specifies the size of the area
within theSVAwhich is to be
reserved for user phases. n must
be a decimal number and a mult·
i"le of 2. The specified size sho'urd

be large enough for the user

phases and for a maintenance area
which is required when a phase in
the system core image library,
with a copy in the SVA, is replaced.
00 not specify space for the phases
loaded automatically into the SVA
during IPL. as IPL will reserve the
necessary space.
GETVIS"'nK Indicates the size of the additional system GETVIS area which
you can specify beyond the mini·
mum size allocated by the system.
n must be a decimal number and
a multiple of 2.
Note that SET. OPO, and OEF may be
entered at any time during IPL. ADD and
DEL must precede any DEf, OLA. OPD, or
SVA command!s). SVA must be the last
IPL command.

1I'()4

JOB CONTROL· AND ATTENTION ROUTINE COMMANDS

Job Control Overview
Type of Command or Statement

Operation

Job Identification

JOB

JCS

Valid for
AR

JCC

/&

/
User Identification

ID

File Definition

DLBL
EXTENT
TLBL

I

r
Pass Information to Operator
Pass Information to Program

DATE

LBLTYP
OPTION
OVEND
UPSI

Job Stream Control

BATCH
CANCEL
PAUSE
PRTY
START
STOP
TPBAL
UNBATCH

Setting System Parameters

ALLOC
ALLOCR
SET
SIZE
STDOPT

Note: Valid only

In

Note

a Foreground Partition

Name Operation

Operand

Remarks

Accepted
by

ALLOC

Fn~mK

LFn:=mKl

Indicates the number of
the foreground partition.

JCC
AR

Indicates the amount of
~torage to be allocated to
the specified foreground
partition. m must not be
smaller than 128.
ALLOCR

PARTITION-mK
l,PARTITIONomKI ...

partition Indicates the partition
(BG, Fl, F2, ... j to which
storage is to be allocated.
For compatibility reasons,
the partition specifications
8GR and FnR will also be
accepted.

JCC
AR

Indicates the amount of
storage to be allocated to
the specified partition.
m should be an even integer.
any uneven specification is
rounded up to the nearest
even integer. m may also
be zero.
ALTER

XXXXXX

Alters 1 to 16 bytes of virtual
storage. XXXXXX is the hex ad·
dress where alteration is to start.

11-05

AR

JOB CONTROL· AND ATTENTION ROUTINE COMMANDS I •••• Cont'd)
Name Ope-ration

[Ill

ASSGN

r }. ".,
I

Operand

r

Remarks

Accepted
by

I

For any device:

For remarks see end of this

UA
SYSxxx, IGN
(address-list)
SYSYVY
For disks: cuu

~
JCC

'--

,TEMP
[PERM]

{address-list}

SYSyyy
DISK
FBA
2311
SYSxxx, 2314
3330
333QB
3340
3340R
3350
Fordiskettes:

['TEMPJ
,PERM L VOL-volserno][.SHRj

I

(address-list)
SYSxxx, SYSyyy

CU

DISKETTE
3540

[TEMP] ['VOL=volserno]
,PERM

For tapes:

cuu

(address-list)

ASSGN
(Cant'd)

SYSyyy
TAPE
2400T7
SYSxxx,
2400T9
3410T7
3410T9
3420T7
3420T9
BB09
For printers:
cuu

[,OS
]
,ALT

(address-list)

For remarks see
end of this statement

SYSyyy
PRINTER
PRT 1
1403
SYSxxx, 1403U
1443
3203
3211
3BOO
3800B
3800C
3BOOBC
5203
5203U

[TEMP]
,PERM

11-06

[,TEMP]
,PERM

LVOL=volsernol

JOB CONTROL· AND ATTENTION ROUTINE COMMANDS (. ... Cant'd)

Name Operation

Operand

Remarks

Accepted
by

ASSGN
(Cont'd)

For card (read) punches: ' - - cuu

(address-list)
SYSyyy
PUNCH
1442N1
1442N2
252081
252082
SYSxxx, 252083
2540P
2560

[TEMP]
,PERM

[H1J
,H2

2596
3525P
3525RP
5424
5425
[H1]
,H2
For card readers:
cuu

(address-list)
SYSyyy
READER
1442Nl
2501
2520B1
SYSxxx, 2540R
2560

[H1]
,H2

[TEMP]
,PERM

2596
3504
3505
3525RP
5424
[H1]
5425
,H2

SYSxxx

can be SYSRDR, SYSIPT, SYSIN,
SYSPCH, SYSLST, SYSOUT,
SYSLOG, SYSLNK, SYSRL8,
SYSSLB, SYSCLB or
SYSOOO-SYS 240_
SYSCAT and SYSREC can only be
assigned by the DEF command
at IPL time_ For compatibility
reasons, an assignment for SYSREC
entered from SYSRDR is ignored
and processing continues;
if entered from SYSLOG, the
assignment is rejected.

cuu

c=channel number
uu=unit number

addresslist

a list of up to seven device addresses
in the form:
(cuu, _ . _ , cuu)

UA

unassign

IGN

unassign and ignore (invalid for
SYSCL8, SYSRDR, SYSIPT,
SYSIN)

SYSyyy

any system or programmer
logical unit.

deviceclass

READER, PRINTER, PUNCH,
TAPE, DISK, CKD, FBA, or
DISKETTE

devicetype

device code of any supported
device

11-07

I

JOB CONTROL· AND ATTENTION ROUTINE COMMANDS (... Cont'd)
Name Operation

I

Operand

ASSGN

Accepted

Remarks

by

density (magn. tape only)

X"

(Cont'd)

10
20
28
30
38
50
60
68
70
78
90
AD
AB
BO
B8
CO
CO
CO
C8
DO
DO
90

BPI

Parity Trans!. Conv.
feat
feat

200
200
200
200
200
556
556
556
556
556
800
800
800
800
800
800

odd

1600

1600
800
6250
6250
1600

even

odd
odd
odd
even

odd
odd
odd
even

odd
odd

off
off
on
off
on
off
off
on
off
on
off
off
on
off
on

on
off
off
off
off
on
off
off
off
off
on
off
off
off
off

single dens. 9 tr.
single dens. 9 tr.
dual
dens. 9 tr.
dual
dens. 9 tr.
single/dual dens. 9 tr.
dens. 9 tr.
dual
IBM 8809 STREAMING:
High speed and long gap

30

1600

IBM 8809 STREAMING,

50

1600

High speed and short gap
IBM B809 START STOP:
Low speed and long gap

60

1600

IBM B809 START STOP,
Low speed and short gap

ALT

specifies alternate tape unit.
(Invalid for SYSIPT}

Hl

specifies input hopper 1 for input
on 2560, 5424 or 5425;
If neither Hl nor H2 is specified,
Hl is assumed

H2

specifies input hopper 2 for input
on 2560, 5424 or 5425;
(invalid for programmers units)

PERM

the assignment is permanent

TEMP

the assignment is temporary

VOL=

volume serial number of the tape,
DISK or DISKETtE.

volserno

SHR

indicates the shared option for

disk devices
BATCH

CANCEL

[BG/FnJ

Start or continue processers

AR

{BG I Fn}CNODUMPI ,PARTDUMPI ,DUMP][,SYSDMPI,NOSYSDMPll
Cancels execution of current job in specified area

BG

Indicates that the background job
isto be canceled.

Fn

Indicates that the specified fore·
ground job is to be canceled.

NODUMP

Indicate the dump option which is
PARTDUMP to be in effect until end of job.
DUMP
The meaning of the keywords is the
NOSYSDMPsame as in the OPTION statement.

11-08

AR

JOB CONTROL· AND ATTEr.."TIC·': ROUTINE COMMANDS (. ••• Cont"d)
Name Operation

Operar.d

Remarks

~

Accepted
by

Indicates that the 1/0 request for
the specified device and the associated task is to be canceled.
Warning: Use only in emergency
cancel situations (if, for example.
11400 REQUEST CANCEL has

I

been issued), because you may also
cancel POWER/vS.

blank

[/II

CLOSE

~

SYSxxx

,cuu

SYSxxx

(.55]

.!JA

,IGN
,ALT ' .

Cancels execution of current job

JCC

for magnetic tape
SYSPCH
SYSLST

JCS
JCC

I

SYSOUT
SYSOOO-SYS240

•SYSyyy
for DASD (JCC only)
SYSIN
SYSRDR
SYSIPT
SYSPCH
SYSLST
CUU. 55.

/I

DATE

UA, IGN. ALT
Values as described in ASSGN
command.

mm/dd/yyor

mm

month (01-12)

dd/mm/yy

day

day
year

yy

/I

DLBL

filename. [file·IDJ, filename
[date), [codes].
[,DSF][,BUFSP=nj file-ID
{.CAT=filename]
I,BLKSIZE=nl

I.CISIZE=nJ

date
codes

101-311
100-991

JCS'

L...--,

I

One to seven alphameric characters,
JCS
the first of which must be alphabetic L
One to forty· four alphameric characters
(one to eight alphameric characters for
the 3540 diskette)
One to six characters (yy/ddd)
Two to four alphabetic characters (SD.
DA, DU, ISC, ISE, VSAMI

DSF

specifies that a data secured file is to be
created or processed
BUFSP=n specifies, for a VSAM file to be processed.
the number of bytes of vitual storage
(0-999999) to be allocated as bufferspace
CAT=filename specifies filename (1 to 7 alphameric
characters) of the DLBL statement for
the catalog owing this VSAM file.
BLKSIZE=n a number from 1 to 32,768 (only valid
for SAM files on 3350 and 3330-11)
CISIZE=n This operand permits specification of an
FBA control interval size for SAM and
DAM files or FBA devices in order to
improve space utilization on such
devices. A number from 1 to 32,768.

DSPLY
DUMP

)

Displays 16 bytes of virtual
storage

ADDRESS

S
BG
Fn
BGS
FnS
SVA

AR

The DUMP command allows the
operator to DUMP part or all
of the real and/or virtual address
area contents on a printer, tape,
.cuu( RUN] or disk device (CKD or FBA)
Note: There must be no blank
between the operands.

SVAS
BUFFER

addr,addr

5

ALL

11-09

c~

Same as above however, the
of the supervisor area are also dumped.

I

JOB CONTROL· AND ATTENTION ROUTINE COMMANDS ("""" Cont"d)
Name Operation

Remarks

Operand

Accepted
by

DUMP

BG

(Cont'd)

Fn

tThe contents of the specified partition
and itsassociatecl registers are dumped.

If a program is running in real mode in
the specified partition, only the real.
not the associated virtual partition, is
dumped. If a program is running in
virtual mode in the specified partition,
the virtual padtion is dumped, including any fixed pages. The areas acquired
through GETVIS in the partition are
also dumped.

BGS

FnS

Same as if BG or Fn was specified;

however, the contents of the supervisor
area are also dumped.

SVA

The contents of theSVA are dumped.

SVAS The contents of the SVA and of the

supervisor are dumped.
BUFFER The contents of the SDAID buffer

are dumped on tape or disk. This
operand is rejected in case of output
to the printer.
address,address Specifies storage are between
the two hexadecimal addresses and
associated registers.
Specifies the device on which the output is to be written.
Specifies that the system is to continue
to run during DUMP. command execution.
ALL

The contents of the supervisor, the
SVA, and all partitions are dumped.

cuu

c=O-6
uu=OO-FEIO-2541 in hex

JCC

c=O·6

JCC

,.....DVCDN
DVCUP

uu=OQ·FE(O·254) in hex

(ill

END or
ENTER

blank

End of SYSLOG communications
END for the 3210 and 3215 printer
keyboards
ENTER for DOC

EXEC

{ [[PGM=] progname][,REALH,SIZE=siZe]]}
PROC=procname LOV]
.

I

JCC
AR

JCC
JCS

alPham~

PGM-progname one to eight
characters. Used only if the program is
in the core image library
REAL The respective program is to be
executed real mode

in

SIZE=size can be nK. AUTO. or (AUTO.nK)
nK: size of"area required
AUTO: take program size
(AUTO,nKI: take program size plus nK
PROC=procname Name of cataloged procedure to be retrieved. One to eight alphameric characters, the first of which
must be alphabetic
OV

11·10

Indicates that overwrite statements
follow EXEC statement

JOB CONTROL· AND ATTENTION ROUTINE COMMANDS (•••• Cont'd)
Name Operation

Remarks

Operand

Accepted
by

II

EXTENT

symbolic unit: Six alphameric

[symbolic-unit].

characters

[serial-number],{type].

JCS

serial number: One to six alphameric

[sequence-number],

[relative-track I block],
[number-of-tracks I blocks] , type:

characters
One numeric character

sequence number: One to three nume~

[split-tylinder-trackl

characters

relative track block: One to five numeric
characters (CKD·DEVICES)

number of trackslblocks: One to five
numeric characters leKD-DEVICES}
split cylinder track: One or two numeric

characters

Causes the a~ignments for the
specified foreground partition!s)
to remain in affect until the end

;---

JCC

HOLD

Fn [,Fnl ••.

IGNORE

blank

Ignore abnormal condition

AR
JCC

JOB

jobname {accounting
informationl

jobname: One to eight alphameric
characters

JCS

of the next job

/I

accounting information: One to sixteen characters

/I

LBLTYP

LFCB

[/II

LISTIO

TAPE Used when tape files requiring label information, are
to be processed and no nonsequential disk files are to
be processed

{TAPE" IInnll}
NSD (nn)

cuu, phasename
{,FORMS=xxxx]
I.LPI=n][.NULMSGI

ASSGN
SYS
PROG
Fn
ALL
SYSxxx
UNITS
DOWN
UA

(nn)

Optional and is present only
for future expansion
(ignored by job control)

NSD

Nonsequential disk files are
to be processed

(nn)

Largest number of extents
per single file

JCS

Causes the FCB of printer
cuu to be loaded

AR

Causes listing of 1/0 assignments
on SYSLST for JCS and SYSLOG
forJCC

JCS
JCC

cuu

BG

)

LOG

blank

Causes logging of job control
statements on SYSLOG

Jct
AR

LUCB

cuu, phasename
[,FOLD][.NOCHKI
(,TRAIN=xxxxxxl
[.NULMSGI

Causes the UCB of printer
cuu to be loaded

AR

MAP

blank

Causes a map of area in real and
virtual storage to appear on
SYSLOG

JCC
AR

11·11

I

JOB CONTROl- AND ATTENTION ROUTINE COMMANDS ( ____ Cont-d)
Operand

Name Operation

Accepted
by

Remarks

AR

MODE

r

CR
CE_ cut

I_XX_VI~

,0 [,xx,y]

_N

R

.

~rr{{~}] {[ HH}]

,-",-l

Changes the mode of operation.
changes the EFL threshold values
and gives status information.

Note: When HI R or ECC is speci·
fied. at least one of the optional
operands within these braces must
be selected. TH is inly valid for
the Model 145 when ECC, C is
specified with the MODE command.

MSG
I11I

MTC

{BG I Fn}

opcede, {SYSXXX}

Transfers control to message
routine

AR

opcode BSF, BSR, DSE, ERG.

JCS
JCC

FSF, FSR, REW, RUN,
orWTM

cuu
[,nnJ

SYSxxx Any logical unit

NEWVOl

[BG I Fn][,ignore1

cuu

Specifies the channel and
unit number (in hex)

nn

dec. number 101-991

,

Indicates that a new volume has

AR

been mounted for the specified
partition

NOlOG

II

OPTION

blank
option
[,option) ...

statements on SYSLOG

JCC
AR

option: can be any of. the following

JCS

Suppresses logging of job control

lOG

Log control statements on

.. SYSlST
NOLOG Suppress LOG option
DUMP Dumps the registers, supervisor area, partition, the
used part of the system
GETVIS area, and the SVA
phase in error if the error
occured in the SVA. The
dump will be recorded on
SYSLST. if assigned, in the
case of an abnormal program
end (such as program check).
PARTDUMP Dump registers, selected supervisor control blocks
and temporary real or
virtual partition on SYSLST
in case of abnormal program
end.
NODUMP Suppress DUMP or
PARTDUMP option

LINK Write output of language
translator on SYSLNK for
linkage editing
NOLINK Suppress LINK option

11-12

JOB CONTROL· AND ATTENTION ROUTINE COMMANDS ( .•.• Cont'd)

Name Operation

Operand

Remarks

Accepted
by

DECK Output object module on

OPTIOr-!

SYSPCH

(Cant'd)

NODECK Suppress DECK option
EOECK Punch source macro defini-

tions on SYSPCH
NQEDECK Suppress EOECK
option

ALIGN Align constants and date

areas on boundaries

NOAUGN Suppress ALIGN
option
LIST

Output listing of source
module on SYSLST

NOLIST Suppress LIST option
Ll5TX Output of object module
on

SYM

SYSLST

Produce symbol table or
data division map on

SYSLST
NOSYM Suppress SYM option

XREF Output symbolic crossreference list on SYLST
SXREF The assembler writes the
simbolic cross-reference
list on SYSLST; printing
of all unreferenced labels
is suppressed
NOXREF Suppress XREF or
SXAEF option

ERRS Output listing of all errors
in soUrce program on

SYSLST
NOERRS Suppress ERRS option
RLD

Output listing of RLD
information on SYSLST

NORLD Suppress RLD option
ACANCEL Cancel job if attempt
to assign device is unsuccessful
NOACANCEL Await operator
action if a device cannot
be assigned
CATAL Catalog program or
phase in core image library
after completion of
Linkage Editor run
STDLABEL Causes all DASD or
tape labels to be written
on the standard label track
USRLABEL Causes all DASD or
tape labels to be written
on the user label track
PARSTD Causes all DASD or tape
labels to be written on
the partition standard
label track

I

J

4BC

60C
11-13

48 character set
60 - character set

I

JOB CONTROL- ANO ATTENTION ROUTINE COMMANDS ( ____ Cont'd)

Name Operation

Operand

Remarks

Accepted
by

SYSPARM=string specifies a value
for assembler system variable
symbol and SYSPARM

OPTION
(Cont'd)

SUBLIB=OF causes assembler and

ESERV program to retrieve
nonedited macros and copybooks from D-sublibrary
and edited macros from the
F-sublibrary of the source
statement library

SUBLIB:::AE Causesassembler
and ESERV program to

retrieve nonedited macros
from the E-sublibrary and
editdd macros'from the
E-sublibrary of the source
statement library
ONLINE Causes fetching of all
programs for execution from

the system core image
library, although a private
core image library is assigned
SYSDMP Indicates that dumps are
to be written on SVSDMP

NOSYSDMP Indicates that dumps
are to be written on
SYSLST

[II[

OVENI)'

[comments]

Indicates end of overwrite statements for a cataloged procedure

[Ill

PAUSE

[comments1

Causes pause immediately after pro- JCS
cessing this statement. PAUSE state- JCe
ment is always printed on SYSlOG.
If no 3210, 3215 or DOC is available
the statement is ignored.

PAUSE

K~~} I.EOJ~

JCS
Jec

Causes pause at end of current job
step or at end of job

AR

Pn=BG, Fl, F2, F30r F4. Allows
the operator to display or change
the priority of partitions

AR

Resets I/O device assignments

JCS
JCe

where n=1,2,3 or 4
PRTY

[Ill

RESET

blank
partition [,partition1

r

s

PROG
ALL

}
SYSxxx

II

ROD

blank

Causes all SOR counters for all nonteleprocessing devices on the recorder file on SYSREC to be updated
from the SDR counters in main
storage

JCe

RSTRT

SYSxxx,nnnn[,filename]

SYSxxx Symbolic unit name of
the"device on which the
checkpoint records are
stored. Can be SYSOOOSYSnnn

JCS

four character identification
of the checkpoint record
to be used for restart
filename symbolic name of the
DASD file to be used for
restarting

11-14

JOB CONTROL-AND ATTENTION

ROUTI~,jE

Name Operation

COMMANDS

I.... Cont'd)
Accepted

Remarks

by
SET

[.UPSI=value 11
[,L1NECT=value 2)
[,RCLST=value 3)
[,RCPCH=value 4)
LRF=value 5)
[,DATE=value 6]
[.HC=value 7]

value 1: 0, 1 or X
value 2: standard number of lines
for output on each page of SYSLST
value 3: decimal number indicating
~m number of SYSLST disk
records remaining to be written
before operator warning
value 4 decimal number indicating minimum number of
SYSPCH disk records
remaining to be written
before operator warning
value 5

JCC

I

defines to the system the
status of the recorder file
IIJSYSREC] on SYSREC -

used by the RMSR feature
RF={YES
}-file exists
CREATE -create file
value 6

in one of the following
formats:
mm/dd/yy or dd/mm/yy
mm: month (01-12)
dd: day

yy: year
value 7

(01·311
(00-99)

HCJ~~S L
LCREATEJ
YES: hard-copy file exists
NO: no recording performed
CREATE: create a hard-copy
file

This operand makes it possible to ADD
phase names to the system directory
list and, optionally, to load phases .
into theSVA

[,SDL]

SETDF

AR

{3800 leuu} ['BURST-[YINII

[,CHARS=[table name)]
[,FCB=[fcb name)]
[,FLASH=[over[ay namel)
[,FORMS=[forms name)]
[.LlST]
[,MODIFY=[copymod namell
[,RESET]
SETMOD

The SETMOD command, valid for
the 3401 magnetic tape unit

euu [,MODE]

Specifies the channel and
unit number of the 3401
mode Can be one of the following:
90 or HL - high speed and
long gap (streaming)
30 or HS - high speed and
short gap (streaming)
50 or LL -low speed and
long gap (start-stop)
60 or LS -low speed and
short gap (start-stop)
If the mode operand is omitted, the
default mode setting of 60 (or LSI
is assumed_

)

11·15

AR

JOB CONTROL- AND ATTENTION ROUTINE COMMANDS {.... Cont'dl
Operand

Name Operation

SETPRT

Accepted
by

Remarks

SYSxxx{,BURST-{NIYI'il
[-CHARS= {table name)'

JC
}]

(table name, .•. )

{,COPIES=numbe,H,DCHK={BI U}I
[DEBUG=
-

F~:~}]
DUMP
TRAC

I,DFLT={NIY}I
[FCB= feb namel' }]
(fcb name, VI

{',VI
[,FLASH= ~ove"ay namel'l {,countl
}]
(overlay name[~Count[255}11

('''({countJ255 )
I ,FORMS={focms namel'}HINIT={NIY}1

[,MODIFV",,{copvmOd name]*

}]

(copymod name, table name)

I,SEP=OII.TRC={NIY}1
SIZE

partition=mK [,partition:::mKj ...

JCC, AR

START

{~~}

Same as BATCH

AR

STDOPT

option [,option] ...

The STDOPT command can be

JCC
JCS

used to reset in all partitions the
permanent job control options
which were established at system
initialization.
The command can only be given
in the background partition.

The options, which can appear in
any order, are as follows (the first
keyword is always the default

value):
ALIGN

wino
Specifies if the assembler
is to align data on halfc
word or fultword boundaries, according to the
type of instruction used.
A supervisor must be
assembled with ALlGN=
YES to avoid hard waits.

ACANCEL No/yes
Specifies if job control is
to cancel jobs automatica11y (ACANC.EL=YES) or
to wait for operator inter·
vention {ACANCEL=NOI
after an unsuccessful attempt to assign a device,
(Note that the LOG command suppresses the
ACANCEL function),
CHARSET 4BCI60C.
Specifies either the 48·
or eO-character set for
PL/I translator input on
SYSIPT
DATE

11-16

MDYIDMY
Specifies the format of
the date: MDY=month/
date/year.
DMY=day/month/year,

JOB CONTROL· AND ATTENTlml ROUTINE COMMANDS I ••.• Conl'dl

Name Operation

Accepted

Remarks

Operand

by
DECK

STDOPT
(Cant'd)

YESINO

Specifies if language translators are to produce

object modules on SYSPCH
DUMP

YESINOIPART

Specifies if a dump of the

registers and virtual
storage is to be written on

SYSLST in case of an abnormal program end.
PART specifies that a
dump of the supervisor
control blocks and the

virtual storage of the partition is to be written on
SYSLST
EDECK

NOIYES
Spec ifies if the assembler

is to create and punch
edited macros on SYSPCH
ERRS

YESINO
Specifies if compilers are
to summarize all errors in
source programs on

SYSLST. Assembler and
PUt always assume
ERRS=YES.
LINES

561nn
specifies the number of

lines per page on SYSLST.
The minimum is 3D, the
maximum is 99. (If job
control is running in
another partition at the
same time, the new value
becomes effective in that
partition when the next
page is started.)

)

11·17

LIST

YESINO
Specifies if language translators are to write source
module listings and diagnostics on SYSLST.

LlSTX

NOIYES
Specifies if compilers are
to write hexadecimal
object module listings on
SYSLST.

LOG

YESINO
Specifies if all job control
statements are to be listed
on SYSLST. Invalid statements and commands will
be listed on SYSLST if it
is assigned.

RLD

NOIYES
Specifies if the relocation
dictionary information is
to be printed.

JOB CONTROL- AND ATTENTION ROUTINE COMMANDS 1_ .•. Cont'dl

Name Operation

Operand

Accepted

Remarks

by

STDOPT
(Cont'd)

SXREF

NOIYES
Specifies whether the
assembler is to print short
cross-reference lists on
SYSLST. The printing of
unreferenced labels is
suppressed instead.
SXREF",YES forces
XREF=NO.

SYM

NOIYES
SYM",YES specifies that
the PUI compiler is to pro
duce a symbol and offset
table listing on SYSLST.
or that American National
Standard Cobol is to produce a data division glos-

sary.
SYSDMP NOIYES
YES indicates that dumps
are to be written on
SYSOMP and NO that
they are to be written on
SY5LST.

II

TERM

NOIYES
Specifies whether messages
from a compiler are to be
displayed on SYSLOG.

XREF

YESINO
XREF"'YES specifies that
the assembler is to write
symbolic cross·reference
lists on SYSLST. or that
American National Standard COBOL is to produce
a cross-reference listing.
XREF=YES forces
SXREF=NO.

STOP

blank

Stops batch ed-job progr. processing

JCC

TLBL

filename. ('file-IO'l,
(date}, [file serial
number}, [volumese.·
quence numbed.
[file sequence number1,
[generation number),
[version number1

filename: One to seven alphameric
characters, the first of
which must be alphabetic

JCS

Note: For ASCII file
processing the fourth
and fifth operands are
called set identifier
and file section number,
respectively

'file-IO':

One to seventeen alphameric characters

date:

One to six characters
Iyy/ddd or d-::

FJELD

NAME AND LENGTH

1

LABEL IDENTIFIER
3 byte.

a Volume Lobel.

VOLUME LABEL NR
I byte

volume label within a group of volume

~-2

9

B

7

6
Reserved

DESCRIPTION

FIELD

Must contain VOL to indicate that this is

NAME AND LEN GTH

For DASD only. The first 5 bytes contain'
the starting address(CCHHR)of the vrOC.
The last 5 bytes are blank .For tape files
this field is not used and should be recorded as blanks.

RESERVED
10 byte>
RESERVED
10 byte>
OWNER NAME AND
ADDRESS CODE
10 byte.

Reserved

Indicates the relative position (J-8) of a

labels.

VOLUME SERIAL NR
6 byte.

A unique identification code which is assigned to a volume when it enters an installation. This code may also appear on

6

7

of the volume for
visual identification. It is normally a numeric field 000001 to 999999,however
any or all of the 6 bytes may be alphanerico
the external surface

4

VOLUME SECURITY
I byte
(OS/VS only)

Indicates security status of the volume:
0: no further identification for each file of
the volume is required.
1: Further identification for each file of
the volume is required before processing.

DESCRIPTION

DATA FILE DIRECTORY
10 bytes

RESERVED

Reserved
Indicates a specific customer, installation
and/or system to which the volume belongs. This field may be a standardized
code,name,address etc.{OS/VS only).
Reserved

29 bytes
Note:

-

All reserved fields should contain blanks to facilitate their use in
the future. Any information appearing in these fielck at the present
time will be ignored by the DOS/VS and OS/VS programs.

STANDARD VOLUME LABEL, TAPE OR DASD ( •••• Cant'd)

ANSI Standard Volume Lobel format and contents for ASCII tape.

Field r-Volume" Label numb,

45

23

Volume

Serial
Number

'"

5 !:!

.,!:j

~!I!

NAME AND LENGTH
LABEL IDENTIFIER
3 bytes
VOLUME LABEL NR
1 byte

VOLUME SERIAL NR
6 bytes

ACCESSIBILITY
1 byte

DESCRIPTION
Must contain VOL to indicate that this

a Volume Label.
labels are present (indicated by an entry other than 1 in this fiold)they are
ignored.
Uniquely identifies this volume.Must
consist of 6 bytes and may be any

FIELD

NAME AND LENGTH
RESERVED
6 bytes

Reserved for future use as required by
American National Standards Institute,
Inc. Should contain spaceJ.

OWNER NAME AND
IDENTIFICATION
CODE
14 byte.

Indicates a spec1flc customer,installotion
and lor system to which the volume belongs.This field may be"a standardized
code,name,addreJs etc.

RESERVED

Reserved for future use as required by
the American National Standards hlStitute, Inc. Should contain spaces.

28 bytes

Indicates accessibility protection:

Space: No accessibility protection.

Reserved for future use as required by
the American National Standards Instistute, Inc. Should contain spaces.

I

6

Must be 1. If any other standard volume

Nonspace: Accessibility protection.

RESERVED

~

Lobel Standard Level

character exept a quote(!).

20 bytes

al

[ Accessibllit

I

4

Reserved

Owner name· .nd

Identification code

FIELD

~2

7

6
Reserved

Reserved

LABEL STANDARD
LEVEL
1 byte

DESCRIPTION

Indicates whether this volume observes
the American National Standards:
Dec. 1: Volume observes the standards
(1 is also the default value)
Space: Volume does not observe the
standards, but it follows an agreed femat.

,IBM Standard Tope File Label Format and Contents

STANDARD MAGNETIC TAPE FILE LABEL

File Securit

rFleld

l>1l12

..... Mi"

FILE SERIAL NR
6 bytes,EBCDIC
alphameric

4

VOLUME SEQUENCE
NR,2 bytes, binary
CREATION DATE
3 bytes,discontinuous
binary

Indicates the order of a volume relative
to the first volume on which the data

9

file resides.

10

and DO the day of the yeor(I-366).
EXPIRATION DATE
3 bytes,discontinous
binary

SPARE
1 byte

Reserved

SYSTEM CODE
13 bytes

Uniquely identifies the programming system.
The character codes that can be used in this
field are limited to EBCDIC characters. On
input,IOCS ignores thisfield.On output,
IOCS writes the infonnation supplied in DLBL

RESERVED
7 bytes

Reserved

FILE TYPE

The contents of this field uniquely identify
the type of data file:
Hex 4000: Consecutive organization
Hex 2000: Direct access organization
Hex 8000: Indexed sequential organization
Hex 0200: Library organization
Hex 0000: Organization not defined In lhe
.
file label

Uniquely identifies a file/volume relationship.1t is identical to the Volume
Serial Number of the first or only volume of a multivolume file.

Indicates the year and the dar of the
year the file was created. It is of the form
YDD,where Y signifies the year(O-99)
Indicates the year and the day of the
year the file may be deleted. The form
of this field is the same as that offield 5.

Used by OS/VS

1 byte,binary

numbers are treated differently by OS!VS.
The remaining fields comprise the DATA portion of the file label:

DESCRIPTION
Contains a count of the number of extents
for this file on this volume. If user labels are
'JSed,the count does not include the user
label track. This f.ield is maintained by the

2 bytes

Hex OOO&. VSAM

"'--.

,~

\,.

STANDARD DASD FILE LAIIEL , FORMAT I (•••• Cont'd)
DESCRIPTION

FIELD

NAME AND LENGTH

11

RECORD FORMAT
1 byte

Used by OS/VS

12

OPTION CODES

Bits within this field indicate various options

FIELD

NAME AND LENGTH

Bit 1,2,4,6,7: 0 lor DOS/VS-Used by
OS/VS.
Bit 3: If on, data set "security is invoked.
Bit 5: Used by DOS/VS ond OS/VS.

used in building the file:
Bit 0: 0
Bit 1; Reserved

18

Bit 2: Master index presont (ISAM)
Bit 3: Independent overflow present (lSAM)

Bit 4: Cylinder overflow present (ISAM)
Bit 5: Reserved

i '13

Indicates the block length for fixed length

records or maximum block size for variable

length blocks.
14

RECORD LENGTH
2 bytes,binary

Indi cates the record length for fixed length
-records or the maximum record length for
variable length recorch.

1 byte, binary

Indicates the length of the key portion of
of the data records in the fi Ie.

16

KEY LOCATION
2 bytes, binary

Indicates the high order position of the data
records

17

DATA SET
INDICATORS
1 byte

following:
Bit 0: If on, indicates that this is the last

15

19

KEY LENGTH

SECONDARY
ALLOCATION
4 bytes, binary

Used by OS/VS

LAST RECORD POINTER Used by OS/VS
5 bytes,discontinuous
binary

Bit 6: Delete record (OS/VS)
Bit 7: Reorganize (OS/VS)
BLOCK LENGTH
2 bytes, binary

DESCRIPTION
volume on which this file normally resides.

20
21

SPARE
2 bytes
EXTENT TYPE
INDICATOR
1 byte

Reserved
Indicates the type of extent with which the
following fields are associated:

HEX CODE
00: Next three fields"do not indicate any
extent.

Of: -Data area

(SAM. DAM). Pr.ime data
area (lSAM). Data Space (VSAM).

Bits within this field are used to indicate the

-

02: Overflow area of an indexed sequential file.
04: Cylinder index or master index area of
an indexed sequential file.
40: User label track area.
8D: Shared cylinder indicator.

STANDARD DASD FILE LABEL, FORMAT 1 ( •••• Cont'd)
FIELD

NAME AND LENGTH

22

EXTENT SEQUENCE NR Indicates the extent sequence in a
1 byte, binary
multi-extent file.

DESCRIPTION

23

LOWER LIMIT
binary

The cylinder and the track address
specifying the starting point(lower
limit) of this extent component. This

25..28

ADDITIONAL EXTENT

These fields have the same format as

10 bytes

the fields 21-24 above.

29032

ADDITIONAL EXTENT

These fields have the same format as

4 bytes,discontinuous

fi~ld

~i 33

has the format CCHH.

10 bytes

the fields 21-24 above.

POINTER TO NEXT
FILE LABEL WITHIN
THIS LABEL SET

The address (format CCHHR) of a continuation label if needed to further describe

5 bytes,discontinuous
binary

the file. If field 10 indicates Indexed
Sequential organization,this field points
to a Format 2 file label within this label
set.Otherwise,it points to a Format 3 file
label/and then only if the file contains
more than three extent segments. This field
contains all binary zeros if no additional
file label is pointed to.

FIELD

NAME AND LENGTH

24

UPPER LIMIT
4 bytes

DESCRIPTION
The cylinder and the track address
specifying the ending point (upper
limit) of this extent component.
This field has the format cchh.

'---~

STANDARD DASD FILE LABEL, FORMAT 2

last 2d Leve 1 Master Index Entry Address

I

Field

K

K2
1 ~ddress of

K3

K4
Address of

3d Level Ma,'ee Index En'ey Addee"

Mas ter Index

'"

r rIIrr=-

~

Highest "R" on Overflow Track

"R" of la" Da'a Recoed on ,hoeed Teock

DI6 D
D4 D5 D DDD DDII Dl2 DI3 DI4
78
15 Prime 1)
Record

Spare

Count

~IN

" ;!

last~~bc~rT;;cl~ }i1~1rl~der Overflow
Highest "R" on high Level Index Track
Highest "R" on Prime Track

K6 DDD
I 3

K5

3d Level
Master Index

2d Level

N

L~"

,ndicatorm

High Level Index Development
Index leve Is
Format Indicator

;(I;:l

II

~~

[Number Tracks for Highest Level Index
Number bytes for Highest Level Index

9 Ueletion count
Non first Overflow Reference Count
Bytes remaining on Overflow Trock----,

D18

DI9

D20

Address of

Address of

~~:ee

~:;~; ~:d:; M;'te· Index Addee"

R

g:g

D21

D22

D23

D24

Address of
Last Prime
Highest level Data Record

~::o

S'
~~

0

:!

Cylinder Overflow
Area Count

I

STANDARD DASD FILE LABEL, FORMAT 2 ( •••• Cont'd)
FIELD

NAME AND LENGTH

KI

KEY IDENTIFICATION

K2

ADDRESS OF 2d LEVEL
MASTER INDEX
7 bytes/discontinuous
binary

1 byte

K3

~ K4

DESCRIPTION
This byte contains the hex code 02 in
order to avoid conflict with a file name.
This field contains the address of the
first track of the second level of the
master index, in the form MBBCCHH.

NAME AND LENGTH

D3

HIGH LEVEL INDEX
DEVELOPMENT
INDICATOR
1 byte, binary

This field contains the number of tracks
determining development of Master Index.

D4

FIRST DATA RECORD
IN CYLINDER

This field contains the address of the last
data track on each cylinder in the form HHR.

(OS!VS only)

LAST 2d LEVEL MASTER This field contains the address of the
last index entry in the second level
INDEX ENTRY
of the master index,of the form CCHHR.
5 bytes,discontinuous
binary
(OS!VS only)
ADDRESS OF 3d LEVEL
MASTER INDEX
7 bytes, discontinuous

FIELD

LAST 3d LEVEL MASTER

INDEX ENTRY

5 bytes, discontinuous
SPARE
FORMAT IDENTIFIER

D6

NUMBER OF TRACKS
FOR CYLINDER
OVERFLOW

This field contains the address of the lost
entry in the third level of the master
index, in the form CCHHR.(OS/VS only)

D7

HIGHEST "R" ON HIGH This field contains the highest possible R
LEVEL INDEX TRACK
on track containing high-level index
I byte
entries.

DB

HIGHEST "R" ON
PRIME TRACK

NUMBER OF INDEX
LEVELS
1 byte,binary

This field contains the number of tracks in
cylinder overflow area.(C6/VS only)

1 byte, binary

Reserved

This field contains the highest possible R
on prime data tracks for form F records.

1 byte
2: Format 2

I byte, EBCDIC numeric

D2

This field contains the address of the lost
data trock on each cylinder,in the form HH.

2 bytes

19 bytes

DI

LAST DATA TRACK IN
CYLINDERS

This field contains the address of the first
track of the third level of the master index,
in the form MBBCCHH.

binary

K6

(OS!VS only)

3 bytes

D5

binary

K5

DESCRIPTION

The contents of this field indicate how
many levels of index are present with an
Indexed Sequential File.

D9

HIGHEST "R" ON
OVERFLOW TRACK
1 byte

This field contains the highest possible R
on overflow data tracks for form F records.

"-~

'---

STANDARD DASD FILE LABEL. FORMAT 2 ( .... Cont'd)
FIELD

NAME AND LENGTH

DESCRIPTION

FIELD

NAME AND LENGTH

010

"R" OF LAST DATA
RECORD ON SHARED
TRACK -I byte

This field contains the R of the last doto
record on a shared track.

DIS

ADDRESS OF CYLINDER This field contains the address ci first track
INDEX
of the cylinder index, in the form MSBCCHH.

011

HIGH RECORD ON
TRACK INDEX TRACK
2 bytes

The first byte of this 2-byte field indi-

019

ADDRESS OF LOWEST
LEVEL MASTER INDEX
7 bytes

This field contains the address of the first
track of the lowest-level index of the high

TAG DELETION
COUNT

This field contains the number of records
that have been togged for ,deletion.

020

ADDRESS OF HIGHEST
LEVEL INDEX
7 bytes

This field contains the address of the first

NONF IRST OVERFLOW This field contains a count of the number
REFERENCE COUNT
of random references to a nonfint over-

D21

LAST PRIME DATA
RECORD ADDRESS
S bytes

This field contains the address of the last
data record in the prime data area, in the

LAST TRACK INDEX
ENTRY ADDRESS
5 bytes

This field contains the address of the last
normal entry in the track index on the last
cylinder in the form CCHHR

DI2

7 bytes

cates the high(O-256) record on the track
Index track. The second byte is reserved.

2 bytes,binary

DI3

3 bytes,binary

flow record.

014

NUMBER OF BYTES
FOR HIGHEST LEVEL

022

INDEX-2 bytes binary

The contents of this field indicate how
many bytes are needed to hold the highest
level index in main storage.

015

NUMBER OF TRACKS
FOR HIGHEST LEVEL
INDEX

This field contains a count of the number
of tracks occupied by the highest level
index.

023

E

DESCRIPTION

1 byte,binary

D16

PRIME RECORD COUNT
4 bytes,binary

This field contains a count of the number
of records in the prime data area.

017

STATUS INDICATOR
1 byte

The eight bits of this byte are used for the
following indications:
Bit 0-1 : must remain off
Bit 2 : file closed for ADD or ADDRTR
Bit 3-5: must remain off
Bit 6: last block full-8it 7:1ast track full

level indexes, in the form MBBCCHH.
track of the highest level master index, in

the form MBBCCHH.

fam MBSCCHHR.

LAST CYLINDER INDEX This field contains the address of the last
index entry in the cylinder index in the

ENTRY ADDRESS
5 bytes

024

LAST MASTER INDEX
ENTRY ADDRESS
5 bytes

025

LAST INDEPENDENT
OVERFLOW RECORD
ADDRESS
Sbytes

-

fam CCHHR.
This field contains the address of the last
index entry in the rTIO$ter index, in the form

CCHHR.
This field contains the addreSi of the last
record written in the current independent
overflow area,in the form MBBCCHHR.

STANDARD DASD FILE LABEL, FORMAT 2 ( •••• Cont'd)
FIELD

NAME AND LENGTH

D26

BYTES REMAINING ON This field contains the number of bytes
OVERF LOW TRACK
2 bytes, binary

D27

D28

DESCRIPTION
remaining on current independent

overflow track.(OS/VS only)

NUMBER OF INDEPEN- This field contains the number of tracks
OVERFLOW TRACKS
2 bytes,binory

remaining in independent overflow area.

OVERF LOW RECORD
COUNT

This field contains a count of the number
of records in the overflow area.

2 bytes, binary
D29

CYliNDER OVERFLOW
AREA COUNT
2 bytes, binary

This field contains the number of
cylinder overflow areas full.

D30

DUMMY TRACK INDEX
ENTRY
3 bytes

This field contoins the HHR portion of
the dummy track index entry.
(OS/VS only)

D3!

POINTER TO FORMAT
3 FILE LABEL
5 bytes

This field contains the address(in the

T

:;;:

form CCHHR) of a Format 3 file lobe I
if more than 3 extent segf!lents exist for

the data file within this volume.

Otherwise it contains binary zeros.
(OS/VS only)

FIELD

NAME AND LENGTH

DESCRIPTION

',,--

\

\.

,~.

',-.

STANDARD DASD FILE LABEL, FORMAT 3

~xreJlr

I
Identiicatio

o Inou;;aU;II-

I

Extent 3

Extent 2

Extent 1

2

Key

Format 3: This format is used to describe extra extent segments on the volume if there
are more than can be described in the Format 1 (and Format 2 if it exists) file label.
This file label is pointed to by a Format I,Format 2,or another Format 3 file label.

Limit

17

30

limit

5:=

::!

.

;'i

Extent 8

Extent 9

on

:::

:::l

Extent 11

Extent 10

"

55

Extent 13

Extent 12

on

'"

Format Identifier

Extent Sequence Number

,;:;;

E ten

Ext.n

Extent 5

Extent 4

Lower Upper

54
!

:f
FIELD

NAME AND LENGTH
KEY IDENTIFICATION

2-17

18

5l

ll'

on

~

DESCRIPTION

~~

!:!

FIELD

NAME AND LENGTH

Nine groups of fields identical in format
to fields 21-24 in the Format 1 label

90 bytes

are contained here.

This field contains the address{in the form
CCHHR) of another Format 3 label if
additional extents must be described.
Otherwise, it is all binary zeros.

4 bytes

EXTENTS (;n KEY)

Four groups of fields identical in format to

40 bytes

fields 21-24 in the Format 1 label are con-

POINTER TO NEXT
FILE LABEL

toined here.

S bytes

FORMAT IDENTIFIER
1 byte, EBCDIC numeric

3:

DESCRIPTION

ADDITIONAL
EXTENTS

Each byte of this field contains the Hex code 19-54
03 in order to avoid conflict with a data
file namc.

55

~

Format 3

-

This format is used to describe the Volume Table
of Contents and is alWO)lS the first label in the
vrOC. There must be one and only one of these
Format 4 file labels per volume.

STANDARD DASD FILE LABEL, FORMAT 4
nala

1

Fonnat 1

~

&:tent Sequence Number

:¥'
0:

VSAM

lOA

Timestamp

l~
~

::\

'1;~ Y~'8l}!:Jrtamp

~~ ~u
10

-0 .....

NAME AND LENGTH
KEY FIELD
44 bytes,binary

FORMAT ID
1 byte, EBCDIC numeric

!fl

~~

11

Upper

Limit

limit

00

~

:::~

Device Constants
Device
Size

h~Ln

ill i?

l!il

~

!(

11~lij
_!li

9

4!

;:: I~

LAvaiJable File Label Records.

Reserved

!!!:2

DESCRIPTION
Each byte of this field contains the Hex
code 04 in order to provide a unique key.

§
FIELD
6

4: Format 4.

NAME AND LENGTH

DESCRIPTION

4 bytes

alternate for a bad track.

N UMBER OF ALTERNATE TRACKS

Contains the number of alternate tracks
available.

2 bytes,binary
of the last active Format 1 file label. It
is used to stop a search on a file name.

(OS/VS only)

NEXT AVAILABLE
ALTERNATE TRACK

I~C:'~ Extents

U

15

14

Lower

LAST ACTIVE FORMAT 1 Contains the addres.{in the farm CCHHR)
5 bytes

;r

OC Extent

lOB
Reserved

compatibility)

~

I

5 6

Next
Oil •

iii ~ Ii f:l

Format ID---.l

F.·.~~·.

IVSAM indicators

3 4

Active

Key

-

Last

nNUrnber
of Alternate Tracks
r:VTOC Indicators

Contains the address(in the form CCHH)
of the next track to be assigned 'as an

7

vroc INDICATORS

Bit 0, if on indicates no DADSM(Format 5)
label,or DADSM label does not reflect
true status of volume.
Bits 1,2 not used.
Bit 3, if on indicates a stacked pack for the

1401/1440/1460 Emulator Program.
Bits 4-7 are not used.

'~

\'-.....

STANDARD DASD FILE LABEL, FORMAT 4 ( •••• COnt'd)
FIELD . NAME AND LENGTH

DESCRIPTION

0':'5 : Reserved
6/7 : CC ·and HH must be used as I-byte values,as in the
case of the 2321.A tolerance factor must be applied
to all but the last recerd on the track.
8B
RESERVED
Reserved
Tolerance:
(2 byte.s)-A value that is to be wed to determine the ef2 bytes
fective length of the record on the track. The effective
DEVICE CONSTANTS
This field contains constants describing the
length of a record is calculated in the following manner:
device on which the volume was mounted
14 bytes
1 Add the key length to the data length of the record
when the vroc was created. The following
2 Test bit 7 in the flag byte:
describes each of the subfields:
a. If 0, go to step 3
(4 bytes)-The number of cylinders(CC) and tracks per cylb. Multiply value from step 1 by the tolerance factor
Device Size:
c. Shift result 9 bits to the right
inder(HH).
T:Track length:
3. Add overhead bytes to the result.
(2 bytes)-The number of available bytes on a track exclusive
;;::;
Note: Step 2 is not required if the calculation is for the
of home address and record zero. (record zero is assumed to
last record on the track.
be a nonkeyed record with an eight bytes data field)
Record Overhead: (3 bytes)-The number of bytes required for gaps, check bits, Lobe Is/track:
(1 byte)-A count of the number of labels that can be written
and count field for each record. This value varies according
on each track in the vrOC. (Number of full records of
44-bytes key md 96-bytes data lengths that can be containto the record characteristics and thus is broken down into
ed on one track of this device)
three subfields.
three
I: Overhead requ.ired for a keyed record other than the last Directory Brocks/ (l byte)-A count of the number of directory blocks that can
Track
record on the track.
be written on each track for an OS/VS partitioned data set.
l: Overhead required for a keyed record that is the last
(Number of full records of 8-bytes key and 256-bytes data
lengths that can be contained on one track of this device)
record on the track.
K: Overhead bytes to be subtracted from I or l if the record
does not have a key field.
Flag:
(1 byte)-Further defines unique characteristics of the device.
8A

NUMBER OF EXTENTS
I byte

Contains the hexadecimal constant Ol,to
indicate one extent in the vrOC.

Bits:

-

STANDARD DASD FII£ lABEL, FORMAT 4 ( ••• Cont 'd)
FIELD

NAME AND I£NGTH

9

DEVICE CONSTANTS
( ••• Cont'd)

DESCRIPTION

FIELD

The following illustrates the device constonts field for the various direct access
devices:

NAME AND I£NGTH

lOA
VSAM CATALOG
(Cont'd) (I byte)
TT of CRA
(2 bytes)

~

Device

HH

Track

.!

h

!S

f.!!a. !Q!.:.

~

2311
2314/2319
3330
3330·11
3;J40135M8
;; 3340/70MB
3350

,

203
203

411
815
350
700
555

10
20
19
19
12
12
30

3625
7294

13165
13165
8535
8535
19254

~

20
45
191
191
242
242
267

20
45
66

56
75
75
82

8

537
534
512
512
512
512
512

16
25
39
39
22
22
46

lOB

RESERVED
(10 bytes)

Reserved

11-14

VTOC EXTENT

These fields describe the extent of
the VTOC and are identical in

format to fields 21-24 of the
Format I file label. Extent type
01 (prime date area),

15
Note: Labels per track = track length
I + label length

-lOA

VSAM INDICATORS
(19 bytes)

The VSAM indicators are present on

any volume that contains space
allocated to VSAM. If a volume

does not contain any VSAM-owned
space, these fields are set to zeros.

VSAM TIMESTAMP
(8 bytes)

Is the time the most recent VSAM
data space was added to the volume.

Rela.tive track number of first track
of. catalog recovery area

VSAM TIMESTAMP
(8 bytes)

~

81
146
191
191
242
242
257

DESCRIPTION
BllO-1 : This volume is owned by
a VSAM catalog,
Bit 1-7: Unused

RESERVED
(25 bytes)

Reserved

"~

'--

STANDARD DASD FILE LABEL, FORMAT 5

~

Format 5 Label used by OS/VS only)

rJ 1eld

11
Available

Available Extents in Key

Extent

Available Extents

::;""'"

5!
LKcy Identification

LFormat Identifier
281

29

Pointer
Available Extents

to next

@FO, mot5 1

;-

-.0

I;;;

.....

FIELD

NAME AND LENGTH

1

KEY IDENTIFICATION
4 bytes
AVAILABLE EXTENT
5 bytes

DESCRIPTION

Each of these four bytes is an hex 05.

~

'"

0
;::t

FIELD

NAME AND LENGTH

3-9

AVAILABILITY EXTENTS These fields are identical, to field 2.
IN KEY 35 bytes
They are in relative trock address sequence.

This field indicates on extent of space avoil- 10

able for allocation to a data file. The first
two bytes ore relative track address. The next
11-28
two are the number of fu II cylinders included
in the extent. The last byte is the number of
tracks in addition to the cylinders in the extent.
29

DESCRIPTION

FORMAT IDENTIFIER
1 byte EBCDIC numeric

5: Format 5

AVAILABLE EXTENTS
90 bytes

These fields ore the same as field 2. There are
26 available extents fields in the Format 5
label.

POINTER TO NEXT
FORMAT 5

Contains the address (in the form CCHHR) of
the next Format 5 file label if one exists.

-

LABEL INFORMATION CYLINDER
DEVICE TYPES

Track

o ,-BG(USRLABEL)

I
2I
3 I
4 I
5 I
6 I
1

3340
(see

Note 2)

7\

~

2314
3350

0'

2319

3330

.~

Temporary

BG

(pARSTD)

Standard (permanent)

F2

(USRLABEL)

Temporary

Standard (permanent)

F2

(PARSTD)

Fl

(USRLABEL)

Temporary

Fl

(pARSTD)

Standard (permanent)

(STLABEL)
Standard Labels

1

,:~

llEE
1~ ~I
AddiHonalStanda;d Lab~hl
19

Note 1: The layout of the label inforStandard (permanent)

mation cylinder depends on the number
of partitions defined in your system.
This example assumes that three partitions
are present. For more information see
DOSIVSE Serviceability Aids and
Debugging Procedures.

Note 2: For the 3340, a second label
information cylinder is provided
containing 12 standard label tracks
for all partitions.

29
LABEL Information Cylinder Layout and Record Format

(see Note 1)

',-

'---

'-

-"

LlOCS MODULE NAME VERSUS OPTIONS

character
CDMOD

I"

1 2
I

J

4

3

5

7

6

8

B RDONLY= YES and Z WORKA and loo.REA: 0 DEVICE=2540,3881
(always for TVPEFLE",
specified if CMBND
TYPEF LE= CMBND
not sped fied
1 DEVICE= 1442,2596
C TYPEF LE= CMBND W WORKA=YES
2 DEVICE=2520
INPUT, TYPEF LE=
Y CT LCHR= YES
H RDONLY=YESand I IOAREA2= YES
3 DEVICE=2501
CMBND or FUNC= I C CONTROL= YES
8 WORKA and 10AREA2 4 DEVICE=2540 cmd
files)
Z CT LCHR or CONTYPEFLE= INPUT
CRDERR
V RECFORM= VARUNB
TROl not specified I TYPEFLE= INPUT
Z WORKA= YES not
N RDONLY= YES and
specified (CMBND
5 DEVICE=252D and
U RECFORM= UNDEF
CRDERR
TYPEF LE= OUTPUT
file only)
o TYPEFLE='OUTPUT
6 DEVICE=3505 or
3504
7 DEVICE= 3525 and
FUNC=R!P or

C F

RECFORM~IXUNB

A CT LCHR= ASA(not

omitted

t:::

~

8

DEVICE=2560 and
FUNC=R/P or
omitted

-

A DEVICE=3525 and
FUNC=RP
B DEVICE=3525 and
FUNC=RW
C DEVICE=3525 and
FUNC=PW
D DEVICE= 3525 and
FUNC=I
E DEVICE= 3525 and
FUNC=RPW
F DEVICE=2560 and
FUNC=RP

L10CS MODULE NAME VERSUS OPTIONS ( •••• Cont'd)
character I

+

I

2

7

6

5

4

3

8

G

CDMOD
(Cont'd)

H
I

J
K
L
M

~

N
0
DIMOD

I

J

J

F always

C

non-RPS version

B TYPEF LE=OUTPUT

of module

(processes both in
put and output)

V

RPS doto set

S

R RDONLY=YES

Z

SETDEV=YES
SETDEV=YES
not specified

I
0

=DUMODFI
=DUMODFO

C ERROPT=YES and
ERREXT=YES
E ERR OPT =YES
Z neither is specified

I
DRMOD

DUMOD

I

I

J

J

M

N

Z

D

DEVICE=2560 and
FUNC=RW
DEVICE=2560 and
FUNC=PW
DEVICE=2560 and
FUNC=I
DEVICE=2560 and
FUNC=RPW
DEVICE=5425 and
FUNC=RP
DEVICE=5425 and
FUNC=RW
DEVICE=5425 and
FUNC=PW
DEVICE=5425 and
FUNC=I
DEVICE=5425 and
FUNC=RPW
RDONLY;YES
RDON LY=YES ;,

I IOAREA2=YES
Z IOAREA2=YES;,
not specified

C
D

D always

0

always

Z

Y
Z

RDONLY=YES

not specified

TYPEFLE=INPUT

Z ROON LY=YES not
specified
RDON LY not specified

L10CS MODuLe NAME VERSUS Ot, ,JNS ( •••• Cont'd)

character

# ..

Z

5 Addrcss=SIN GLE
D Addrcss=DUAL

MTMOD
(GET/PUT)

I J F

C CKPTRECoYES
F RECFORM=F IXUNB B READ=8ACK
Z READ=F ORWARD 0' Z CKPTRECoYES;s
(0' FIXBLK)
not specified
if READ is not sped
(EBCDIC mode)
fied
X RECFORM=FIXUNB
(0< FIXBLK)
(ASCII mode)
V RECFORMoVARUNB
(0' VARBLK)
(EBCDIC mode)
R RECFORM~VARUNB
(0' VARBUK)
(ASCII mode)
S RECFORMoSPNUNB
(0' SPNBLK)
(spanned records)
U RECF ORMoUN DEF
(EBCDIC code)
N RECFORMoUNDEF
(ASCII mode)

MTMOD
(WORKFILE)

I J F

W always

E ERROPT oYES
Z ERROPT is not
specified

W
Z

WORKAoYES

M

WORKA=YES is not
specified
N

Y
Z

N NOTEPNToYES
Z
S NOTEPNToPOINTS
Z NOTEPNT is not

always

specified

I

8

Z

Z

1 J U

~

Z

7

6

5

4

1 2 3

MRMOD

-

M
N
Y
Z

ERREXT oYES ond
RDONLYoYES
ERREXToYES
RDONLYoYES
ERREXT ond RDON
l Y not specified

ERREXToYES ond
RDONLYoYES
ERREXToYES
RDONLYoYES
ERREXT ond RDON
LY not specified

.LlOCS MODULE NAME VERSUS OPTIONS
character , ..

1 2 3

ORMOD

I

PRMOD

~

I

J M

J D

( •••• Cont'd)

4
F
X
U
D

RECFORM=f IXUNB
RECFORM=fIXBLK
RECFORM=UNDEF
RECFORM=UNDEF
and BLKF AC=YES

5
C CONTROL=YES
Z CONTROL=YES i.
not specified

6

I
W
B
Z

IOAREA2=YES
WORKA=YES
both are specified
neither is specified

7
T

device is in tape

D

device is in docu-

fied and DEVICE is
2560, 3525, or

5425

always

V

RDONLY=YES
and WORKA=YES
WORKA=YES
RDONLY=YES
neither is specified

mode

F RECFORM=f IXUNB A CTLCHR=ASA
B ERROPT-YES and
I
V RECFORM=VARUNB Y CTLCHR=YES
PRINTOV=YES
Z
U RECFORM=UNDEF C CONTROL=YES
P PRINTOV=YES,
S STLlST=YES
DEVICE i. not 3525
Z none of these is speand ERROPT is not
cified
specified
T DEVICE=3525 with I PRINTOV=YES,
2-line printer
DEVICE=3525 and
U DEVICE=256Q
FUNC=W[Tl or
V DEVICE=5425
omitted
F PRINTOV=YES,
DEVICE=3525 and
FUNC=RW[T]
C PRINTOV=YES,
DEVICE=3525 and
FUNC=PW[TJ
D PRINTOV=YES,
DEVICE=3525 and
FUNC=RPW[ TJ
Z PRINTOV=YES and
ERROPT not specinot

8
Z

ment mode

IOAREA2=YES
IOAREA2=YES i.
not specified

W
Y
Z

I

LIOCS MODULE NAME VERSUS OPTIONS
character , .

PRMOD
(Cont'd)

1 2 3

4

\

.... Cont'd)
. .. -,
5

6

o

7

6

PRINTOV=YES not
specified, DEVICE=

3525 and FUNCT=
wt T] or o;;'itted
R PRINTOV=YES not
specified,DEVICE=
3525 and FUNCT=
RW[T]
S PRINTOV=YES not
specified,DEVICE=

;(;

'"

3525 and FUNCT=
PW[T]
T PRINTOV=YES not
specified,DEVICE=
3525 and FUNCT=
RPW[TJ
E ERROPT=YES and
PRINTOV=YES ;,

-

not specified
U FUNC=W or omitted

and DEVICE=256Q
or 5425

V FUNC=RWand
DEVICE=2560 or 5425
W FUN C=PW and
DEVICE=2560 or 5425
X FUN C=RPW and
DEVICE=2560 or 5425

..

LlOCS MODULE NAME VERSUS OPTIONS ( •••• Cont'd)
character I .

I 2 3

PTMOD

I J E

5

4
S SCAN=YES
Z SCAN=YES is not
specified

7

6

T TRANS=YES (SCAN) F RECl'ORM=F IXUNB I
=YES is not speciand SCAN=YES
2
fied)
U RECl'ORM=UNDEf Z
and SCAN=YES
Z TRANS=YES is not
Z SCAN=YES is not
specified

DEVICE=IOI7
DEVICE=IOIB
DEVICE=2671 or if

8

Z always

this entry is omitted

specified and/or

DEVICE=101B
SDMOD
(GET/PUT)

I J G

C SDMODFx specifies I SDMODxl (non-RPS C ERROPT=YES and

HOLD=YES
F SDMOOFx does not
specify HOLD=YES

o

version of module)
ERREXf=YES
SDMODxO (non-RPS E ERROPT=YES
version of module)

R SDMODUx specifies U SDMODxU (non-RPS

HOLD=YES

~

U SDMODUx does not

specify HOLD=YES
P SDMODVx specifies

version of module)

W SDMODxl (RPS in-,
put data set)

X SDMODxO (RPS out
put data set)

HOLD=YES and
Y SDMODxU (RPS upRECFOR,M=SPNBLK/
date data set)
SPNUNB
Q SDMODVx does not
specify HOLD=YES
and specifies

RECFORM=SPNBLK/
SPNUNB
S SDMODVx specifies

I.......-------L....

HOLD=YES
V SDMODVx does not
specify HOLD=YES

Z neither is specified

M TRUNCS=YES and
FEOVD=YES
T TRUNCS=YES
W FEOVD=YES
Z neither is specified

B CONTROL=YES
and RDON LY=YES
C CONTROL=YES
Y RDON LY=YES
Z neither is specified

LIOCS MODULE NAME VERSUS OPTIONS

Charocter #

+

SDMOD
(WORK FILES)

DAMOD

1 2
I

I

J I

ISMOD

I

J H

5

C ERROPT=YES ond
ERREXT=YES
specified
E ERROPT=YES
W RPS version of
module
Z neither is specified
RECFORM--fIXUNB A AFTER-YES
RECFORM=UN DEF W RPS version of modul
handles both UNDEF Z AFTER is not
specified
and FIXUNB
RECFORM=SPNUNB
RECFORM=VARUNB

T HOLD=YES
W HOLD=YES not

F
B

S
V

;;:;

"

4

3

J G

( •••• Cont'd)

A RECFORM=BOTH,
IOROUT=ADD or
ADDRTR

A lOR OUT-ADDRTR

6
N NOTEPNT=YES
R NOTEPNT=POINT
RW
Z NOTEPNT is not

not specified

-~

T RDONLY=YESand
UPDATE=YES
U UPDATE=YES
Y RDONLY=YES

Z neither is specified

specified
E IDLOC-YES and
FEOVD=YES
I IDLOC=YES
R FEOVD=YES

H ERREXT - YES and
RELTRK=YES
P ERREXT=YES
R RELTRK=YES

W HOLD-YES and
RDONLY=YES
X HOLD=YES
Y RDONLY=YES

Z neither is specified

Z neither is specified

Z neither is specified

B
(non-RPS version of G
module)
I IOROUT=ADD
L IOROUT=LOAD (non R

TYPEFLE=RANSEQ B CORINDX=YES and
HOLD=YES
IOAREA2=YES
TYPEF LE=SE QNTL
C CORINDX~YES
or IOROUT=LOAD
HOLD=YES
TYPEFLE=RANDOM Z neither is specified
TYPEFLE=SEQNTL

F

o

B RECFORM=FIXBLK,
RPS version of modul S
IOROUT=ADD or
R IOROUT=RETRVE
Z neither is specified
ADDRTR
(lOROUT=LOAD or
U RECFORM=F IXUNB, V IOROUT=ADDRTR
(RPS version of
ADD)
IOROUT=ADD or
module)
ADDRTR
X IOROUT=LOAD
Z RECFORM is not
(RPS version of
specified
module)
(IOROUT=LOAD
or RETRVE)

'----

8

7
C CONTROL=YES
Z CONTROL=YES;,

CORDATA=YES,
ERREXT=YES,
RDONLY=YES

G CORDATA=YES
and ERREXT=YES
CORDATA=YES
and RDON LY=YES
P CORDATA=YES
S ERREXT=YES and
RDONLY=YES
T ERREXT=YES
Y RDONLY=YES

o

Z neither is specified

-

DTFCD (Reader)

Bytes
Dec
0-15
8
16

Hex
oo-FF
8
1O

Bib'

Function

Contents

~li~5011ruble -

CON sUfport
1= OMR ;
Omitted
1= ERROPT 2 ; 0= Omitted
COBOL'open; ~'" option

It

°2I
3
4

1= GET Issued ; 0= GET not iauad 7)
DTF table address con.tanb relocated by
OPENR

5-7

File assocIation:

000= READ only
010= READ/PRiNT 4)
101= READ/PUNCHhRINT 5)
001= READ/PUNCH 5)
17-19

11-13

20

14

Address of logic module

X'02'

DTF type
DTF type for 2560 or 1>124/1>125

X'OS'
21

15

I=-Open; 0= Closed
Fil1t time switch
1= 1442 or 2596; 0= Other
1= 2560, 3525 or 5424/5425; O=Other
1= 3504, 3505; 0= Othe,
1= 2 I/O .",..; 0= I I/o .rea
1= 2520; 0= Other
1= 2540; 0= Other

°2I
3
4
5
6
7

22

16

B'5SFOXOIO'

Nonna! command code (not for
2560 or 5424/642!:J:
55: DD= pocket 1;6~i= ~cket

2;
10= pock.t 3
F : 1= Column bina~ 3); 0= EBCDIC

X: 1= OMR or RCE

; 0= neIther

B'HOBOOOIO'

Read command code (2560):
H : 0= hopper I; I = hopper 2
8: 0= EBCDIC; 1= column binary

B'HMMMilOll,

55 command code (5425).
H: D=hopperT, l=hopper 2.

MMM: 001=stacker 1,OlO=stacker 2.
011=stacker 3, l00=stacker 4.

23

17

24-27

18-IB

28

IC

B'HOBOO010'

Control command code (not for 2560
or 5424/5425).

Read command code (2560, 5425)
Address af IOAREA2
1= 2560: 0= Other

1
°2-7

1" 5424/5425; 0= Other
Not used

29-31

ID-IF

Address of EOF routine

32-39

20-27

Read CCW

Bytes 40-49 as used for all files except 2560 and 5424/5425 files

40-43

28-2B

44-4,9

2C-31

LA &IOREG,0(14) load user pointer register
NOP
MVC O(&BLK5IZE, lleve IOAREA ta WORKA
13),0(14)
NOP
In" ><'0000'
111-28

°
°

DTFCD' (Reader)

Bytes
Dec

I

Hex

( ••• Cont'd)

i

Bits

Contents

Function

The following bytes (50-105) are used for 2501 double-CON support.
50-55

32-37

56-71

38-47

72

48

Unused CCB

2=

0
1

1= OMR 1,
omitted.
1= ERROPT , DC: omitted.

2

COBOL open; ignore option

1= GET iS5ued 3 , 0 = GET not issued 7 .
DTF table address constants

3
4

re located by 0 PEN R.
5-7

File Association
000 - READ only
010 READ/PRINT4
101 READ/PUNO~PRINT5
001 READ/PUNCH •

=
=
=

73-75

49-4B

76

4C

77

4D

78

4E

Address of logic module.
X'02'
X'05'
0
1
2
3
4
5
6
7

DTF type.
DTF type for 2560 or 5424/5425.
l=open; 0= closed
First time switch
1::= 1442 or 2596; 0

1= 2520; 0 = other.
::= other.

1= 2540; 0
B'SSFOXOIO'

Normal command code {not for 2560
or 5424/5425.

SS : 00
10

B'HOBOOOIO'

79

4F
B'HOBOOOIO'

80-83

SO-53

=other.

1= 2560,3525, or 5424/5425; O=Other.
1:= 3504 or 3505; 0= other.
1= 2 I/O areas; 0 = 1 0/1 area.

pocket 1'60 1 = pocket2,
= pocket 3 . 3

=

F:

1= column binar>3 ' 0", EBCDIC.

X:

1 =OMRorRCE,

o = neither.

Read command code (2560, 6424/5425)
H, 0= hopper I, 1 = hopper2.
B, 0= EBCDIC, 1 = column binary.
Control command code (not for 2560
or 5424/5425},
Read command code (256O~ 5424/5425).
Address of IOAREA2. (If IOAREA2 is
not specified, address of IOAREA1).

DTFCD (Reade,)( ••• Cont'd)

Dec

Bytes
Hex

Bits

Function

Contents

84

54

85-87

55-57

88-95

58-5F

96-99

60-63

LA &IOREG, 0(14)
NOPO

100-103

64-67

MVC 0 (&BlKSIZE, 13), l4)
NOPO

104-105

68-69

DC X'OODO'

1 :: 2560; 0 ::: other.
1 = 6424/5425; 0 = other.
Not used.

0
I
2-7

I---

Address of EOF routine.
Read CON.
Load user pointer register.

Move IOAREA to WQRKA

The following bytes (SO-57) are used for 3504, 3505, and 3525 associated files.
ERROPT=name 2 .
ERROPT=SKIP.
ERROPT=IGNORE.

50-53

32-35

DC A (name)
B 16(15)
B 20(15)
DC F'O'

If
If
If
If

54-57

36-39

DC A(ASOCF lE)

Address of associated DTF tobl/.
(3525 on Iy).

ERROPT~mitted.

Bytes 40 onward os used for 2560 and 5425 fi les.
Stacker select CON (2560).
Read CON (5424/5425).

40-47

28-2F

48-51

30-33

LA &IOREG,0(14)
NOPO

52-57

34-39

MVC O(&BlKSIZE, 13), 0(14)
NOPO
DC X'OOOO'

58-63

3A-3F

ClC O(l, 14),64(1)

Test for end of file.
L= 4 if MODE=C; L=2 in other cases.

64-67

40-43

DC C/*
DC X' OCOOI022'

End-oF-file indicator if MODE=E

111-30

Mave IOAREA

In other cases.

'0 WORKA

DTFCD (Reode,)

B tes

)

Dec

Hex

68-71

44-47

( ••• Cont'd)

Bits

Contents

Function

If ERROPT=name2 .

DC A(nome)
816(15)
820(15)
DC F'D'

If ERROPT=SKIP.
If ERROPT=IGNORE.

Address of associated DTF tabl/.

If ERROPT=omitted.

72-75

48-48

DC A(ASOCFLE)

76-81

4C-51

MVC 0 (&8LKS1ZE, 14), 82(1)

82

52

DC &BlKSIZE.C"

1
2
3
4
5
6

7

I

Move co,d image to IOAREA 1

Buffer for cord image.

OMR only for 3504 and 3505,
ERROPT for 2560, 3504, 3505, 3525, 5424/5425 READ file.
3504, 3505, and 3525 with or without CONTROl=YES specified.
2560, 3525, or 6424/5425 with or without CONTROL"'YES specified.
2560, 3525, or 6424/5425 without CONTROL=YES specified.

Defaults to pocket2 for 3504, 3505, and 3525.
Present only when 2560, 3525, or 6424/5425 associated files are specified
for the input D1F .

111-31

I

DTFCD (Punch)
Bytes

Dec

Hex

0-15

oo-FF

16

TO

Bits

Contents

Function
CCB

0
I
2
3
4

Not used

1= ERROPT 3); 0= OmHted
COBOL open; "iynore option
1= PUT issued 2 i 0= PUT not issued
DTF table address constants relocated

by OPENR
5-7

File Association:

000= PUNCH only
OTT= PUNCH;\'RINT 3)
001= READ;\'UNCH 3)
IOT= READ;\'UNCH;\,RIN! 3)
100= PUNCH/INTERPRET )
17-19

TT-13

20

14

21

15

22

16

Address of logic module

X'04'

DTF type

0
I
2
3
4
5
6
7

1= Open; 0= Closed
First time switch
I=CTlCHR
1= Fixed unblocked
1= Variable unblocked
1= 2 1/0 areas
1= Workarea
1= 2 CCWs in table; 0= 1 CCW in table

B'SSFOoooI'

Norma I command code:
SS : 00= pocket 1; 01= pocket 2;

10= pocket 3 4)

F
B'HSSSooTT'

: 1=column binary; 0= EBCDIC

Normal stacker select command code

(2560 or 5424/542BI.
H : 0= hopper t; 1= hopper 2
SSS: stacker information

23

17

B'HSSSooTT '

Control command code (not for 2560
or 5424/5425).
Actual stacker select command code
(2560 or 5424/5425)

24--27

18-IB

DC A(lOAREAltx)

28-31

TC-IF

Address of data in IOAREAl
Buck.t I)

32-33

20-21

LR 12, (RECSIZE)

Undefined records only

34-37

22-25

LA &IOREG,4(14)
NOPR 0

load user pointer register

38

26

39

27

0-2
3
4
5
6
7

Not used
1= 5424/5425

1= 2560
1= 3525
1= 1442 or 2596
1= 252081
DC C' ,

Blank for eject last card

111-32

DTFCD (Punch)

I Dec

Byte.
Hex

( ••••Cont'd)

Bits

Contents

Function

For all nles except 2560 and 5425 files:
40-47

2B-2F

Punch CCW

48-55

30-37

Eject CCW for last cord if 2520

For 2540 files If CRDERR is specified
48-55

30-37

56-135

3B-B7

RetryCCW
DC CLBO' ,

Savearea card image

For 3525 PUNCH/INTERPRET mes

48-55

30-37

56-63

3B-3F

64-127

4O-7F

LoodCCW

PrintCCW
DC 64C' ,

Print buffer

DC A(ASOCFLE)

Pointer to associated file

For 3525 Associoted files
48-51

30-33

For 2560 and 5424/5425 files
40-47

28-2F

Eject CCW
If FUNC= RP or RPW

DC 0'0'
48-55

30-37

Stocker select CCW

56-63

38-3F

Punch and Feed CCW

For 2560 PUNCH/INTERPRET file.
64-71

40-47

load print head buffer 1 CCW

72-79

48-4F

load print head buffer 2 CCW

BO-B7

50-57

88-151

58-97

PrintCCW
DC 64C' ,

Save area for printing line Z

For 5425 PUNCH/INTERPRET file.
64-71

40-47

PrintCCW

For 2560· and 5424/5425 Ass~ciated files
64-67

40-43

DC A(ASOCFLE)

68

44

DC C"

If mode is EBCDIC

DC X'OO'

If mode is Column Binary

DC &BLKSIZE .C' ,

Buffer for card image

69-

45-

1) The bucket bytes handle undefined length records

2) Valid for 2560 or 3525 READ/PUNCH, PUNCH/PRINT, and READ/PUNCH/PRINT file.
3) Volid for 2560 or 3525 only. (3504, 3505, 5425) non- associated files
4) Default. to pocket 2 for 3525

111-33

)

I

DTFCD (Combined Reader/Punch)

B es
Dec

ex

o -15

OO-OF

16

10

17-19

11-13

20

14

21

15

22

16

Bits

Contents

Function

CCB
Not used

0-1
2
3
4
5-7

COBOL open; ignore option
Not used
OPENR relocotes DTF address constants
Not used

Address of logic module

DTF type

X'OO'

Command code (X'02' for 1442, X'C2'

for 2520, 2540)
Command code (X'DI' for 1442, X'09'

for 2520, 2540)
23

COrrrncnd code (X'OI' for 1442, X '09'

17

for 2520, 2540)

CON

24-31

IS-IF

32-35

20-23

Input area address

36-39

24-27

Output orea address

40-41

2S-29

Input blocksize

42-43

2A-2B

Ouput blocksize

44-49

2C-31

MVC (&BLKS,
13,0(14)

SO-55

32-37

MVC (&OUBL,
14),0(13)

°
°

56-59

38-3B

End-of-fi Ie address

60-67

3C-43

Save area

68-73

44-49

MVC 1 (&OUBL-l,
13),0(13)

74-77

4A-4D

MVIO(13),X'40'

78-79

4E-4F

Constant (b lonks)

SO-S3

50-53

Constant address (bytes 78-79)

111-34

DTFPR

Bytes

Dec

He,

o -IS

OO-OF

16

10

17-19

11-13

20

14

21

IS

Bits

Function

Contents

CCB
1= 2-line printer (3,4); 0::: Other

0
I
2
3
4
5-7

1= ERROPT (3,4); 0= Omitted
COBOL open; ignore option

1= 3525; 0= Othe.
OPENR relocates DTF address constants

000= PRINT only
011= PUNCH/PRINT 3)
010= READ/PRINT 3)
101= READ/PUNCH/PRINT 3)
Address of logic module

X'08'
X'07'

DTF type
DTF type for 2560 and 5424/5425

0
I
2
3
4
5
6
7

1= Open; 0= Closed

First time switch
1= Control character
I::: Fixed unblocked records
1= Variable unblocked relO:ords

1= 2 I/O

areas

l=Workoreo
1= Print overflow channel 9

For Printer and Cord Punch devices

22
23
24-27

16
17
18-1B

28-31
32-33

IC- IF
20-21

34-37

22-25

38-39
40-47

26-27
28-2F

48-55

30-37

X'09'
X'09'
DC A(JOAREAI+x)

Normal command code 5)
Contro I command code 5)

Address of data in IOAREAl
Bucket 1)

LR 12,(RECSIZE) For undefined records
NOPRO
LA &IOREG,4(14) Only If IOREG= (r)
NOPO

only

Bucket 2)

11,',X'60', I
CCN- Set up Selective Tape List Control
6)
9,IOAREA,X'20', SILiST not specified
121
9, IOAREA, X'20', CON- STliST specified 6)
121
A (Nome)
Address of user error routine (for all the
3211-compatible printers identified by
device type code PRT1)

DC A(ASOCF LE)

If ASOCFlE= filename 3)

For the 2560 and 5424/5425 Multi Function Card Machine

22

16

X'OO'

Not used

23

17

B'HHHHHHOO'

Print head selection byte
H= 1 specifies the corresponding head

24-27

18-1B

Address of IOAREA J

1r1-35

I

DTFPR ( •••• Cont'd)

Bytes
Dec

Hex

I Bits

Contents

Function

For the 2560 Multi Function Card Machine (Cont1d)

Bucket

28-31

IC-IF

32-33

20-21

LR 12,(RECSIZE)
NOPRO

For undefined records only

34-37

22-25

LA &IOREG,4(14)
NOPO

Only if IOREG, (r)

38-39

26-27

40-43

28-28

44

2C

45-47

2D-2F

Number of bytes to be printed by the last
specified print head
DC A(ASOCFLE)
DC PO'
0
I
3

If FUNC= RW, FW or RFW
In all other cases
1=2560
Not used
1= Print control switch for 2560 associated files
Not used

4-7
DC 3X'QQ'

Reserved for future use

For 2560 simple files

48-55

30-37

56-63

38-3F

load print head buffer CON

64-71

40-47

Print CON

Eject CON

For 2560 associated files
48-55

30-37

Load print head buffer CON

56-63

38-3F

Print CON

Far 5424/5425 files

48-55

30-37

PrintCCW

1) The bucket bytes handle undefined records. Bit 0 of byte 28 at open time determines

the mode set of a printer with UCS. If bit 0= I, the mode is set so that data checks
occur if on invalid character is printed. Otherwise, mode is set to suppress doto checks.
The use of the UCS parameter determines the setting of this bit. If STlIST=YES, byte
31 saves the STlIST control byte provided by the Pur macro.
2} The 2 byte bucket saves print overflow conditions if CTLCHR= ASA. If STLlST= YES,
byte 38 contoins the current $lLlST control byte. Byte 39 is set by the Pur macro to
indicate spacing or skipping. (X'OO' no spacing, no skipping; X'Ol' spacin9i
X'02' skipping).

3) Valid fo, 2560,3525 READ/PRINT, PUNCH/PRINT ond READ/PUNCH/PRINT file,.
4) Valid for 3525 PRINT only files.
5) X'05' for 3525; X'09' for other devices
6) Valid for 1403 only

111-36

DTFCN

Byte.
Dec

Contents

Hex

o -15

OO-OF

16

10

17-19

11-13

Function
CCB

X'20'
X'OB'

COBOL open; ignore option
OTF table address constants relo-

cated by OPENR

20

14

21-23

15-17

24-31

lB-IF

Address of logic module:
GET and PUT logic if TYPEFLE=
INPlJT; PUT logic jf TYPEFlE=
OUTPUT; GET, PUT and PUTR
logic ifTYPEFlE= CMBND
OTF type

X'03'

For input and output: not used
For combined: byte 21 contoins
X'Q l' and bytes 22-23 c'lntain
INPSIZE
X'09',IOAREA1,X'OO',
BLKSIZE

CCW

End of toble if RECFORM=FIXUNB and WORKA not specified. The following bytes ore
added if WORKA is specified.
32-35

20-23

DC A(IOAREA1)

36-39

24-27

DC F'O'

40-43

2B-2B

DC F'O'

I Address of I/O orea

I

Reg;"e, ,ave acea
Register save area

• End of toble if RECFORM=FIXUNB. The following bytes are added if RECFORM=UNDEF
DC F'O'

Register save area

DC F'O'
DC H'BlKSIZE'
DC AL2(BLKSIZE-I)

For input files only

Register save orea

I/o orea size

The following bytes are added to the toble if TYPEFLE= CMBND
32-35

20-23

DC A(JOAREA I+BLKSIZE)

I/O area address for input

36-37

24-25

DC H'BLKSIZE'

Blocksize

111-37

I

DTFDR

Bytes

Dec

Hex

o -15

OO-OF

16

JO

17- 19

11-13

20

14

21

15

Bits

Contents

Function

CCB
0- I
2
3
4
5-7

Not used
COBOL open; ignore option

Not used
OPENR relocates DTF table addresses
Not used
Address of logic module

X'CO'
0
I
2-5
6
7

DTF type

PIOCS switches:
1= open; 0= c lased
B'I'
B'OOOO'
B'I'
B'O'

Input
Not used
Device is 3886
Not used

22

16

Error indicator byte

23

17

Lloes switches:
0-4
5
6
7

B'OOOoo'

Not used
1= SETDEV

1= Control passed to COREXIT
1= FR loaded from disk

24-31

18-IF

32-39

20-27

40-43

28-2B

44-47

2C-2F

Start address of FR area in DTF

48-51

30-33

Address of four-byte pointer at the end
of the FR crea in the DTF

52-55

34-37

EOF routine address

56-63

38-3F

Secn CON

64-71

40-47

Reed CON

72-79

48-4F

Read CON

80-87

50-57

Control

88-95

58-5F

Load format record CCW

96-99

60-63

COREXIT routine address

100- 103

64-67

I OAREA 1 orea address

104- 107

68-6B

Header crea address

108- II I

6C-6F

Exit indicator address

112

70

Start of FR area

FR phasename at open time
Phasenome of currently used FR

X'OOooOOoo'

Not used

111-38

CON

DTFOR

Bytes

ex

lJee

0-15

OO-OF

16

10

Bits

Function

Dummy CCB
0-1
2
3
4
5-7

Not used
COBOL open; ignore option
Not used
OTF table address constants relocated by OPENR
Not used

17-19

11-13

Address of logic module

20

14

DTF type, (X'09 1)

21

15

DTF type, (X'OA' if HEADER= YES)
0
I
2
3
4
5
6
7
22

16

23

17

1= Input

1= Control
1= Device is 1287
1= Header
Reserved for future use

I=RDLNE
Not used
Not used

0-6
7

Not used
1= lI0CS posts a hopper empty condition to OTF

24-39

18-27

CO

40-47

28-2F

Sense CON

48-51

30-33

lost lines (equipment check)

52-55

34-37

After 9 retries for journal tape, or ofter 2 retries for documents

56-59

38-38

Wrong length records

60-63

3C-3F

After 4 retries for journal tape, or after 2 retries for documents

64-67

40-43

Keyboard corrections

68-71

44-47

Count of data check errors

72-75

48-48

Lines marked

76-79

4C-4F

Total lines reod (CeN chains executed)

80

50

0
I
2
3
4
5
6
7

)
81

51
0
I

)

PIOCS switches:
1= Open; 0= closed

Error indicators:
I=EOP
1=
1=
1=
1=

lost reference mark indicator
tate stacker selection
Non-recovery error
Equipment check
1 Wrong length record
1 Hopper empty
1 Data check

=
=
=

LlOCS switches:
1=First time

1= 2

1/0 arees

T1T-39

I

DTFOR ( •••• Cont'd)

Bytes

Dec

He.

81
(Cont'd)

Bits
2
3
4
5-7

Function

1= WORKA= YES
1= RECFORM= FIXUNB
1= RECFORM= UNDEF
Not used

82

52

Normal command code

83

53

Control command code

84-87

54-57

IOAREA2 address

88-95

58-SF

Read CON

96-103

60-67

Go to next line CON

104-111

6B-6F

Control CON

112-115

70-73

EOF address

116-119

74-77

Correction exit addreu

120-123

7B-7B

IOAREA I address

124-127

7C-7F

DC A(&BLKS-I)

128-129

80-81

SR 13,&RECS

130-131

82-83

LR &RECS,13

132-133

84-85

LR &IOR,13

134-135

86-87

Sense

111-40

DTFMR

.,
uee

Bits

o -5

00-05

6 -7

06-07

logical class and unit numbers (primary if DUAL addressing)

08

Zero

9 -11

09-0B

CON address

12-15

OC-OF

16

10

CCB indicators

Zeros

0-1

Not used

2

COBOL open; ignore option
Not used
DTF toble address conctonts relo~oted by OPENR

3
4
5-7
17-19

11-13

Not used
Address of logic module

20

14

DTF type= X'OS'

21

15

Logic module option switches:
User disengage
Program sort mode
First time switch (after engage)

0
1
2
3
4
5
6
7

)

Function

Addressing:::: DUAL
Waiting
Read logic indicator
Not used
Supervisor initiol read (after open)

22-29

16-1D

Symbolic filename

30

IE

Open/Close switch:
0= closed; 1= open

31-33

IF-21

Open/Close option switches

34-35

22-23

logic module option switches

36-39

24-27

Error information status

40-41

28-29

length of DTF table

42-43

2A-28

Device type indicator

44-45

2C-2D

Record type

46-49

2E-31

Reserved for future use

50-51

32-33

I/O register

52-55

34-37

End-of-file address

56-59

38-38

10AREA2jl address

60-63

3C-3F

Document buffer size

64-65

40-41

Blocking factor/Number of buffers

66-67

42-43

I/o aree size

68-71

44-47

Record length

72-76

48-4C

Sense information

111-41

I
0= off; 1= on
O=no; l=yes
0= no; 1= yes
0= no; 1= yes

O=no; l=yes
O=no; l=yes
0= no; 1= yes

OTFMR

C••• • Cont'd)

Bytes

Oec

Hex

77

40

78-79

4E-4F

Bits

Function
Supervisor switch

logical cI ass and unit numbers (secondary, for DUAL
addressing only)

BO-BI

SO-51

Register alignment bytes

B2-B3

52-53

logical class and unit numbers (primary, for DUAL
addressing)

B4-B7

54-57

Document buffer size

BB

58

Command code (4C)

B9-91

59-58

Address of lost byte of first document buffer

92

5C

Command code (4C)

93-95

50-SF

Address of last byte of last document buffer

96-99

60-63

Stacker select routine address

100-103

64-67

Address of stacker select CON chain

104-107

68-6B

Current buffer address pointer (Supervisor)

108-111

6C-6F

Supervisor count

112-113

70-71

Number of buffers minus 7

114-115

72-73

Message indicator

116-119

74-77

ERROPT routine address

120- i2I

7B-79

logical class and unit numbers (secondary, for DUAL
addressing only)

122-123

7A-7B

Reserved for Future use

124-127

7C-7F

Address of lost buffer given to user

12B-131

BO-B3

Address of first byte of lost buffer

132-139

B4-BB

Channel status word (CSW)

140-143

BC-BF

Address of active GET record

144-147

90-93

GET counter

148-159

94-9F

Reserved for future use

For single addressing

160-167

AO-A7

CON - Engage

168-175

AB-AF

CON - Reed

176-IB3

BO-B7

CON - Sense

184-191

BB-BF

CON - NOP

192-199

CO-C7

CON - Stacker select

200-207

CB-CF

CON - TIC

208-215

00-07

CON - Contro I

216-223

OB-OF

CON - BN

111-42

DTFMR ( ••.• Con.'d)

Bytes

Dec

ex

Bits

Function

224-231

EO-E7

CON - Read

232-239

EB-Ef

CON - Sense

240-247

FO-F7

CON - Disengage

For DUAL Address Adapter
160-167

AO-A7

CON - Engage

168-175

AB-AF

CON - Read buffer 1

176-183

80-87

CON - Sense

IB4-191

BS-8F

CeN - NOP

192-199

CO-C7

CON - Read buffer 2

200-207

CB-CF

CON - MOD Sense

20B-215

DO-D7

CON - Read buffer 1

216-223

DB-DF

CON - MOD Sense

224-231

EO-E7

CeN - TIC

232-239

EB-lF

CON - NOP

'0 NOP

240-247

FO-F7

CCW - MOD CTL

24B-255

fB-Ff

CON - Stacker se lect

256-263 100-107

CON - MOD Sense

111-43

I

DTFMT (Data FHe,)

Bytes

Dec

ex

o -15

OO-OF

8

08

Bits

Function

Contents·

Record
Format

CCB

Input: X'OO'-

Buffer offset length, ASCII

X'63'
Output: X'OO 'X'04'
(variable)

X'OO' (undefined)
16

10

0

First time entered MTMOD for a

1
2
3
4

Not used
COBOL open; ignore option
American Notional Standard COBOL

file

DTF toble address constants reloca-

ted by OPENR
1= sponned records
1= ASCII- 0= EBCDIC
V-V,S
ASCII input: 1= Length check
V
ASCII output: 1= Buffer offset length V
length= 4

5
6
7

17-19

11-13

20

14

21

15

Address of logic module

X'11'
X'12'
X'13'
X'14'
0

Nonstandard or unlabeled
Standard labeled, output
Standard labeled, input, backwards

Standard labeled, input I forwards

1

First time switch:
I = not first-time entry
0= First-time entry
J= blocked

2

0= unblocked
1=2 I/O area's

3

0= 1 I/o area
l=workarea

0= no workarea
0= workorea, spanned

4

1= input

5

0= output
1= backwards

6
7

0= forwards
1= checkpoint
0= no checkpoint
1= TRUNC required during Close

22-29

16-10

Symbolic filename

30

IE

Same as command code in CON;

31

IF

(X'Ol', X'02' or X'Oe')
0-4

Bits 0-4 are used as displacements by
OPEN to determine the location of
variable fields of the DTF.

111-44

F/U,V
F,U,V
S

DTFMT (Data Files)

Bytes

ex

LJec
31
(Cont'd)

( •••• Cont'd)

Bits

Contents *

B'01110'
B'01100'
B'IOOOI'
B'Ol1l1'
B'01101'
B'01011'

IF

5

Function

Record
Format

F
F
V
V

Input
Output
Input
Output

Input

U
U

Output

1= Tape label information included
in DTF (see bytes 88-95)
0= Tape label information not inclu-

ded in DTF
l.~ed

6
7

by COBo.

1= Header label and EOV informatior

I

wanted

0= No header label and EOV information wanted

32

)

20

33-35

21-23

36

24

Standard labels: 1=yes; 0= no
Labels: 1= nonstandard; 0= unlabeled
Rewind un load: 1= yes; 0= no

0
1
2
3

R~wind

option: ]= no rewind;

4

0= rewind
Drive direction: 1= backwards;
0= forwards

5
6
7

User label address: 1= yes; 0= no
Tapemark option: 1= no; 0= yes
EOF-EOV switch (used by IBM
SORT): J= yes; 0= no
User label routine address

0
1
2
3
4

DTF PH: 1= yes; 0= no
COBOL indicator: 1= yes; 0= no

5
6
7

Open indicator: 1= open; 0= closed

File type: 1= input; 0= output
FEOV switch: 1= yes; 0= no

EOF-EOV switch (output): 1= EOF
O=EOV
l=variable or spanned records
1= undefined records

37-39

25-27

EOF address

40-43

28-2B

Block count

44-47"

2C-2F

BXH 11,12,
24(15)
BXlE 11,12
24(15)
l &VARBlD,
DEBlOCKER
NOP 0(0)
DCF'O'

V,S
U

Farward

F

Backward

F

If VARBLD parameter is used

V
S

DEB LOCKERT

111-45

U

DTFMT (Data Files)

B es
Dec
48-51

52-55

Hex
30-33

34-37

56-63

38-3F

64-67

40-43

68-71

44-47

( •••• Cant'd)

Bits

Contents*

Function

LA 14,1(14)
BCTR 14,0 +
NOPRO
L &RECSIZE,
DEBLOCKERI
NOP 0(0)

Backward

L &IOREG,
DEBLOCKERI
L &IOREG,
DEBLOCKER5
L EIOREG,
DEB LOCKER2
NOP 0(0)
L &RECSIZE,
IJFVSREC
51 &RECSIZE,
IJFVSREC

Record
Format

F,V,S
F,V,S

If RECSIZE given

U

For input if not NOP

U

If [OREG specified

F

If [DREG specified

V

If [DREG specified

U

If na 10REG
If spanned input

S

If spanned output

S

CeN
DC A(lOAREA I)
DC A(IOAREA I
+BLKSIZE-I)
DC A(lOAREA2)
DC A(IOAREA2
+BLKSIZE-I)
DC F'O'
DC A(IOAREA I
+BLKSIZERECSIZE)
DC A(lOAREA I)
DC A(lOAREA2)
DC A(BLKSIZE)
DC A(IOAREAI)
DC A(IOAREA2)

One I/O area

One I/O area, read backward
Two I/O area's
Two I/o area's, read backward
Input
Input backward: DEBLOCKERJ

F
F

1 I/O areal output: DEB LOCKER 1
2 I/O area's, output: DEBLOCKERI
DEBLOCKERI, EBCDIC
I I/O area, DEBLOCKER2
2 I/O area'" DEBLOCKER2

F
F
V,S
U
U

72-75

48-4B

DC F 'RECSIZE'
DC F'-RECSIZE'
DC A(IOAREAI)
DC A(IOAREA2)
LA 14,1(14)
BCTR 14,0 +
NOPRO

Forward: DEBlOCKER2
Backward: DEBLOCKER2
I I/O area, DEBLOCKER2
2 I/O area's: DEBlOCKER2
FOl"'Ncrd
Backward

F
F
V,S
V,S
U
U

76-79

4C-4F

DC F'O'
DC A(lOAREAI
+BLKSIZE RECSIZE)
DCA(lOAREAI
+B LKSIZE-I)
DC A(lOAREA2
+BLKSIZE-I)

Input forward: DEBLOCKER3
Input backwards: DEBLOCKER3

F
F

Output I 1 I/o area: DEB LOCKER3

F

Output, 2 I/O area's: DEBlOCKER3 F

111-46

DTFMT (Data Files)

Bytes

Dec

Hex

( •••• Cant'd)

Bits

Function

Contents

DC F'O'
DEBLOCKER3
DC Y(BLKSIZE) (Bytes 76-77 anly)
DC Y(B LKS IZE (Bytes 78-79 anly)

76-79
(Cant'd)

Record
Format

V,S
U
U

-I)
80-83

84-B7

50-53

54-57

DC Y(BLKSIZE)
+ Y(BLKSIZE-I)
DC &(BLKSIZE)
+Y(BLKSIZE+I)
DC F'O'
LR 12,RECSIZE
DC H'O'

Forward

F

Backward

F

DEBLOCKER4
(Byt.s BO-81 anly)
(Bytes 82-83 anly)

V,S
U
U

DC Y(RECSIZE
-I)

(Bytes B4-85)

F

(Bytes 86-87) Output, Standard labels F
DC A(IOAREAI I I/o area, DEB LOCKER 5, EBCDIC V,S
+4)
DC A(IOAREA2 21/0 area's: DEB LOCKER 5, EBCDIC V,S
+4)
DC A(IOAREA 1 1 I/o area' DE6LOCKER5, ASCII
V
+6UFOFF)
DC A(IOAREA2 2 I/O area'" DEBLOCKER5, ASCII V
+6UFOFF)
(Bytes 84-85 output only)
DC 2X'00'
F,U

DC 2X'OO'

628(15)
624(15)
628(15)
DC A(ERROPT)
B8-91

56-56

DC A(WLRERR)
624(15)
626(15)
DC 2X'00'
DC A(ERROPT)

Standard lobe Is; resp.rved for OPEN
Input only, ERROPT;;; omitted
Input on1YI ERROPT:: SKIP
Input only, ERROPT== IGNORE
Input only, ERROPT==ADDRESS
Input only, WlRERR::= ADDRESS
Input only, WLRERR omitted and
ERROPT= SKIP

Input only, WLRERR omitted and
ERROPT= IGNORE or omitted
Output only, standard labels (bytes
88-89), reserved for OPEN
Input only, WLRERR omitted and
ERROPT = ADDRESS

90-95

5A-SF

DC 6X'00'

File serial number, Standard labels,
Output only

92-95

5C-SF

DC A(ERROPT)

Input only, ERROPT= ADDRESS
Output, nonstond"'rd labels only.
ERROPT= ADDRESS

626(15)
624(15)
626(15)

U
U
U
U

Inpu~ only, ERROPT= omitted
Input only, ERROPT= SKIP

Input anly, ERROPT= IGNORE

96-99

60-63

DC 4X'00'

Volume sequence number, Standard
labels, output only

96-97

60-61

DC 2X'00'

Standard labels, input only, reserved
for OPEN

111-47

"Q

~

g
~

a
8
i!-

g
-<

I

DTFMT (Data FHes)

B tes
Dec

Hex

98-103

62-67

( •••• Cont'd)

Bits

Contents*

Function

Record
Format
~

File serial number, Standard labels,

DC 6X'OO'

0

Input only.

~

100-103

64-67

DC 4X'00'

File sequence number, Standard
labels, output only

g

104-107

68-69

DC4X'00'

Volume sequence number I Standard

~

DC A(ERROPT)

;;

labels, input only
Output only, Standard labels only.

8

e-o

ERROPT= ADDRESS
108-111

6C-6F

DC 4X'00'

File sequence numberI Standard

88-91

58-59

DC F'O'

DE9LOCKER6

92-95

5C-5F

C~

Output only, Nonstandard lobe Is
only. ERROPT= ADDRESS

92-93

5C-5D

DC Y(9LKSIZE) Input only
DC Y(9LKSIZE Output onlr- EBCDIC
-4)
DC Y(9LKSIZE Output only:-ASCII
-9L1FOFF)

,
-<

label, input only

A(ERROPT)

94-95

5E-5f

DC Y(9LKS1ZE
-1)

96-97

60-61

DC Y(RECSIZE
-1)

98-99

62-63

DC H'O'

Input only: Residual count

100-103

64-67

DC A(WLRERR)
924(15)

Input only, WLRERR=ADDRESS
Input only, WLRERR= omitted and
ERROPT= SKIP

932(15)

Input only, WLRERR= omitted and
ERROPT= IGNORE or omitted

100-101

64-65

(Vonly)

~

Q

Output only, Standard labels, reser-

DC 2X'OO'

ved for OPEN
104-107

68-69

DC A(ERROPT)
928(15)
B 24(15)
B 28(15)
DC A(ERROPT)

108-111

6C-6F

DC4X'00'

108-109

6C-6D

DC 2X 'OO'

Input only, ERROPT= ADDRESS
Input only, ERROPT= omitted
Input only, ERROPT= SKIP

Input only, ERROPT= IGNORE
Output, NonstQ1dard labels only
(version 3 onwardh ERROPT=ADDRESS
Volume sequence number; Standard
labels, autput anly
Standard labels, input only; Reserve
for OPEN

110-115

6E-73

DC 6X'00'

File serial number; Standard labels,
input only

112-115

70-73

DC 4X'OO'

File sequence number; Standard labelr'
output only

111-48

~

g:

if

f;r
i

1
it
;;;

~

DTFMT (Data Files)

Bytes
Dec

116-119
116-119

He.

74_77
74-77

( •••• Cont'd)

Bits-

Function

Contents·

DC' A(ERROPT}
DC4X'00'

Record

Format
a."

Output only, ERROPT= ADDRESS,
Standard labels only
Volume sequence number; Standard

labels, input only

120-123

7B-7B

DC4X'00'

File sequence number; Standard

labels, input only
86-91

56-58

DC 6X'00'

88-91

58-58

DC A(WLRERR}

File serial number; StondClrd lobe Is,

a.~

• <
o ,0

0..
§

"

gm

li'

.,.

f

. '"
a.~

output only

B 24(I5}

Input only; WLRERR= ADDRESS
Input on Iy; WLRERR= omitted and

I

ERROPT= SKIP

B 28(15}
DC A(ERROPT}

Input only; WLRERR= omitted and
ERROPT= IGNORE or omitted
Input only; WLRERR= omitted and
ERROPT= ADDRESS. Output only;

nonstandard labels, ERROPT= ADDRESS
92-95

SC-5f

DC4X'00'

92-93

5C-5D

DC 2X'OO'

Volume sequence number; Standard
labels, output only
Standard labels; input only, Reserved

for OPEN
94-99

5E-63

File serial number; Standard labels,

DC 6X'00'

input only

96-99

60-63

DC4X'00'

File sequence number; Standard
labels, output only

100-103

64-67

DC4X'00'

Volume sequence number; Standard
labels, input only

100-103

64-67

DC A(ERROPT)

."

~

i[
@

lg
'<

Output only; Standard labels only,

ERROPT= ADDRESS
100-103

64-67

DC 4X'00'

Volume sequence number; Standard
labels, output only

104-107

68-68

DC4X'00'

File sequence number; Standard
labels, input only

100-103

64-67

DC A(WLRERR}
824(I5}

Input only; WLRERR- ADDRESS
Input only; WLRERR= omitted and

ERROPT= SKIP
832(I5}

Input only; WLRERR= omitted_and
ERROPT= IGNORE or omitted

~

~

100-101

64-65

DC2X'00'

Output only; Stondard labels,
reserved for OPEN

102-107

66-68

File serial
number

Standard labels, output only

lg

100-103

64-67

DC4X'00'

Output only; ERROPT= ADDRESS

'<

Nonstandard lobe Is on Iy

J

."

g

111-49

~

DTFMT (Data FHes)

Bytes

Dec
100-123

Hex

( •••• Cont'd)

Bits

Contents*

DC 24X'00'

64-7B

Function

Record"
Format

Output only; ERROPT= omitted,
nonstandard labels

104- 107

68-68

DC A(ERROPT)
824(15)
824(15)
828(15)

104- 107

68-68

DC A(ERROPT)

Input
Input
Input
Input

only;
only;
only;
only;

ERROPTo ADDRESS
ERROPT= omitted
ERROPTo SKIP
ERROPT= IGNORE

Output only; ERROPT= ADDRESS,
nonstandard labels

108-123

DC 16X'00'

6C-7B

Output only; ERROPT= ADDRESS I
nonstandard labels

108-111

Volume sequen- Standard labels, output only

6C-6F

ce number

112-115

File sequence

70-73

Standard labels, output only

number

116-119

74-77

DC A(ERROPT)

Output only, ERROPT= ADDRESS,
standard lobe Is

120-123

78-7B

DC 4X'00'

Output only, ERROPT= ADDRESS,
standard lobe Is

108-123

6C-7B

DC 16X'00'

Input only, nonstondard labels

108- 109

6C-6D

DC 2X'00'

Standard labels, input only, reserved
for OPEN

110-115

6E-73

File serial

Standard labels, input only

~

a

1
;;

8

~

number

a

Volume sequen- Standard labels, input only

-<:

0

116-119

74-77

120-123

7B-7B

ce number

File sequence

Standard labels, input only

number

124-127

7C-lF

DC F'O'

128

80

DC X'OO'

Full word for loading and storing

USER RECSIZE, IJFVSREC
IJFVSFLG
Sign bit I not used
Skip to first segment
First segment
Segment out of sequence, input only
Read back for EOV, output only
File reversed for logical spacingi
Input CNTRl onlYi Trunc issued, output only
User Trunc issued, output only

0
I
2
3
4
5

6
7

Mult; segment, output only; Sidp Gei
segment, input CNTRl only

129-131

81-83

DC 3X'00'

Pointer within WORKA

See Notes on next page

III-SO

DTFMT (Dete Files)

( •••. Cont'd)

* The format of the tape data file DTF is different starting at byte 44.
The location indicated by the numbers in the left hand column can contain only
one of the foctors listed under Contents.
The factor used for any given DTF table is determined by whether the file record
format is-fixed, variable or undefined, and by other DTF parameters as indicated.
A blank in the record column indicotes that the contents apply to all record types.
•

Record Format explanation
F :::: Fixed Record
V :::: Variable

U :::: Undefined
S :::: Spanned (variable format superset)

The deb lockers ore scratch areas used by the modules t~ sove data from one GET/
PUT macro instruction to another. In the text and listings, they ore referred to by
the names DEBlOCKERl to 6. These are not labels; they are comments used to
make it easier to follow the listings.
-

Ill-51

I

DTFMT.(Workfiles)

Bytes
Dec

Hex

o -15

OO-OF

16

10

17-19

11-13

20

14

21

15

Bits

Function

CCB
0-1
2
3
4
5-7

Not used

COBOL open; ignore option
1= VOll label is at user specified density

1= DTF table address constants relocated by OPENR
Not used

Address of logic module
DTF type= X'10'
0
1
2
3
4
5
6
7

l=No rewind
J= Rewind unload
I=Workflle
1=Read backward
1= Write
I=POINTW
Not used

1= Forward-space file before next operation

22-23

16-17

Not used

24-25

18-19

Record length

26-27

lA-lB

Maximum BLKS IZE

28

lC

Read command code (X'02 1 for read forward; X'OC I for read

backward)
29-31

lD-1F

EOF address

32-39

20-27

CCW

40-43

28-2B

Block count, initialized 00000000 for read forward, 00400000

44

2C

45-47

2D-2F

for read backward

0
1
2
3
4-7

1= Error routlne
1= Ignore
Not used
1= Record fixed unblocked
Not used

DC A(ERROPT) Acldrelis of error routine

III-52

DTFSD (Da'a FHes)
DTF Assembly

label
&Filename

B tes
Dec
Hex

a -15

OO-OF

16

10

17-19

Command Control Block (CCB)
0
I
2
3
4
5

1= Dequeue old volume extents
1= Dummy OPEN to obtain extents from label track
1= File assigned 'IGN' (COBOL)

6
7

1= Sponned processing

11-13

20

14

21

15

Function

Bits

1= Track hold option specified
1= OTF reloco~ed by OPENR
1= Input trailer labels tobe processed at close time
(COBOL only)
1= COBOL end-oF-extent option specified
Address of logic module
OTF type for OPEN/CLOSE (X'20'= seguential
access DASD fi les)

a

1= Not used

I
2
3
4
5
6
7

1= Blocked file
l=Work file
1= Workarea specified
1= Not a Version 1 type table
1= Open; 0= closed
1:::: Input; 0= output

1= User labels specified

22-2B

16-lC

Filename (OTF name)

29

10

Device type code:

X'OO'= 2311
X'OI'= 2314,2319

Note:
~vious versions, last

3330-1,-2 byte of filename contains
device type code
X I 05 '= 3330-11
X '07 '= 3350
X '08'= 3340 general
x' 09 '= 3340 35MB
X 'OA '= 3340 70MB
X'04

t::

30-35

IE-23

36-37

24-25

Volume sequence number

3B

26

Open communication byte:
Input file

Address of Format I label in VTDC (BCCHHR)

a
I
2
3
4
5
6
7

1= No more extents
1= Update file
1= Process trailer labels
1=:= Exit to user's EOF routine
1= Next extent on new volume
1= Return to close routine
1= Process header lobe Is
1= Extent switch
Output file

a
I
2
3
4
5

)

1= No more extents
1= Extents needed at close time
1= Process trailer labels
1= Process header lobe Is
1= Next extent on new volume
1= Extents entered via console

111-53

I

DTFSD (Data Files)

( •••. Cont'd)

Bytes
DTF Assembly
Hex
Label
Dec

I

Output file (Cont'd)

38
(Cont'd)
39

Function

Bits

27

6

1= Process trailer lahels at close

7
0

1= Check extent for minimum of 2 tracks
1= Extent bypassed before file is opened (input
only)

1
0-7

1= FEOVD has been issued (input only)
Sequence number of current extent opened

(Output only)
40
41-43
44

28
29-2B
2C
0
1

Sequence number of last extent opened

Address of user's label routine
not used

1= Device supports RPS

2

1= Version 3 DTF

3-6

not used

7

1= DTF has been extended into the partition
virtual area

&Filename.S

45-47
48-51
52-53
54-57
58-59

2D-2F
30-33
34-35
36-39
3A-3B

60-63
65-67

3C-3f
40
41-4

68-71

44-47

64

Address of IOAREA 1
CCHH address of user's lobe I trock (X'80000000')
Lower heed limit (HH)

Extent upper limit (CCHH)
Seek address (BB) :
X'OOOO' if a disk device
Seorch argument (CCHH)
Record number

EOF address if input file; Key length and data
length if output file
CCHH control field:
CCHH= X '00C80009 I if 2311 - type 1
CCHH= x'OQC80013' ;f 2314
2319 - type 1
CCHH=X'01940012 , ;f3330 - type I
CCHH= X '03280012' ·If 3330-11 - type I
CCHH=X'015COOOB' If 3340 35MB
CCHH=X '02B8000B ' ;r 3340 70MB
CCHH=X '022BOOI D' If 3350 - type 1

0'

72

48

73

49

where nn= current upper head number
Number of records per track (input) or number of
records per track - minus one (output)
Switch byte used by the logiC modules for various
switching purposes. Functions indicated are for
the ON condition(l) of the respective bit.
Fixed length Record Modules

0
1
2
3
4

Not first entry after Open (INPUT and UPDATE)
Not first write after Open (OUTPUT)
Short record (INPUT and UPDATE without
truncation)
Partial block written (OUTPUT)
ERROPT= SKIP (INPUT); TRUNC= YES (OUTPUT)
End-of-file record written (OUTPUT)
End of extent (UPDATE)

III-54

DTFSD (Data Fnos)

DTF Assembly
Label

Dec

( .•.. Cant'd)

Bytes
Hex

73
(Cont'd)

Bits

Function

5
6
7

Truncation not specified (used by OPEN routines)
Write block of records (UPDATE)
End of Hie (UPDATE)

Fixed length Record Modules (Cont'd)

Variable length Record Modules

0

Not first entry after OPEN (lNPlIT and UPDATE)
Write record (OUTPUT)

I

Wrong length record (INPUT); TRUNe::: YES

2

{OUTPLJT)i Second GET operation performed (UPDATE)
Return to close routine (OUTPlfT)

Update specified (UPDATE)
3
4
5
6

7

Not first entry after OPEN (OUTPUT)
New extent required by CLOSE
Capacity of I/O area exceeded (OUTPUT)

Second GET required (UPDATE)
Not first read (INPUT)
Second GET issued (UPDATE)
Unnecessary to read (lNPUf)
Track capacity exceeded (OUTPUT)
Save record count (UPDATE)
Undefined length Record Modules

0
I
2
3
4
5
6
7

Not first entry after OPEN (All modules)
Save record count (UPDATE)
Return to close routine (OUTPUT)
Second GET issued (UPDATE)
Not used
PUT command issued (UPDATE)
End of file reached (UPDATE)
Multi-track operation (UPDATE)

74-75

4A-4B

Block size minus I

76-BO

4C-50

CCHHR= Extent lower limit and record number.
Field is used as a search argument bucket by the
logic modules

BI

51

BI-83

51-53

Address of user wrong-length record routine if
input file; Track capacity counter if output file

84-87

54-57

Instruction to load user's register IOREG.
(Note: This field is a NOP unless blocked records
are processed in one I/O area, or two I/O areas
are specified and records are processed in the
I/O areas)

88-91

58-5B

Address of current available input/output area

92-95

5C-SF

Logical record size

96-99

60-63

Address of end of input/output area

I

1= FEOVD has been issued (output only)

III-55

)

I

DTFSD (Data FHe.)

( •••• Cont'd)

DTF Assembly
Bytes
Label
Dec
Hex
100

Function

Bits

64
0
I
2
3
4
5

logical indicators:
1= ERROPT= address

1= ERROPT= IGNORE
1= ERROPT= SKIP
1= VERIFY=YES

1=2 VOereas
l=WLRERR=address (fixed length and variable
records)

1= Output file (undefined length records)
6
7
101-103 65-67
104-111

1= Fixed-length records
0= Variable or undefined length records
Control parameter specified
Address of user's read error routine

Seek CON

68-6F

112-119 70-77

Search 1D. Equal CON

120-127 78-7F

TIC CON

128-135 80-87

Read/'Nrite Data CON

This is the end of the common portion of the DTFSD table. The followmg sections are a
added depending on the parameters specified in the operand of the DTFSD macro instruction.

DTF Assembly
Bytes
Label
Dec
Hex

Bits

Function

Record
Format

If RECFORM= FIXBLK and TRUNCS=YES
136-143 88-8F

Read count CON

144-151

Count fie Id input area

90-97

If CONTROL= YES, the following section is added
152-167 98-A7
168-175

AB-~

Control CO

Control CON

If UPDATE= YES

~

136-143 88-8F

Search ID Equal CON

144-151

TIC CON

90-97

152-159 98-9F

Verify CON

If CONTROl= YES, the following section is added

160-175

ig

AO-~

176-183 BO-B7

Control CCB
Control CON

If RECFORM=FIXBLK, TRUNCS=YESand UPDATE=YES
136-143 88-8F

Read Count CeN

144-151

Search ID Equal CON

90-97

III-56

;
8

i!.
S·

!
if

DTFSD (Data Files)

(•••• Cont 'd)

DTF Assembly
Bytes
Hex
Label
Dec

IBits

Function

Record
Format

If RECFORM= FIXBLK, TRUNCS= YES and UPDATE= YES (Cont'd)
152-159 98-91'

TIC CON (Bytes 158-159 contain saved
block length If two files are using same

.ifa
."

logic module)
160-167 AD-A7

Verify CON

168-175 AB-AF

Count field input area

n

a

If CONTROl= YES, the following section is added

176-191 BO-BF

Control CCB

192-199 CO-C7

Control CON

I

/

136-151

8B-97

152-159 98-91'
136-143 BB-8F
144-151

90-97

152-159 98-91'

r

Control CCB
Control CON
Search 10 Equal CON
."

TIC CON

[

Verify CON

a
a.
if
S

If CONTROL is not specified

160-163

AD-A3

End-of-extent routine address (primarily

used by COBOL compiler)
If CONTROL= YES

~
g

160-175 AD-AF

Control CCB

-if
So

176-1B3 BO-B7

Control CON

f

184-187 B8-BB

I

f

If TRUNCS or UPDATE are not specified, no additions are made to the OTFSD
table except when CONTROL=YES is specified, the following section is added.

End-of extent routine address (primarily

used by COBOL compiler)

136-143 B8-BF

Read count CON

i§~

If UPDATE Is not specified:

144-151

90-97

Count field input area

If CONTROL= YES·

*

152-167 98-A7

Control CCB

168-175 AB-AF

Control CON

~

176-179 BO-B3

logical record length

~

lBO-1B3 84-B7

RX type instruction

These bytes are always generated when spanned processing is specified

III-57

/

~ ~~

Q.;m
ac.._
8 ;- g
a.~ ;:.
_. ""

iJ ...

Cil

8S

=a.~

.

DTFSD (Da'a Files)

DTF Assembly!
Label

( .... Can' 'd)

Bytes
Dec

IBits

Record

Function

Hex

Format

~

If UPDATE is not specified:(Cont'd)

i

t----.,::-:==-::-''-:-:==---:-::-------------I~

;

~

s:

--lH ~

I-I_f_C_O_NTT_RO_L=_Y_ErS_{:...Cron_'_'d.:..)_ _ _ _ _ _ _ _ _ _ _
184

B8

0
1

2
3-7
185-187 B9-BB

No' used
1= Skip segment

8

•

a.i" ~

1= Spanned first time
Not wed

~':r ~

Pointer in logical record

a-:a--

c CiI ~
:;'8 ~

If UPDATE= YES:

~ "5-

144-151 90-97

Search ID Equal CON

~

152-159 98-9F

OCC~

!~

Verify CON

~ ~

160-167 AO-A7
168-175

AS-AF

176-183 BO-B7

g

Count field input area

:;:.

Count field save area if one IVO area

gg 3:-CiI

Count field save area if two Vo areas
0. S
184-191 B8-BF
I---~---L-+-~-------~-----l~'a.

If CONTROL= YES'

F-~~~~~-+-C-o-n-'ro~I-C-C-B-----------I
;~
192-207 CO-CF
Control CON

08-215 DO-D7
216-219 D8-DB

logical record length

220-223 DC-DF

RX type instruction

224

EO

0
I
2
3
4
5
6
7

a-

Not used

1= Skip segment
1= Spanned first time

1= Null segment
1= Spanned PUT return
Not used
Not used
]= No update

225-227 EI-E3

Pointer in logical record

228-235 E4-EB

Count save area

236-239 EC-EF

Extent status save area

136-143 88-8F

Search 10 Equal CON

144-151 90-97

TlCC~

152-159 98-9F

Verify CON

160-163 AO-A3

Space remaining in output area

164-165 A4-A5

Track capacity

166-169 A6-A9

Instruction to load user IS register VARBlD
(If VARBlD is not specified, instruction
is NO-OP)

.. These bytes are always generated when spanned processing is specified

III-58

8

~

g:

a.m

ig
a'a
ib:
:rg
~

t

~

a
c

a'-

0-

if
::::ca
a~
a.

DTFSD (Data FHe,)

DTF Assemb Iy
Lobel

( •.•. Cant'd)

B tes
Dec

Hex

Bits

Function

If CONTROL= YES'
170-172 AA-AC

Not used

173-175 AD-AF

End-of-extent routine address (primarily
used by COBOL compiler)

176-191 BO-BF

Cantml CCB

192-199 CO-Cl

Cantml CeN

200-203 C8-CB

Logical record length

204-207 CC-CF

RX type instruction

208

Not used
Not used
1= leading segment
1= Output block truncated
1::: End of track
1= Track truncated

DO

1=

Save count
1::: Volume spanned

209-211 Dl-D3

Pointer in logical record

212-219 D4-DB

Count save area

220-223 DC-DF

Extent status save area

136-143 88-8F

Search 1D Equo 1 CON

144-151 90-97

TIC CeN

152-15998-9F

Verify CON

160-161 AO-AI

Track capacity

If CONTROL= YES

162-164 A2-A4

Not used

164-167 M-A7

End-of-extent routine address (primarily

168-183 A8-B7

Control CCB

184-191 B8-BF

Control

used by COBOL compiler)

ci:::vI

* These bytes are always generated when spanned processing is specified

III-59

Record
Format

DTFSD (Werklile,)

Bytes
DTF A.sembly
Hex
Label
Dec
0-15
&Filename
OO-OF
16
10

17-19
20

11-13
14

21

15

Command Control Block (CCB)
0-1
2
3
4
5-7

2
3
4
5
6
7
22-28
29

Function

Bits

16-1C
ID

Not used

1= File ",,;gned 'IGN' (COBOL)

t= Track hold option specified
1= DTF relocated by OPENR
Not used
Address of logic module
DTF type fer OPEN/CLOSE (X'20' =,equenHal
access DASD files)
0= Disk device
1= CLOSE macro is not to delete Format 1 and
Fonnet 3 file labels
1= Work file
Type of open: 1= Point; 0= Normal
1= Routine entered from close routine

1= File opened; 0= File closed
Not used
1= Re-entry to close routine
Filename (OTF nome)

Device type Code:

X'OO'= 2311
X'OI' =2314, 2319
X'04'= 3330-1, 2
IX'OS '= 3330-11
be '07 '= 3350
X 'Q8 '= 3340 general
X 'oq '= 3340 35MB
X'OA '= 3340 70MB
In previous versions, last byte of filename
contains device type code
Track capacity counter
Address of Format 1 lobe I in VTOC (CCHR)
Note:

30-31
32-35
36
37

IE-IF
20-23
24
25

Extent sequence number

38
39

26
27

Open communication byte
Not used
1= Device supports RPS
1= Version 3 OTF
1= symbolic unit in DTF
1= next extent on new volume
1= extent opened
Not used
1= DTF has been extended into the partition
virtual area
lower head limit
Upper head limit

40-41
42-45
46-49
SO-53

28-29
2A-2D
2E-31
32-35

Record length
Initial extent lower limit
Current extent lower limit
Extent ul?per limit

0
I
2
3
4
5
6
7

&Filename.L

111-60

DTFSD (Workfiles)

( •••• Cont'd)

DTF Assembly
B tes
Hex
Label
Dec

Bits

Function

Seek address (BB= X'OOOO')

8filename.S 54-55

36-37

56-59

38-3B

Search address (CCHH)

60

3C

Record number

61

3D

Switch byte used by logic module
0
1

1= First write entry indicator

l=Write update indicator

2

1= POINTS macro issued

3

Not first record of a track (RECFORM= UNDEF)
1= Track upper limit reached
Not used

4
5
6
7

]=

Check after read/write

Not used

62-63

3E-3F

Maximum record length

64

40

Verify chain bit

65-67

41-43

Address of user's EOF routine

68

M

logical indicators
0
1
2
3
4
5
6-7

1= ERROPT= address
1= ERROPT= IGNORE

1= Fixed-length unblocked records
1= Verify specified
I=ERROPT= SKIP
1= Re-read after read error

Not used

69-71

45-47

Address of user read/write error routine

72-143

48-8F

CON chain for work files

IM-151

90-97

Input area for Verify CON and Read Count CCW

111-61

)

I

DTFDA

B tes

DTF Assembly Module DSECT
Label
&Filename

Label
IJICCB
IJIMOD

Dec

Hex

0-15

aD-OF

16

10

17-19
20

11-13
14

21

15

Function

Bits

Command Control BJoc:k (CCB)

1= Trailer labels
Used by FREE macro
1= COBOL Open/Ignore option
1= Track hold option specified
1= DTF relocated by OPENR
Not used

0
I
2
3
4
5
6
7

1= SPNUNB

Used by CNTRL macro
Address of logic module
DTF type fo, OPEN/CLOSE

(X'22'= direct access files)
IJISWI

1= Output; 0-=0- Input

1= Verify option specified
1"" Search multiple track (SRCHM)
specified
1= WRITE AFTER

0' WRITE RZERO

mocro used

1;;: IDLOC specified
Jo=; Undefined; 0 = FIXUNB,

0'

IJIFNM
IJIDVTP

IJIUNT

22-28
29

30-31

VARUNB
SPNUNB
1= RELTYPE= DEC
1= End of file
filename (DTF name)

16-IC

Device type code: X'05'=3330-11

ID

X'00'=2311
X'07'=3350
X'Ol'=2314,2319 X'08'=3340 general
X'09'=3340 35MB
X'04'=3330-1, -2 X'OA'=3340 70MB
Starting logical unit address of
the first volume containing the

IE-IF

IJIRPS

32

20

IJIULB
IJIUXT

33-35
36-39

21-23
24-27

IJIRELPT

40

28

IJIERC

41-43

29-2B

IJITST

44-45

2C-2D

0
1
2-6

7

data file. This value is supplied
by the OPEN from EXTENT cords
(con be initially zero)
Not used
1= Device supports RPS
Not used
1= DTF has been extended into
the partition virtual area
Address of user's label routine
Address of user's routine for processing EXTENT information
Pointer to re lative address area:
&Filename.P - &Filename

2

111-62

Address of a 2-byte field in which
lOCS can store the error condition or status codes
Macro code switch for internal use:
X'OOOO'= READ 10
X'OOO I' =READ KEY
X'OO02'= WRITE ID
X'OOO3'= WRITE KEY
X'0004'= WRITE RZERO
X'0005'= WRITE AFTER

DTFDA ( .... Contld)
Bytes
Dec
Hex

DTF Assembly Module DSECT
label
Label

&Filenome.Z

Bits

Function

2E-2F

Pointer to channel program build
area (8filenome.B) minus 32

4B-63

30-3F

Control seek CCB

64-71

40-47

Control Seek CON for overlap
seek routine

IJIXMD

72-75

48-48

Channel program builder instruction: Xl 36(2)/C'O'

IJIMSZ

76-77

4C-4D

Maximum data length for FIXUNB
or UNDEF records; BlKSIZE for
VARUNB or SPNUNB records

IJISPT

78

4E

IJIBPT

46-47

IJICB2
IJICCW

Pointer to READ ID string (File
ncme.Dh X'OQ' if no READ ID
issued

79

Pointer to READ KEY string (File

4F

name. I); X'OO' if no READ KEY

issued
80

Pointer to WRITE [D string (File

50

name.2)j X'OQ' if no WRITE 10
issued

81

Pointer to WRITE KEY string (File

51

nome.3); X'OQ' if no WRITE KEY
issued

82

52

Pointer to WRITE RZERO string
(FilenameA)i X'OO' if no WRITE

83

53

Pointer to WRITE AFTER string
(Filename.5); X'OO' if no WRITE
AFTER issued

84-85

54-55

Track constant:
231 h
H'O'
H'20'
2314/2319, H'O'
H'45'
3330,
H'135'
H'191'
3340,
H'167'
H'242'
3350,
H'l85'
H'267'

RZERO issued

IJITRK

IJIRIC

86-87

56-57

IJILAT

88

58

111-63

if key
if key
if key
if key
if key
if key
if key
if key
if key
if key

length=O
length;iO
length=O
lengthiO
length=O
lenQthiO
length=O
lengthi4J
length=O
length;lO

2311 ,
H'61'
2314/2319, H'101'
3330,
H'135'
3340,
H'167'
3350,
H'l85'

0
1
2
3
4

Not used
1= Wrong-length record
1= non data transfer error
Not used
1= no room found

I

DTFDA ( •••• ConI 'd)

DTF Assembly Module DSECT
Lobel
Lobel

B es
Dec

He.

88
(Conl'd)
89

Bits

Function

5-6 Not used
7 1= Record out of extent area
59

0
I
2
3

1= Data check in count area

1= Track overrun

1= End of cylinder
1= Data check when reading key
or data

4
5
6
7
IJILBTK

90-95

SA-SF

]= No record found

1= End of file
1= End of volume
Not used

Label track oddress, XBCCHH,
where X is the volume sequence

number of the device on which the
label track is located.
The following section is included if UNDEF, AFTER or RZERO is specified

&Filename.l

IJILST

96-143

6O-8F

144-183

9O-B7

184-IB5

B8-B9

Basic CCW's to build channel program
Basic CeN's for undefined length
or formatting macros

IJIVIT

Instruction to give record length

to user if record length is undefined
(NOPR 0 if no RECSIZE specified)

IJIFRU

186-1B7

BA-BB

Instruction to get record length
from user if record length is unde-

fined. (NOPR 0 if no RECSIZE
specified)

&F i lename. F

IJIFLD

188-192

BC-CO

Work orea (used for RO address -

&Filename.K

IJICNT

193-200

Cl-C8

Work area (used for RO data field)

8filename.C

IJICTS

201-208

C9-DO

Work area (included only for spanned or variable records for record
count field)

CCHHO)

The channel program builder strings are generated following the DTFDA table and preceding
the channel program building area
&Filename.O

Variable

&F i lename. 1

Variable

Channel program builder string for
READ ID macro. If READ 10 is not
specified, the string is not generated
Channel program builder string for

READ KEY mocro. If READ KEY is
not specified, the string is not generated
Bfilename.2

Variable

Channel program builder string for

WRITE ID mocro. If WRITE ID is
not specified, the string is not generated

111-64

DTFDA ( ••.• Cont'd)

DTF

~:~Iy Mod~~~SECT

t-"D""ec,.:B,yt,e;:""H"'ex,,--lBits

8filename.3

Variable

Function
Channel program builderstring for

WRITE KEY macro. II WRITE KEY
is not specified, the string is not
generated

8filenome.4

Variable

Channel program builder string for

WRITE RZERO macro. II WRITE
RZERO orWRITE AFTER is not specified, the string is not generated

&filename. 5

Variable

Channel program builder string for

WRITE AfTER macro. II WRITE
RZERQ or WRITE AFTER isnotspe-

~~~~-L~____~~~~__~____~~c_;I_;e_d~,_th""e_'_tr~;n~g~;'_n~o_tg~e_n_er_o_te_d-i
The following section contains the channel program build oreas and varies in size
&filename.S

0-7

I

Seek CON that is generated ot
program assembly time and used
by all channel programs

00-07

Variable

Area to build:
1) Eight CON's if AFTER is not
specified
2) Eight CON's if spanned or variable length records and AFTER=
YES is specified
3) Seven CON's if undefined or
fixed records and AFTER::: YES
is specified

Variable

Area to build:
1) Eight CON's if AfTER is not
specified and VERIFY::: YES is
specified
2) Eight CON's if spanned or variable length records and AFTER:::
YES and VERIFY::: YES are specified
3) Five CON's if undefined or fixe
records and AFTER= YES and
VERIFY= YES are specified

The following section is added for spanned records only
8 bytes

Count save area

8 bytes

SEEKADR save area

1 byte

111-65

1= Relative addressing
1= UIGET switch on
1= Ignore hold switch on
1= Reserved for use by DAMODV
1= New volume SEEKADR
5-7 Not used

I

DTFDA ( ••.• Cont'd)
DTF Assembly Module DSEcr
Label

label

Bytes
Uec

ex

1 byte

Bits

Function

Reserved

2 bytes

Record size

12 bytes

Work area

Contro I word save area

8 bytes

Thefollowingsection is added to the DTFDA table if DSKXTNT (relative addressing) is specified
8filename.P

3 bytes

3X'OQ' for podding

8filename.1

5 bytes

IDlOC record area (bucket used by
module)

&Filename. 5

8 bytes

SEEKADR in the form:
M,B l,B2,Cl,C2,Hl,H2,R

4 bytes

DC A( &SEEKADR)

&Filename.X

4 bytes

DC A(&IDLOC)

8 bytes

Work area for RELTYPE= DEC

4 bytes

Save area for CCHH portion of
actual DASD address
Alteration factor for Cl in SEEK

4 bytes

ADR (see bytes 112-119)
2311
X'OOOOOOOI'
2314/2319, X'OOOOOOOI'
3330
,X'OOOOI300'
,X'OOOOOCOO'
3340
3350
,X'OOOOl EOO'
Alteration factor for C2 in SEEK

4 bytes

ADR (see bytes 112-119)
2311
X'OOOOOOOA'
2314/2319, X'OOOOOOI4'
3330
,X'OOOOOOI3'
3340
,X'OOOOOOOC'
3350
,X'OOOOOOl E'
Alteration factor for Hl in SEEK

4 bytes

ADR (see bytes 112-119)
2311
X'OOOOOOOI'
2314/2319, X'OOOOOOOI'
3330
,X'OOOOOOOI'
3340
,X'OOOOOOOI'
3350
,X'OOOOOOOl'
Variable

DSKXTNT table composed of a

to end of

variable number of B-byte entries

DTF table

containing extent information in

the following format:
Bytes 0-2 TTI2 - cumulative number of trocks in the DSK
XTNT table entries up to and including
the current entry

3
4

M- volume sequence number
B - bin number (0 for disk devices)

5-7 TTTl - relative track number of lower limit of
this entry
A 2-byte end-oF-table indicator containing X'FFFF'

follows the last entry in the DSKXTNT table

111-66

DTF Assembly
Label
&Filename

B tes
Dec

Hex

o -15

OO-OF

16

10

Command Control Block (CCB)
0
I
2
3
4
5
6
7

Used by ISAM Interface Program
Not used
1= COBOL open; ignore option
Not used
1= DTF table address constants relocated by
OPENR
Not used
1= Data set security
I=Wrong blocksize error during file extension

17-19

11-13

Address of logic module

20

14

FUe type fo, OPEN/CLOSE (X'24'= LOAD)

21

15
0
I
2
3
4
5
6
7

&filename.C

Function

Bits

Option byte:
Not used
Not used
1= Cylinder overflow option
Not used
1= Blocked records (used by previous versions)
1= Verify
Not used
1= 2 I/O areas present

22-28

16-1C

Fil~

29

ID

Pri me data dev ice type i nd i cator:
X'OO'= 2311 ; X'Ol '= 2314/2319 ;
X'04'= 3330;
X'OB'= 3340 general; X'09'=
3340 35MB; X'OA'= 3340 70MB

30

IE
0
I
2
3

4

5
6
7

name

Status byte:
1= Uncorrectable DASD error (except WLR)
l=WLR error
1= Prime data area full
1= Cylinder index area not large enough to
reference prime data area. Set on only if
error detected at SETFL time
1= Master index not large enough to reference
prime data area. Set on only if error detected at SElF L time
1= Duplicate record
1= Sequence error
1= No EOF record written in prime data area

31

IF

High level index device type indicator:
X'QQ'= 2311 ; X'OI '= 2314/2319 ;
X'04'= 3330;
X'OS'= 3340 general; X'09'=
3340 35MB; X'OA'= 3340 70MB

32

20

Relative position of the DSKXTN (logical unit,
cell number) table (in words). This value is the
length of the DTF table divided by 4

111-67

I

DTFlS (Load)

( .•• Cant'd)

OTF Assembly

Label

Bytes

Dec

Hex

33-34
35
36-37
38

21-22
23
24-25
26

39
41

27
28
29

42

2A

43

2B

40

First prime track in cylinder (HH)
First prime data record in cylinder (R)
last prime track in cylinder (HH)
High record on master index!cylinder index

t,ack (R)
High record on prime data track (R)
High record on overflow track (R)
High record on last track index track in
cylinder (whether shared or unshared)
High record on track index track other than last
in cylinder. If only one track index track in
cylinder, it is equal to byte 41

0
1
2
3
4
5
6-7
44-50
51-57
58-64
65

2C-32
33-39
3A-4O
41
0-3
4
5
6
7

&Filename.H

66-73
74-75
76-77
78-79

42-29
4A-4B
4C-4D
4E-4F

80-81

50-51

82-83
84-85
86-87

52-53
54-55
56-57

Function

Bits

Condition code:
1= WLR checks requested (for extension)
1= First record in file
1= Prime data extent full

1= Master index/cylinder index extent too small
1= Prime data upper limit has been increased
(for extension)
1= Extension
Not used
Prime data lower limit (MBBCCHH)
Cylinder index lower limit (MBBCCHH)
Master index lower limit (MBBCCHH)
Number of index levels
Not used
1= RPS type device (data)

1= RPS type DTF
1= Master index
1= RPS type device (index)
Address of last prime data record (MBBCCHHR)
Logical record length
Key length
Block length (logical record length times
number of records)
Overflow record length (logical record length

plus 10)

88-89

58-59

90-91

5A-58

Blocking factor (number of logical records)
Index entry length (key length plus 10)
Prime data record length (key length plus
physical record length)
Overflow record length with key (key length
plus logical record length plus 10)
Prime data record format length (key length plus
physical record length plus 8)

111-68

DTFlS (load)

( .... Cont'd)

DTF Assemb Iy
label

B tes

Bits

Function

Dec

Hex

92-93

5C-5D

Overflow record format length (key length plus
logical record length plus 18)

94-95

5E-SF

Key location (in blocked records)

This is the end of the common DTF area. The format of the remainder of the table is variable and is generated according to the parameters specified in the DTFIS macro instruction
Seek/search address orea (MBBCCHHR)

Bfilename.S

96-103

60-67

SF i lenome. P

104-105

68-69

logical record counter (for blocking)

106-107

6A-6B

Number of bytes for high level index

108-111

6C-6F

Prime dota record counter (logical records)

112

70

Status indicators:
Not used
J=File closed
Not used
1== last prime data track full
1= last block full

0-1
2
3-5
6
7
113-117

71-75

Last trock index normal entry address (CCHHR)

118-122

76-7A

lest cylinder index entry address (CCHHR)

123-127

7B-7F

8Filename.M

last master index entry address (CCHHR)

CON build area, See description of SETFl
macro, phase 1 - $SBSETFl

8filename.B
128-135

80-87

136-143

88-8F

Seek CCN
Seorch 10 Equal CON

144-151

90-97

TIC CCN

152-159

98-91'

Read/Write C'ON

160-167

AO-A7

Seorch 10 Equal CON

168-175

AB-M

TIC CCN

176-183

BO-B7

Verify CON

184-187

B8-BB

Address of IOREAl

188-191

BC-BF

.A.ddress of dota in WORKL. (FIXBlK=address
of WORKl; FIXUNB= address of WORKl plus
key).

192-195

CO-C3

Address of key in WORKL. (FIXBLK= address
of WORKl plus KEYlOC minus 1; FIXUNB=
address of WORKl.)

196-199

C4-C7

Block position indicator (address of logical
record in IOAREAl)

200

C8

Master index, extension indicator:
0-2 Not used
1= Extending file; 0= Creating file
3
4-6 Not used
1= Master index being usedi 0= No master index
7
being used
111-69

I

DTFIS (Load)

DTF Assembly
Label

( •.•. Cont'd)

Bytes

Bits

Function

Dec

Hex

201-204

C9-CC

Cylinder index upper limit (CCHH)

205-20B

CD-DO

Master index upper limit (CCHH)

209-215

DI-D7

216-222

DB-DE

Prime data upper limit (old upper limit if exten-

,;on) (MBBCCHH)
Prime data new upper limit (for extension)

(MBBCCHH)
223

DF

Last prime data track in cylinder minus 1

224-225

EO-EI

Key length minus one

226-227

E2-E3

logical record length minus 1

22B-229

E4-E5

Address of track index dummy record (HR)

230-231

E6-E7

Address of record before first prime data record

232

EB

Number of records on master index/cyl inder
index track minus 1

233-236

E9-EC

Master index/cyl inder index DASD address
control field (CCHH):

in cylinder (HR)

2311
= X'OOC70009'
2314/2319= X'OOC700l3'
= X'0IFFOOI2'
3330
= X'OlFFOOOC'
3340
237-239

ED-EF

240-242

FO-F2

Prime data address control field (CCH):
2311
= X'OOC700'
2314/2319= X'OOC700'
= X'OIFFOO'
3330
3340
= X'OIFFOO'
Prime data beginning of volume (CCH):

2311
= X'OOOIOO'
2314/2319= X'OOOlOO'
3330
= X'OOOIOO'
3340
= X'OOOlOO'
243-245

F3-F5

~3if1e data =ex!oJcv70~,me (CCH):
2314/2319= X'OOC700'
= X'019300'
3330
= X'015BOO'(35MB), X'02B700'(70MB)
3340

246-247

F6-F7

Used for alignment

24B-251 I

FB-FB

First entry in DSKXTN table (logical unit,
ce II number)

256-2592 100- 103

X'FFFFFFFF'= End of DSKXTN table

260-263

104- 107

Address of IOAREA2

264-267

lOB-lOB

Address used to relocate IOAREA2

..

1) Each entry in the DSKXTN table is 4 bytes long. The minimum number of entries
two. There is one entry per extent.
2) Location of the end-of-table indicator depends on length of DSKXTN table

111-70

IS

DTFlS (Add) - part I

DTF Assemb Iy
Label
Bfilename

Bytes

Dec

o -15

C:
;

i0
I
2
3
4
5
6

7

CCB
Not used
Not used

1= COBOL open; ignore option

1= Track hold specified
1= DTF table address constants relocated by

OPENR
Not used
t"" Data set security
1= Wrong blocksize error during addition to file

17-19

11-13

logic module address

20

14

File type for OPEN/CLOSE (X'25'= ADD)

21

15
0
I
2
3
4
5
6-7

22-28

16-1C

29

10

Option byte:
Not used

1= Prime data in core
1= Cylinder overflow
1= Cylinder index in core

1= Blocked records
1= Verify

Not used

DTF file name
Prime data device type indicator:

X'OO'= 2311
X'04'=3330

X'OJ '= 2314/2319

X'OS I = 3340 general

X'09'= 3340 (35MB) X'OA'= 3340 (70MB)
Bfilename.C

30

IE

Status byte:

0
I
2
3
4
5
6
7
31

IF

1= Uncorrectoble DASD error (except WLR)
]=WlR error
1= EOF (sequential)
1= No record found
1= Illegal 10 specified
1= Duplicate record sensed
1= Overflow area full
1= Record retrieved from overflow area

Highest level index device type:

X'OO'= 2311
X'04'=3330

X'OI '= 2314/2319

X10B 1= 3340 general

X'09'= 3340 (35MB) X'OA'= 3340 (70MB)
32

20

Relative position of the DSKXTN {logical unit,
cell number} table (in worc!s). This value is the
length of the DTF table divided by 4

33-35

21-23

First prime data record in cylinder (HHR)

36-37

24-25

last prime data track in cylinder (HH)

38

26

High record number on master index/cylinder
index track (R)

111-71

I

DTFIS (Add) - port I ( •••• Cont'd)

Bytes
DTF As.emb Iy
Hex
label
Dec

39
40
41
42
43

High record number on prime data track (Rr

27
28
29
2A

High record number on overflow track (R)

High record number on shared track (R)

High

2B

2C-32
33-39
JA-40
41

42-49
4A-4B
4C-4D
4E-4F

SO-81

50-51

82-83

52-53

84-85
86-87

54-55
56-57

88-89

58-59

90-91

5A-58

92-93

5C-5D

94-95
·96-97
98-99

5E-5F
60-61
62-63

number on track index (TI) track (R)

1= WORKR area specified
1= WORKS area specified
Overflow switch
1= Read
Not used
1= Output
t=Write key
1= PUT macro issued
Prime data lower limit (Iv1BBCCHH)

Cylinder index lower limit (MBBCCHH)
Master index lower limit (Iv'IBBCCHH)
Switches

0
I
2-3
4
5
6
7
66-73
74-75
76-77
78-79

record

Retrieval byte:

0
I
2
3
4
5
6
7
44-50
51-57
58-64
65

Function

Bits

1= From WAITF routine

1= WAllF seek check hit
Not used
1= RPS type dev;ce (data)
1= RPS type DTF
1= Master index
1= RPS type device (index)
last prirne data record address (MBBCCHHR)
lag;cal record length (RECSIZE)
Key length (KEYLEN)
Block siz:e (logical record length times number
of records)
Overflow record length (logical record length
plus 10)
Blocking factor (number of logical records in
block (NRECDS)
Index entry length (key length plus 10)
Prime data record length (key length plus
physical record length (block size)
Overflow record length plus key (key length
plus logical record length plus 10)
Prime dota record format length (key length
plus blocksize plus 8)
Overflow record format length (key length
plus logical record length plus 18)
Key location (KEYLOC) for blocked records
Constant = 5
Constant = 10

111-72

DTFIS (Add) - part 1

( •••• Co·'·")

DTF Assembly
Labol

Biles
Doc

H..

100-101

64-65

I Sits

FunctIon
D:~;:;b-=ument

of part 2 of the DTFIS table from

start of part 1

102-103

Displacement of p.lrt 3 of the DTFIS table from

66-67

start of part 1

afilename.S

104-113

68-71

Seek/search addr... area (MBBCCHHRFP)

Bflloname.W

114-123

72-75

Random/sequential retrieval work area

Ullename.P

124_127

7C-7F

Prime data record count

128

80

Status indicators:

0-1
2
3-5
6
7

Not used
1= File closed

I

Not used

1= Last prime data track full
1= Block complete

Last track index normal entry

a~dress

(CCHHR)

129-133

81-85

134-138

86-BA

Last cylinder index entry address (CCHHR)

139-143

8B-8F

last master index entry address (CCHHR)

144-151

90-97

L.ast independent overflow record address
(MBBCCHHR)

&Filename. I

152-153

98-99

&Fllename.A

154-155

9A-98

Number of full cylinder overflow areas

&filename. 0

156-157

9C-9D

Overflow rec::Ird count

158-164

9E-M

Independent overflow area lower limit
(M8BCCHH)

165-171

AS-AS

Independent overflow area upper limit
(MBBCCHH)

172-175

AC-AF

A(BFilename.O) - Address of work area for
cylinder overflow control record (COCR)

176-179

BO-83

A(BFilename.D+8) - Address of workarea for
tl-e current track index normal entry count field

180-183

B4-B7

A(8filename.D+16) - Address of work area for
current track Index overflow entry count field

184-187

B8-BB

A(BFilename.0+24) - Address of workarea for
current prime data record count field

188-191

BC-BF

A(BFilename.0+32) - Address of work area for
currer1t overflow record count field

192-195

CO-C3

A( BF ilename. 0+40) - Address of work area for
track index normal entry data field

196-199

C4-C7

A( BF ilename. 0+50) - Address of work area for
current overflow record linkage field

200-203

C8-CB

A(&IOREAL) - Address of 10REAL, the I/O
area used for adding records to a file

Number of independent overflow tracks

111-73

/

DTFIS (Add) - pert I

( •••• Cont'd)

DTF Assemb Iy
Label

•

Dec

204-207

e,

Hex

Bits

CC-CF

Function
A(&WORKL) - Address of WORKl, workarea

containing user data records to be added to the

file
208-211

00-03

A(&Filename.K) - Address of the ADD key orea

212-215

04-07

A(&IOAREAL+8) - Address of key position in

216-219

D8-DB

A(&IOAREAL-+1l+&KEYLEN) - Addcess of doto
position in IOAREAL

IOAREAL

DTFlS (Add) - pert 2

B tes

DTF Assembly
label
8filename.2

Dec

Hex

o -3

00-03

4

04

5 -7

05-07

Bits

Function
A(&Filename.5+3) - Address of the seek/search
address area plus 3

0
1-5
6
7

1= Seek check indicated
Not used
1= Over/under seek has occurred
1= An error has been found, but a seek check
is indicated

A( &F ilename. W) - Address of random,Aequentiol
retrieval work orea

The following information is generated if the cylinder index in core option is specified
12-15

OC-OF

A(&INDAREA) -Starting address of main storage
area specified for cylinder index

16-17

10-11

AL2(&INDSIZE) - Number of bytes in main
storage available for cylinder index

18-25

12-19

Next cylinder index entry to be read
(MBBCCHHR)

26-30

IB-IE

Last cylinder index entry (CCHHR)

31

IF

Core index byte:
1= First time through B-transient, $$BINDEX
1= End of cylinder index reached
1= Index skip option specified
1= Suppress in-core option and read cylinder
index
Not used

32-35

10-23

4-7

Pointer to key (stored by module)

111-74

OTFIS (Add) - part 2

OTF Assembly
label

L

( •••• C:-··",

~ytes

Dec

Function

HeJt

The following information is ge:-:e::'e:! if ~he prime data in core add function is specified

This information is aligned on a c!::'-!lle werd boundary
36-37

24-25

S;ze of IOAREAL

38-39

26-27

Maximum number of prime data records in main

40-43

28-2B

Address of write CON's

44-47

2C-2F

Address of read CCW's

48

30

storage

0
1-7
IJHDCWRK

31
32-33

49
50-51

Switch byte;
1= EOF
Not used
Reserved.
Work fieldJor 1/0 Module.

OTFIS (Add) - part 3

OTF Assembly
Lobel

&Filename.B

Bytes

Dec
0-7

Hex
00-07

Function

Bits

CCW X'07I, ·8filename.S+I, X'40', 6 - long
seek CON with command chaining

&Filename.D

8 -127

08-7f

Channel program build area.

128-135

80-87

Cylinder overflow control record (COCR)

136-143

88-8F

Current track index normal entry counf field

address
144-151

90-97

Current track index overflow entry count field

address
152-159

98-9F

160-167

AO-A7

Current overflow record count field address

168-177

AS-BI

Track index normal entry data field

178-187

B2-BB

Current overflow record sequence link field

188-197

BC-B5

Current track index overflow entry data field

198

C6

X'OI· - Add to EOF
X'02 1 - Add to independent overflow area

199-201

C7-C9

Overflow control bytes (CCH)

202-203

CA-CB

High HR on overflow track

204-211

CC-03

Volume upper limit for prime data records
(MBBCCHHR)

212-217

04-09

CLC 0 (&KEVLEN, 13),0 (6) - Lnblock.d
CLC 0 (&KEVLEN, 13),&KEVLOC-1 (6)Blocked Uti Hty CLC for key

Current prime data record count field address

111-75

)

I

DTFIS (Add) - pmt 3

( •••• Cont'd)

DTF Assembly
Lobel

Bytes

Dec

Hex

218-223

DA-DF

Bits

Function
MVC 0 (&KEYLEN, 13),0 (12) - Unblocked
MVC 0 (&KEY LEN, 13), &KEYLEN-l (12) Blocked Utility MVC for key

&Filename.E

224_2271) EO-E3

First entry in DSKXTN table (logical unit,
cell number)

4X'FF' - End of DSKXTN table

8Filename.K

232_235] E8-EB
236+
EC-end

I

Key area for ADD only, Number of bytes depends on key length, KEYlEN

1) Each entry in the DSKXTN toble is four bytes long. The minimum number of entries is
two. There is one entry per extent.

2) location of the end-oF-table indicator depends on length of DSKXTN table.

111-76

OTFIS (RETRVE,RANOOI,I) OTF AsJembly
Label
Bfilenamo

B
Dec

:0:"

'" r.ex

0-15

CO-Cf

16

10

1

Function

Bits

Commlred.

Note 1:

Bytes 4 and 5 contain the status bytes of the Channel Status Word (Bits 32-47). If
byte 2. bit 5 is on and device end results as a separate interrupt, device end will be
OR-ed into CCB byte 4_

Note 2:

Indicates/* or 1& statement on SYSRDR or SYSIPT_ Byte 4, bit 7 (unit exception) is
also on.

Note 3:

DASD data checks on count not returned.

Note 4:

For 1255/1259/12701127511419. disengage. For 1275114190.1/0 Error is external
interrupt routine (Channel data check or bus-out check)_

Note 5:

The traffic bit (Byte 2, bit 0) is normally set on at channel end to signify that the
I/O was completed. If byte 2. bit 5 has been set on, the traffic bit and bits 2 and 6 in
byte 3 will be set on at device end. Also see Note 1.

Note 6:

1018 ERP does not support the Error Correction Function.

Note 7:

This error occurs an equipment check, data check or FCB parity check_ For 2245, this
error occurs as a data check or FCB parity check.

Note 8:

For 3504, 3505. 3525 input or output files using ERROPT, byte 3, bit 3 is set on if a
permanent error occurs. Byte2, bit 6 is set on to allow you to accept permanent errors_

Note 9:

If user error routine is specified and the user needs the sense information to further
process the error, byte 12,bit 2 mustalosbe set. Otherwise. the supervisor error routine
will clear off the status on return and the sense information ist not available.

Note 10: 3895 error codes are returned in CCB Byte 8. Refer to 3895 document reader/inscriber
maschine and programming description for information on these error codes.

IV.(J7

I

INPUT/OUTPUT REOUEST BLOCK (lORB)
Count

Transmission
lnforma-

CSW
Status

Bits

tion
2

Type Code Reserved
and
for
Logical
logical
Unit
10CS
6
8

CCW
Address
inCSW

Fix

Address

Version

Flag

of

10

13

16

Fixlist

17

20

Special

CCW
Address

Reserved

for
Physical
IOCS
12

Optional Extension

Processing Flags

10

Address

22

24

25

Input/Output Request Block (lORS)
Byte(s)

Description

0-1

Used for residual count

2-3

Byte 2:
For transmitting information between physicallOCS and problem program.
Set by the physicallOCS:
Bit 0:
Traffic bit, wait (Note 3)
Bit 1:
End-of·File 1* or 1& (Note 2)
Bit 2:
Irrecoverable lID error
Set by the Problem Program:
Bit 3:
Accept irrecoverable I/O error
Bit 4:
Reserved
Bit 5:
Post at device end (Note 3).
Bit 6:
Reserved
Bit 7:
Skip system error recovery
Byte 3:
Reserved fur ERP return information.

4--5

Byte 4 (Note 1):
Bit 0 (32): Attention
Bit 1 (33): Status modifier
Bit 2 (34): Control unit end
Bit 3 (35): Busy
Bit 4 (36): Channel end
Bit 5 (37): Device end
Bit' 6 (38): Unit check
Bit 7 (39): Unit exception
Byte 5:
Bit 0 (40):
Bit 1 (41):
Bit 2 (42):
Bit 3 (43):
Bit 4 (44):
Bit 5 (45):
Bit 6 (46):
Bit 7 (47):

6--7

Program controlled interruption
Incorrect length
Program check
Protection check
Channel data check
Channel control check
Interface control check
Chaining check

Byte 6 {Class byte):
Bit 0:
Reserved
Bit 1:
Reserved
Copied IORB (370 mode only)
Bit 2:
Bit 3:
Reserved
Physical addressing
Bit 4:
Bit 5:
IORB1D
Bit 6:
Reserved
Bit 7:
Programmer logical unit
Byte 7 (Addressing byte)
Hexadecimal representation of SYSnnn:
SYSROR
"00
SYSREC
SYSIPT
" 01
SYSCLB
SYSPCH
= 02
Reserved
SYSLIST "03
SYSCAT
SYSLOG
"04
SYSOOO
SYSLINK "05
SYS001
SYSRES
"06
SYS002
SYSSL8
"07
SYSRL8
"08
SYSUSE
"09
SYS240
IV-08

"OA
"08
= OC
"00
" 00
" 01
"02

" XX

INPUT/OUTPUT REOUEST BLOCK (lORB) (••• Cont'd)

Byte(s)

Description

9-11

Address for the CCWassociated with this IORB. The address is virtual. except if in

Reserved for LogicallDCS
byte 6, bit 2 is on, then the address is real.
12

Reserved for physicallOeS:
Bit 0:
IORB is used by ERP
Bit 1:
Reserved
Bit 2:
IORB has an extension
Bit 3:
Reserved
Bit 4:
EU tape error
Bit 5:
Reserved

Bit 6:
Bit 7:

Tape ERP read opposite recovery
Reserved

13-15

Virtual address of CCW pointed to by CSW at Channel End.

16

Fix Flag (ignored in 370 model:
Bit a

=1
=0

Bit 1 '" 1
'" 0
Bit 2- 7
17-19

Compressed: The system needs not to compress the fix list. Each page
to the fixed for the channel program is covered only once by the fixlist.

Not compressed: The system must compress the fixlist.
Fixed: No fixlist is provided by the user. The user has fixed all areas.
Not fixed: The user has provided a fixlist.
Reserved

Address of thefixlist (ignored in 370 mode):
Each fixlist area is contiguous and consists of one or more B-Byte fixlist entries.
Each entry contains a begin and an end address describing a storage area that has to be
fixed for the I/O request (an area containig the channel program or an input/output
area).

20-21

Version identification code.

22-23

Special processing flags (set by L10eS):
Bit 0:
SYSFIL request for FBAdevice.
Bits 1-15: Reserved

Begin of optional parameters (set by the problem program).
24

25-27

Optional parameter 10:
Bit 0:
Last parameter
Bits 1-7: 10 code (00 - ECBI
Address portion of optional parameter

Note 1:

Bytes 4 and 5 contain the status bytes of esw (Bits 32-471. If byte 2, bit 5, is on, the
accumulated interrupt information will be stored in byte 4 and 5 of the IORB.

Note 2:

Indicatesr or /& statement on SYSROR or SYSIPT. Byte 4, bit 7, (unit exception) is
forced on.

Note 3:

The traffic bit (byte 2, bit 0) is normally set on at channel end to signify that the data
transfer is completed. If byte 2, bit 5, has been set on, the traffic bit is set on at device
end. See also Note 1.

IV·09

I

Address Table

"
SVA Entry

For:~"'" 0

System
PFIX Limit
(number of
pages)

I~,''''''"",

"

BG Entry

~~~

~~g.
~~~
~~s.

< !i.; g

,,........
,

iil~.!

~I[ ~

Al
'l"

~

~m

Minimum
Page Pool
(number of
pages)

Number of
Pages in
Pageable
SV

System
GETVIS
Area
Address

16

SVA
Begin
Address

20

24

Pageable
SV
Begin
Address

SVA
End
Address

+1

Pageable
SV
End
Address

iii
!Ii

g

!Ii

..5'"

o

....

,.

12

r'----.-----~----~~----~----~--Partition
Partition
Partition
Partition
Partition
en : Partition
PFIX Count Save
Begin
End
PFIX Limit
:> 
r-

."

;s:

o

6C
108

70
112

74
116

78
120

·0

88
136

80
128

7C
124

;s:
;s:
C

2

Address of

Address of

Address of

oLTEP bucket

ASCII

RAS Linkage

Translate
Table

Area

~

xxxx

8C
140

'----

xxxx

Address of

PUB Ownership

Job Accounting
Cammon Table

Table

Address of PTA

Line Mode

xxxx

-

SDAID

Comm. Area

Address of first
System Task Blo"ck

-

-

--

Address of Task
Block of Active

xxxx

xxxx

xxxx

xxxx

xxxxxxxx
_.-

---

--

Al
161

1 byte for
Alignment

System Task
L ... _

-_ ..

AO
160

9C
156

Table
xxxx

E
a

Addres of

Reserved

I

xxxx

98
152

94
148
Reserved

Address of

xxxx

-

90
144

Address of

x

--

__ ~x~

-

A3
163

A2
162

a'z"
!i
a

Pointer to
SENSE Task

Pointer to
Disk ERP

Block

Task Block

Pointer to
RAS Task
Block

x

x

x

2

i::

I

~

A4
164

A5
165

A6
166

A7
167

Pointer to

Pointer to

Pointer to

PMGR

PGT

PAGEIN

Task Block

Task Block

Task Block

x

x

B4
1BO

fw

Reserved

xxxx

Pointer to

pointer

ing
Parameter

D4
212

Task Block

Task Block

Task Block

Address of
Task Timer
Table

x

xxxx

x

Reserved

CO
192

x

Pointer to

Repositioning Information
for 2560/5424/5425 ERP

CC
204

Number of
Error Queue

Entries

xx

x

xxxxxxxxxxx

EO
224

Address of Storage
Management

xxx

CB
203

Task Times

DC
220

Reserved

;:

g

SVF

Pointer to

Reserved

x

Key of
partition
owning

xx

xxxx

~

m

BO
176

ERP

x

BE
190

TP Balanc-

AF
175

AC
172

...

'....o"

.'"
o

x

TRTMSK

AB
171

CRT

Pointer to

Reserved

Task Block

BC
1BB

AA
170

z

SUPV
(FETCH)

x

BB
1B4

A9
169

AB
16B

E4
22B

Address of
OPO Table

Control Block

Reserved

n
o
;:
;:

DO
20B

c:
z

!

S
o

xxxx

!

'"m

Address of End

I

~

Length of
PUB Table
in bytes

Number of

Address of

Active
Partitions

Segment Table

xx

xx

'EB
232

E6
230

Address of

CE
206

'"'"~

(370 mode)

EC
236

Reserved

Console

!

I

xxxxxxxx

xxxx

xxxx

xx

xx

-

L-_ _ _~~x ____

'oz"
l?

of Real Storage
in 370 mode

System Operator

z

--_~~~ _ _

I

en
FO
240

F4
244

F5
245

F8
248

Address of
Fetch Table

SVA Flags
(see expansion)

Address of
SVA

Address of
System
GETVIS area

Address of
RPS Local
Directory List

Address of
RPS Sector
Calculation
Routine

xxxx

x

xxx

xxxx

xxxx

xxxx

-

-

we

110
272

268

~

:;:

104
260

100
256

FC
252

118
280

114
276

Pointer for
Symbolic
Label Access

Address of
Supv,-IPL
Communication
Region

xxxx

xxxx

~

108
264

;:

8z

Address of
System Code

Reserved

xxxx

xxxx

.'"
o

124
292

120
288

'"i2

'";:'"
l>

-.~--.--~

11C
284

...

n
o
;:
;:

128
296

c:

z

Address of
SVA

Phase Area
__x~~___

Address of
Operator Option
Cancel Exit

Reserve"

Save area if
Progr. Check
in SUPVR

Reserved

Table of
System Units

xxxx

xxxx

xxxx

xxxx

xxxx

* See end of tables for further explanation.

~i5
z

i::

'"i5z

Note: The address of SYSCOM can be found at fixed Location X'80'-X'83',

b'
a

~

SYSTEM CONTROL PROGRAM COMMUNICATION REGION (," Conl'd)

Expansion of SYSCOM Flag Bytes
Oec
46

Syte
Hex
2E

Description
BitO

Bit 1
Bit2

1:::: VSE/Advanced Functions package

o = SCP package

1 ;; DOS/VSE and follow-on releases
1 :::: 1 TPBAL not active

Reserved)
Bit 3
Bit 4 1 == CBF supported
81t55-7 Reserved

47

2F

Bit 0

1 '" 4300 support generated

o = /370 support generated

Bits 1-4

52

34

64

40

Bit 5

Reserved
1 :::: AT least on CKD disk supported

Bit6
Bit7

1 :::: FBA support generated
1 :::: 3800 support generated

BitO 1 ::: CRT support initialized
Bits 1-5
Reserved
Bits 6, 7
00 :::: Typewriter support generated
01 ::: 1250 support generated
11 :::: 3277 support generated
Reserved for RMS
X'SO'
X'40'
X'20'

RMSR supported
Full RMS support (MCAR/CCH and RMSR)

Reserved. must be 0

65

41

X'SO' Initial selection of ERP
X'40' Reserved
X'20' Timer interrupt pending
X'10' r•. ICR Stacker-select active
X'OS' Invalid address during fetch
X'04' SIO routine entered after interrupt
X'02' Reserved
X'QI' IPL in progress

66

42

X'SO'
X'40'
X'20'
X'10'
X'OS'
X'04'
X'02'
X'OI'

67

43

X'SO' System GETVIS area initialized
X'40' ECPREAL supported, always on
X'20' VSAM supported, always on
X'10' Reserved
X'OS' XECB support generated
X'04' Reserved
X'02' Batch deactivated by TPIN
Reserved
X'O"

Initial RAS request
RAS WAIT request outstanding
RAS IPL in progress
Reserved
POWERIVS supported, always on
POWERIVS initialized
GETREAL for SDAID in progress
Reserved

6S

44

Always zero

69

45

SELECT byte:
X'OO'
X'O,'
X'02'
X'03'
X'04'
X'05'
X'OS'
X'O?'
X'09'
X'OS'
X'OF'

No system task active
SNS active
DSK active
RAS active
PMGR active
PGT active
PGIN active
SUPVactive
CRT active
ERP active
SVTactive

IV,15

I

SYSTEM CONTROL PROGRAM COMMUNICATION REGION I.•• Cont'dl
Expansion of SYSCOM Flag Bytes

Byte
Dec

Hex

244

F4

Description
SVAFlag
X '80'

Reserved

X'40' SDL active
X'20'
X'lO'
X'OS'
X'04'
X'OZ'

Reserved
Build of SOL in progress
SOL overflow
Reserved
Reserved

X'Dl'

Reserved
RPS not initialized
Pointer to RPS LDLinSVA

252

FG

X'OOOOOOOO'
X'OOXXXXXX'

256

100

-x'OOOOOaDO'

No RPS support

X'OOXXXXXX'

Pointer to Sector Calculation Routine

IV-16

~
Jl
-<

nnCOMREG

~o
0

x

l

DC
12

Re",~ed

Q,te

::I: ~

17
23
Um "e,

~

1.i-

Ci

~

xxxxxxxxxxxx

30
4B

34
52

End of
Virtual
Storage
Address

PIK

35
53

Machine
Configur.
Byte

2B
40

Swage

End Add .." of

Address of
the Partition

Last Phase
Fetched or loaded

2C
44

Address of upper-

o=
.D"11

eHNADRl

~~
=>-

lli

~~ .~'''''~.
INTTAB1

~ ~'''''"''
~ ~1t±E1 I
~

i!
PUB-

~WNER

L

PUBTAB

• •[m""l ". "

~~

--- _.-

~I

LMT

plana

Usoo by PIOeS)

CHAND (Entry length 32 bytes)

FOel

ED

oef
:::::::::--::::~

FlPTR

0-+
... Optionally allocated and initialized by IPL.

IV-33

"II

LOGICAL UNIT BLOCK (LUB) TABLE

Number in

First in
Class List
(FICL)

Class List
(NICL)

LUBTAB

SYS

BG

SYS

~r---------

__~----IBG

Fn

Fn

F2

F2

F1

F1

aa0 0 aaaa 0 0 a0 0 1 00

000

aaa 1 a -

Points to first PUB and PUBOWNER
Points to second PUB and PUBQWNER
Points to third PUB and PUBOWNER

LUB Table

for any Partition
1 1 1 1 1 1 1 0 - Ignore, assigned ignore
SYSRDR

1 1 1 1 1 1 1 1 - Null Pointer, the LUB is unassigned

SYSIPT

When a logical unit is assigned, the system inserts a pointer
to the PUB for the phyisical device specified.

SYSPCH
SYSLST
SYSLOG

- - --- - ->r-----,--==-::..:..:....---,

....Format
-. of any LUB

SYSLNK
SYSRES
SYSSLB
SYSRLB

JIB Index (Multiply by 4 = Displacement into JIB Table) or
X'FF':: Null Pointer, no JIB for this LUB.

1) SYSUSE
SYSREC

A LUB has a JIB pointer when:
1. The logical unit is temporarily assigned.
2. The logical unit assignment is alternate (ALT).
3. A DASO file (exept a system 1/0 file on disk) is opened
(DASD file protect only).

SYSCLB

Reserved
SYSCAT
SYSOOO

Bytes 76 and 77 {X'4C'-'4D'j of the partition communication
region contain the address of the LUB table. Label LUBTAB
identifies the first byte of the table.

SYSOO1

SYSOO2
SYSOO3

Notel: SYSUSE may be called SYSCTL in error recovery messages.
Syr04
2) SYSnn

tI3
IV-34

PHYSICAL UNIT BLOCK (PUB) TABLE
PUBTAB
Channel

a

PUBs
~

Channell
PUBs

-=
Channel 6
PUBs

-=-

or SAB Pointer

~ PU~-:able

C

delimiter

PUBEND

Byte 0:

Channel number (Hex 0-6, FF = NULL)

Byte 1:

lID device unit number

Byte 2:

Hex 0, 1. 2, .......... points to the first channel queue entry far this device

Byte 3:

This byte is an ERP retry counter

Byte 4:

Device type code

Byte 5:

S5 of the MODE = parameter in the DVCGEN macro fortabe unit. (See section 2)
For an leA line Model 115 or 125, this byte contains the displacement index of the
entry in the Line Mode Table (LMT). The address of the LMT is in SYSCOM.
For CASe with track hold this byte contains a pointer to the track hold table or

X'FF'.
For MICR type devices, this byte indicates which external interrupt line is in use.
For a 3704/3705 Communications Controller, this byte contains the type number of
the Channel Adapter.
For 2560 or 5424/5425
Bit

1 = Repositioning required
SYSPCH temporarily assigned to hopper 1
1 = SYSPCH temporarily assigned to hopper 2
o = SYSIPT temporarily assigned to hopper 1
1 = SYSIPT temporarily assigned to hopper 2
o = SYSRDR temporarily aSSigned to hopper 1
1 = SYSRDR temporarily assigned to hopper 2
o = SYSPCH permanently aSSigned to hopper 1
1 = SYSPCH permanently assigned to hopper 2
o = SYSIPT permanently assigned to hopper 1
1 = SYSIPT permanently assigned to hopper 2
o = SYSRDR permanently assigned to hopper 1
1 = SYSRDR permanently assigned to hopper 2

o=

For 3800
BitsOand 1
00 = 3BOO
01 = 3BOO B
10 = 3BOOC
11 = 3BOOBC

IV·35

I

PHYSICAL UNIT BLOCK TABLE ( ••• Conl'd)

Byte 6:

Channel Scheduler Flags
Bit 0
1
2
3
4
5
6

7
Byte 7:

'" Device busy
'" Switchahle device

= Unit check is pending on device

= 1/0 error queued for recovery
:::: Operator intervention outstanding
= 1/0 interrupt outstanding
= Burst or overrunable device
1 = 7-track tape unit

Job Control Flags
Bit 0-4
Bit

Notes:

1
1
1
1
1
1
1

Standard MODE assignment for 7-track tape (all ones if not tape, all zeros
if device is down)
1 '" Device supports RPS
Reserved
Unit check pending on alternate channel

A null entry is generated at supervisor generation time for each device to be supported
by the supervisor. Then standard physical unit assignments are made to the PUB table.
Physical unit assignments can also be made during IPL. PUBs are ordered by channel
and priority within a channel. A PUB entry must be generated or added during IPL for
any device of the installation.
An entry in the PUB ownership table is associated with each entry in the PUB table.

PHYSICAL UNIT BLOCK OWNERSHIP TABLE

Byte 0:

Bit 0
1
Bit 2-7

Byte 1:

Identifies the partition that owns the PUB according to follwing table:

1 '" Volume is owned by VTAM
1 '" Waiting for volume to be mounted
Reserved

Flag

Partition owning PUB if number of partitions is:

X'OO'
X'OI'
X'02'
X'Q4'
X'OS'
X'IO'

UA·
BG
Fl

BG
F2
Fl

BG
F3
F2
Fl

BG
F4
F3
F2
Fl

* unassigned
Note:

The number of entries in the PUB Ownership table is equal to the number of entries in
the PUB table. Associated with each PUB entry is an entry in the PUB Ownership table.
Bytes 120-123 (X'78'-'7B'1 of the system communications region (SYSCOMI contain
the address of the PUB Ownership table. Label PUBOWNER identifies the first byte of
the table.

IV·36

JOB INFORMATION BLOCK (JIB) TABLE
JIBTAB

,'

~

~.;;;·2

~ ~3
~~

'\
\

[;.

:11'\

,

'" c

~:r

-r-1 1---'

''l---r-1

-'-2

~

Note:
The address of the ERBLOC can be found in SYSCOM at Displacement a (X'OQ').

~

i"
'"

(see bytes 20-23).

<:

""o
""

Byte 12

OS FBA device type code

PUB channel queue pointer

Bytes 20-43 Sense data or alternate entl}' name: If byte 11 contains X'AE', bytes 20-21
contain the last two characters of the phase name of the physical transient to be
fetched,

ffi
ffi

m

z
;!
<

CANCEL CODES AND MESSAGES

Cancel
Code (hex)

Message

Description part of Message or Condition

label

Code

00

---

In all casas default value axept those listed

OA

OS21 I

Processing error in access control

ERROA

OB

OS201

Access control violation

ERROB

OC

OS191

Execution failure in ICCF pseudo partition

ERROC

OF

OP801

Invalid 'read from/or write' to system file on FBA
device

ERROF

10

--

Normal EOJ

ERR10

11

OV071

No channel program translation for unsupported
device

ERRll

12

OV061

Insufficient buffer space for channel program

ERR12

translation
13

OV051

CCW with count greater than 32 K

14

OV041

Page pool too small

ERR14

15

OV021

Page fault in disabled program

ERR15

17

OS021

Program request (Same as 23 but causes dump

ERR17

ERR13

because subtasks were attached when maintask
issued CANCEL macro.)
18

---

19

OP741

I/O operator option

ERR19

lA

OP731

I/O error

ERR1A

lB

OP821

Channel failure

ERR1B

lC

OS141

CANCEL ALL macro

Elimates cancel message when maintask issues
DUMP macro with subtasks attached

10

OS121

Main task termination

lE

OS131

Unknown ENQ requestor

IF

OP811

CPU failure

ERR1F

20

OS031

Program check

ERR20

21

OS04I

IlIegalSVC

ERil21

22

OS051

Phase not found

ERR22

23

OS021

Program request

ERR23

24

OSOli

Operator intervention

ERR24

25

OP77I

Invalid address

ERR25

26'

OP711

SYSxxx not assigned (unassigned LUB Code)

ERR26

27

OP701

Undefined logical unit

ERR27

2A

OV10i

I/O error on page data set

2B

OP841

I/O error during fetch from PCI L

ERR2B

2C·

OV091

Illegal parameter passed by PHO routine

ERR2C

20

OP8BI

Failing strorage block (program cannot be executed)

ERR2D

2E

OS161

Invalid resource request (possible deadlock)

ERR2E

2F

OV031

More than 255 PFIX requests for 1 page

ERR2F

30

OP721

Reading past/&statement Ion SYSRDR or SYSIPT)

ERR30

31

oP751

I/O error queue overflow (error queue overflow)

ERR31

32

0P-761

Invalid DASD address

ERR32

33

OP791

Invalid first CCW

35

OPB51

Job control open failure

ERR35

36

OVOBI

Program check or page fault in I/O appendage routine

ERR36

34

Reserved

37
38·
39

Reserved

OVlll

Wrong privately translated CCW
Reserved

IV-53

ERR3B

I

CANCEL CODES AND MESSAGES I •.• Cont'd)

Message

Cancel
Code (hex)

Code

40

5J971

Description part of Message or Condition

Label

ACFNTAM error (invalid condition code)

41

5J971

ACFNTAM error (invalid condition code)

42

OPS61

Violated DASD file Protection

XX

OP781

Unrecognized Cancel Code

OPS3A"

Supervisor catalog failure

OPS7A"

IPL Failure

If the eCa/IORB is not available, the logical unit is SYSxxx.

** The cancel code is not significant in case of a supervisor catalog or IPL failure, because the
system is placed in the wait state without any further processing by the terminator.
xx Any other DIGITS.

IV-54

PUB2 ENTRY ADDRESSING

PUBTAB

~

!

·58

of PUB2 AREA

A device PUB

IA
_I
1

~ength

+60 Length 01" PUB2 AREA

---=-

3

"I

0--

ii
"I

2 bytes entries giving the
displacement from the be" "
ginning of the PUB2AREA,

L_- - _- - - Jir-PU:":B~2
T

A:..;.R.;.:E;.;.A_ _ _-,

How to find the PUB2 entry for a device:

[!]

Subtract from the address of the device
PUB, the PUB Table start address and
devide the result by 4.

~

Find in the RF Table a displacement 64
IX'40') the PUB2 Index Table.

@]

Use the result from 1 as a displacement
into the PUB2 Index Table. This will give
you the two bytes index
e. displacement)
of the PUB2 entry of the device PUB.

n.

@]

Fint in the RF Table at displacement 60
IX'3C' ) the address of the PUB2 AREA.

~ Use the value from 3 as a displacement
in the PUB2 AREA.

IV-55

See PUB2 for the format of
the entries for the various
device types

I

PUB 2 TABLE

PUB 2 Table Entry Format for Unit Record and Unsupported Devices
Decimal
Displace-

Byte
Length

Description

ment
Usage Count (number of non-ERP SIOs)
Flag Byte:

Bit 0:
Bit 1:
Bit 2:
Bit 3:
Bit 4:
Bit 5:
Bit 6, 7:

1 IS Device in intensive mode
1 "" Device in diagnostic mode
1 "" No recording mode
1
Call statistics transient 2
1 = Use PUB 2 name completion field
1 = Volume opened on this device
Reserved

=

CE mode limit byte
CE mode bytelbit mask
Statistical data counters
Total length 12
PUB 2 Table Entry Format for DASD

Decimal
Displacement

Byte
Length

Description

Usage Count (number of non-ERP SIOsl
Flag byte:

Bit 0:
Bit 1:
Bit 2:
Bit 3:
Bit 4:
Bit 5:
Bit 6, 7

1 = Device in intensive mode
,;; Device in diagnostic mode
1 = No recording mode
1 = Call statistics transient 2
1 "" Use PUB 2 name completion"field
1 "" Volume opened on this device
Reserved

CE mode limit byte
CE mode bytelbit mask
Flag byte:

Bit 0: 1 "" Soft DASO error is queued
Bit 1: 1 "" ERP requests logging of error
Bit 2-7: Reserved

Reserved

Physical module identifier
10
End 3340

Volume serial number
Total length 16

I Statistical data counters

16

End 2311 and 2314/2319 Total length 24
24

I8

I Additional statistical data counters (3330, 3350, and FBA)

End all other DASD Total length 32
PUB 2 Table Entry Formats for Tapes
Decimal
Displacement

Byte
Length

Description

Usage Count (number of non-ERP SIOs)
Flag Byte:

Bit 0:
Bit 1:
Bit 2:
Bit 3:
Bit 4:
Bit 5:
Bit 6, 7:

1 "" Device in intensive mode
1 = Device in diagnostic mode
1 = No recording mode
1 "" Call statistics transient 2
1 '" Use PUB2 name completion field
1 '" Volume opened on this device
Reserved

CE mode limit byte
CE mode bytelbit mask
Name of ERP that wants control

IV-56

PUB 2 TABLE

C•••

Cant'd)

PUB 2 Table Entry Formats for Tapes
Decima I
Displace·
ment

Byte
Length

Description

Flag byte 1: Bit
Bit
Bit
Bit
Bit 5:
Bit 6:
Bit 7:

10

Flag byte 2: Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit

0:
1:
2:
3:
4:
5:

Flag byte3*: Bit
Bit
Bit
Bit
Bit
Bit
Bit

0:
1:
2:
3:
4:
5:

1 - Unsolicited interrupt
1 :: ERP is in control
1 = ERP requests repositioning
1 :: Use original TIE byte *
o :: Use opposite TIE byte *
1 = Intercept next 510 request *
1 = ERP read opposite request *
1 :: Restart user's CCW chain *

6:
7:

6:

Bit 7:

1 :: Last ERP operation was ERG *
= Last ERP operation was reposition *
'" Cleaner action in progress *
= Read Opposite Recovery in progress *
= Message stored in P20RGTIE
= Error on attempt to recover by repositioning *
= Data check after ERP in control *
Reserved
= Failing CCW is Write or Control command
=

User reading backwards

= Read Opposite Recovery (AORI

Maximum ROR retries
= Command chaining ROR
1 = ROR suppressed incorrect length
1 = User used Sill (Suppress Incorrect Length
Indicator)
1 = Reserved
=

11

Temporary read count
Save Area for 1st 8 sense bytes (8809)

12

Temporary write count

13

Noise record count

14

Erase gap count

16

Cleaner action count

18

Permanent read errors count

19

Permanent write errors count *

20

TIE original direction
SAVE AREA for message number (8809)

21

TIE opposite direction *

22

ERP counter 0 *

23

ERP counter 1 *

24

ERP work area

32

Tape serial number

38

Block Length

40

User ROR command address from CSW
User CCW area during rewind/unload (8809)

44

User ROR residual count from CSW

46

Reserved

48

16
24

Work area for rewind·unload error action
SAVE AREA for last 24 sense bytes (8809), end of 8809 entry; total
length 72 bytes

64

10

2400·series statistical data counter area

74

Reserved

End 2400'series; Total length 76

64

20

3410/3420 statistical data counter area

End 3410/3420: Total length 84
• Fields not used for 3402 tape entry

IV·S7

I

PUB 2 TABLE

t••• Cont'd)

PUB 2 Table Entry Format for 3886 Optical Character Reader

Decimal
Displacement

Byte
Length

Description

Usage count (number of non-ERP SIOs)

Flag byte:

Bit 0:
Bit 1:
Bit 2:
Bit 3:
Bit 4:
Bit 5:
Bit 6, 7:

1 = Device in intensive mode
1:::: Device in diagnostic mode
1 = No recording made
1 '" Call statistics transient 2
1 "" Use PUB2 name completion field
1 = Volume opened on this device
Reserved

CE mode limit byte
CE mode byte/bit mask

20
End 3886

Statistical data counters

Total length 26

PUB 2 Table Entry Format for 3540 Diskette
Decimal
Displacement

Byte
Length

Description

Usage Count (number of non-ERP SICs)

Flag byte:

Bit 0:
Bit 1:
Bit 2:
Bit 3:
Bit 4:
Bit 5:
Bit 6, 7:

1 = Device in intensive mode
1:::: Device in diagnostic mode
1 = No recording mode
1 "" Call statistics transient 2
1 "" Use PUB2 name completion field
1 "" Volume opened on this device
Reserved

CE mode limit byte
CE mode bytelbit maske
Statistical data counters
14

15
End 3540

Bit 0-5: Reserved
Bit 6: 1 "" System file opened by Job Control
Bit 7: 1 "" System file opened by Problem Program
Reserved
Total length 16

IV·58

RECORDER FILE TABLE (RF TABLE)

Displacement
Dec
Hex

Label

Byte Description
Length
Label of Starting Address

AFTABLE

Bit 0,
1,
2,

RFFLAGSl

Bit
Bit
Bit
Bit
Bit
Bit
Bit

3,

Reserved

4,
5,
6,

1
1
1
1

7,

Bit 0,
Bit

RFFLAGS2

"

Bit 0,

1

= Last track message issued once
= Error is to be recorded

Bit 2,
Bit 3'

1

4,
Bit 5,
Bit 6,
Bit 7,

= Individual records for unlabeled tapes
= Reserved

1 = Exit to SSBOMT05 indicator for SSBOPEN
1 == Exit to SSBOMTOl indicator for SSBOPEN

1,

Bit

=

=

Short form records request

Reserved

Work area switches for various transients including BT AM
Bit 0, 1 == Multiple records required (PAT1, 3895,
recording)
1 == PLB record required (PRT1 recording)
Bit L
OBA record required (3895 recording)
Bit 2, 1 == FCB record required (PATl recording)
MDA records required (3895 recording)
== UCB record required (PRTl recording)
Bit 3,
== Ignore exit requested (PATl recording)
Bit 4,
Bit 5, Reserved
Bit 6, 1 == Retry exit requested
Bit 7, 1 == Record not written
Aeserved

RFFLAGS5
RFNOFN

RFRECTYP

1 = File full message request

Bit 5'
Bit 6,
Bit 7,
Bit

RFFLAGS4

File is to be created
= File has been created
:: FHe is on FBA device
= File open and ready

=

1 = Threshold message request
= I/O error message request
= Data lost message request
= EVA message request
= File owned by RTA recorder
= File owned by PTA recorder
1 :: File being accessed by EREP

Bit 2,
Bit 3,
Bit 4,

RFLAGS3

1 :: File full
1 :: ROE option included
1 '" lnitiallPL

N of N records (low order 4 bits contain the number of
records to be recorded and high order 4 bits contain the
record number being processed
1

Record type code

RFREL

DOS/VS ID-Release Level code

RFRDSWl

Record dependent switch 1

RFRDSW2

Record dependent switch 2

10

A

RFBUFLG

Length of data buffer (FBA)

12

C

RFMCONST
RFBUFAD

Multiplier for track balance (CKD)
Address of data buffer (FBA)

14
16

10

RFDCONST

2

Divisor for track balance (CKD)

AFOCONST
RFNAVR

2
(2)

Overhead track for balance (CKD)
Displacement of next available ADF in buffer (FBA)

2

18

12

AFAECLEN

20

14

RFTIMEA

24

18

RFRECADR

4

Address of record

28

1,

AFSEEK
AFCUBL

7

Work area for seek address (BBCCHHR)"(CKD)
Work area for block number (FBA)
Reserved

Length of record
Address of RMSA time entry

(4)

(3)

IV-59

I

RECORDER FILE TABLE (RF TABLE) (••• Cont·d)

35

23

RFEREPK

1

Kev of EREP partition

36

24

RFHDRCH
RFHDRBL

4
(4)

SYSREC cylinder/head (CKD)

40

28

RECHMAP

2

Map of supported channels

42

2A

RFCHIDC

8

Channel I D codes

50

32

2

ReselVed

52

34

RFEXIT

4

Exit phase name or exit address

56

38

RFEVARTH

1

EVA read threshold

57

39

RFEVAWTH

1

EVA write threshold

58

3A

RFP2ENTL

2

Length of PUB2 Entry Area

60

3C

RFP2ENT

4

Address of PUB2 Entry Area

SYSREC block number {FBA

40
RFP21TAB
PUB2 Index Table
*
* Two bytes are generated for each PUB2 entry In the system. (See PUB2 Entry Addressmg for

64

using the PUB2 Index Table to access the PUB2 entries.
Bytes 100-103 IX'64'-X'67') of the system communication region (SYSCOM) contain the
address of the Recorder File Table. Label RFTABLE identifies the first byte of the table.

IV-60

CRT CONSTANT TABLE (CRTTAB)

11

12

13

15

16

17

1920

27

* limited channel logout is saved here
Byte 8 - Sense byte:

a

Bit
Bit 1
Bit 4
Bit 7

1 = Command reject
1 = Intervention required (only if Console Printer is attached)
1 = Equipment check (only if Console Printer is attached)
1 = Operation check

or: this byte is used for saving Name Indicator

Byte 12- Flag byte 1:
X'SO'
X'40'
X'20'
X'lO'

X'OB'

ERP message
Unit check for CRT
CRT Fetch bound
Device End simulated

Validation error

X'04'

Redisplay mode

X'02'

CRT error

I

Byte 16 - Flag Byte 2:
X'BO'
X'40'
X'20'
X'lO'
X'OS'
X'04'
X'02'
X'Ol'

CRT busy
Sense byte prepared
End of CRT routine
pata already read
Attention pending
Request pending

Attention request
EOJ on CRT

Bytes 52-55 (X'34'-X'37') of the System Communication Region (SYSCOM) contain the
address of the CRT CONSTANT Table. Label CRTTAB identifies the first byte of the table.
The first byte of this address, byte 52, inidcates the type of the generated CRT support. The
bits have the following meaning:
Bits 0-5 Reserved
Bits 6-7 Indicate the support for the operator console that has been generated in the supervisor:
00 = Typewriter
01 = 1250
11 • 3277/3278

IV-61

PROGRAM CHECK OPTION TABLE
PCTAB

~. \\
,

'.\

BG

Fn

,
..,.., ,
~~ \~~~~~~~~_4~r-~~~~7~
E:!!I.
I
\

=-

\

\

F2

fl'
z
$

m
m

Fl

,
,,

«=

Subtask

~

"

PC Routine Address

Save Area Address

~~ ,,

Subtask

Subtask

0

,,

,,
,,

Bytes 0-3 No STXIT issued:
SIXT issued:

zero
Address of the user Program Check Routine

SIXT issued and

the user routine

is already in use:

Complement of user Program Check Routine address

Bytes 4-7 No STXIT issued:
STXIT issued:

zero
Address of the user Save Area

Note:
Each generated table always comprises 16 entries; the subtask entries occupy the higher address
locations in the table.

Bytes 100-101 (X'64'-X'65') of the partition communication region contain the address of the
PC Option Table. Label PCTAB identifies the first byte of the table.

OPERATOR COMMUNICATION TABLE
oeTAB

I
fl'

\
BG

\

\
\

Fn

a'r-="

\

~ ~ \)-;:,;--r--.,.....~......::....,--.:~--T--.......:...."I
;t~
0"0

-.=.

Save Area Address

ii";;'

10

F2

~~ , /

-<

I

Fl

,

;"

I

Byte 0
X'80' Routine active
Bytes 1-3 No STXIT issued: zero
STXIT issued:
Address of the user Operator Communication Routine
STXIT issued and
the user routine
is already in use:
Complement ofthe userOperatorCommunication Routine address
Bytes 4-7

No STXIT issued:
STXIT issued:

zero
Address of the user Save Area

Note:
There is one entry for each partition supported.
Bytes 104-105 (X'68'-X'e9') of the partition communication region contain the address of the
OC Table. Label OCTAB identifies the first byte of the table.
IV-52

INTERVAL TIMER TABLE

gg
ITTAB

G

\\

Fn

r-=--

\\

,,

F2

'"
~

;~v~~~~: TECB Address

F1

z

Subtask

-=
Subtask
Subtask
Byte 0
Bytes 1-3

1/

X 80 IT Routine active
No TECB orSTXIT issued:
TECB issued:
STXIT issued:
STXIT issued and user
routine is already in use:

zero
Address of the timer event control block
Address of user interval timer routine
Complement of the user interval timer routine

Note:
Bit 1 of the byte 0 is used as a flag bit:
Bit 1 = If timer interrupt occurred and timer exit routine could not be entered. The processing of the timer interrupt is delayed until exit IT or Exit AB is issued.
Bytes 4-7

No TECB or STXIT issued: zero
TECB issued:
Complement of the TECB address
STXIT issued:
Address of the user save area

Note:
One table entry is built for each partition.
The table always comprises 15 entries; the subtask entries occupy the higher address locations in
the table.
Bytes 102-103 (X'66'-X'67') of the partition communication region contain the address of the
IT Table. Label ITT AB identifies the first of the table.
TASK TIMER OPTION TABLE

3 4

15

7 B

Task Timer Interval

zero
Address of entry point of user'stask timer routine address

Bytes 0-3

No STXIT issued:
STXIT issued:
STXIT issued and user's
routine already in use:

Complement of the task timer routine address

Bytes4-7

No STXIT issued:
STXIT issued:

zero
Address of the user's save area

Bytes 9-15 No SETT issued:
SETT issued:

zero or negative
Time remaining of the interval specified. The time is expressed in micro-seconds in bits 4-51. Bits 52-63 are
ignored.

Note:
Bytes 176-179 fX'BO'-X'B3') of the System Communications Region (SYSCOM) contain the
address of Task Timer Table. Label TTTA8 identifies the first byte of the table.

IV-63

I

INTERVAL TIMER REQUEST TABLE
ITREQ

:g 1----;----

Clock Comparator Value
(= end of time interval)

Interval Timer Request Table· OnREOl

The entries in the ITREQ are either active or inactive. An active entry contains in bytes 0-7 the
clock comparator value (= end of interval) and in bytes 8-9 the task identifier. The lowest value
occupies the first position of the table, the highest value the position before the inactive entries.
All bits of an inactive entry are set to one (binary format). The last entry is always inactive and
all entries are set inactive after IPL.

The clock comparator is set to the value contained in the first entry of the ITREQ table.
Bytes 80-83 (X'50'-X'53') of the System Communication Region (SYSCOM) contain the
address of the IT Request Table. ITREQ identifies the first byte of the table.

IV-S4

ABNORMAL TERMINATION TABLE
ABTAB

1

~\

~\

F2

'"~

>

>''1"0__,-_,..._-,-__3,4_,__.,-_,_,

"'"
a;lg

a:

Fl

~;;

61)

Subtask

ji

p

,I
I'

I~I

Subtask

,I
II

Subtask
/'
L-_ _ _--"/

,
,,
,
,

,,

I

,,

I

,

I

,
,,

I
,,

I

I

,

I

Byte 0

X'SO'Routine active
X'40'Suppress message and DUMP before entering AS routine

Bytes 1-3 No STXIT issued:
STXIT issued:

zero
Address of entry point of user's abnormal termination
routine

STXIT issued and the user
AS routi~e already in use: Complement of the user AS exit routine address
The maintask and subtasks may have the same or different AS routines. When a
subtask is ATTACHed after a STXIT AS macro has been issued by teh maintask,
the subtaks will receive the AS routine address specified by the maintask only if

the AITACH macro for that subtask has the ABSAVE parameter specified. The
subtask can override this by issuing its own STXIT AB macro.
Bytes 4-7

No STXIT issued or no
save area parameter passed: zero
STXIT issued and save
area parameter passed:
Address of a 72-byte save area used by the supervisor to
store the interrupt status information and the contents
of the general requesters.

Note:
One table entry is generated for each partition supported. The table always comprises 15 entries;
the subtask entries occupy the higher address locations in the table.
Bytes 84-87 (X'54'-X'57') of the System Communication Region (SYSCOMI contain the
address of the AB Table. Label ABTAB identifies the first byte of the table.

IV-55

m,:'\. "

PAGE FAULT HANDLING OVERLAP TABLE
PFATAB

i

F2

Z

Fl

~

."",
0
\
"T1

~l> ~

-

Subtask

Subtask

Page Fault Information

a~ "

Subtask

-

~=-r;;~--""::;""T--'-----';""

m 0

<~/

:'
,,

,
,,

SETPFA issued
Byte 0

Bit
Bit

1
1

= A page fault from the task is in the Page Queue
= A page fault occuring in a supervisor service of the task is queued in the
Page Queue Table

Bits 2-7 Reserved
Bytes 1-3 Address of the user's page fault appendage routine

Bytes4-7 Page fault information (for detail layout see Page - IN - Queue Table)
. This information is stored here only when a page fault occurs in a supervisor service
working for the task, while another page fault is queued for the task in the Page
Queue, otherwise zero.

NO SETPFA issued

Bytes 0--7 zero
Note:
One table entry is generated for each partition supported. The table always comprises 15 entries;
the subtask entries occupy the higher address locations in the table. label PFATAB identifies the
first byte of the table.

IV-66

JOB ACCOUNTING INTERFACE COMMON TABLE

Displacement

Label

Description

iACCTCOMN)

Temporary register save area

0-15

ACCTSVRG

16-17

ACCTSVRX

Reserved

lB-19

ACCTSVRE

Reserved

20-23

ACCTPCNT

Count of partitions using the Job Accounting interface

24

ACCTSAID

Reserved

25

ACCTFAID

Reserved

26

ACCTRAID

Accounting to:

X'OO'
X'04'

Overhead time
Allbound time

Byte 1 of PI K for CPU time

27

ACCTSWCH

Accounting switches:
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit

0
1
2
3
4
5
6
7

1 '" Cancel accounting
1 '" No active partitions
= Catalog in process
== Alternate label area
= IPL indicator
= Reserved
1 = Reserved
1 = Reserved

Reserved

28-31

ACCTIME

32-33

ACCTRESC

Reserved

34-35

ACCTUSEP

Address of user save area (ACCTUSER)

36-37

ACCTUSEL

Length of user save area (Set with 1 st operand of FOPT
macro parameter JALIOCS)

38-39

ACCTSJOB

Job accounting partition indication

40-43

ACCTBLES

Address of BG Job Accounting Table

This table is to be extended (dependmg on the number of supported partItions) according to the
pattern shown below.
NPARTS=n
44-47

Address of Fn Accounting Table

+4

Address of F2 Job Accounting Table

+4

+ In*21-1

Address of Fl Job Accounting Table
ACCTSEAS

Control Field: prevents the accounting routine being
loaded twice

.. These values are the same as the PI K values for the relevant tasks.
Byte 124-127 IX'7C'-X'7F') of the system communication region ISYSCOM) contain the
address of the Job Accounting I nterface Common Table. Label ACCTCOMN identifies the first
byte of the tabel.

IV-67

I

JOB ACCOUNTING INTERFACE PARTITION TABLE

Displacement

Label

Description

(ACCTABlEI
Work area used by job control

0-3

ACCTWK1

4-7

ACCTWK2

Work area used by job control

8-11

ACCTSVPT

Job card pointeri address of job card field following job-

12-13

ACCTPART

10 of partition in charge (partitions switch name)

14-15

ACCTlEN

Length of SID area = 6n+1, where n = number of devices
for this partition in SYSGEN option JA = (n, n, ... )

16-21

ACCTLOAD

Label area instruction; moves JAr label area adress to
OPEN/CLOSE transients

22-23

ACCTRES3

Reserved

24-27

ACCTlADD

Address of alternate fabel area

28-31

ACCTCPUT

Counter for program execution time (processor time) in

the current jobstep. Counted in 300th of a second.

32-35

ACCTOVHT

Counter for system excution time (overhead time) in the
current job step, distributed in proportion of the processor
time,

36-39

ACCTBNDT

Counter for all-bound time; system wait state time divided
between running partitions,

40--47

ACCTSVJN

Save area for job name during simulated EOJ

48-55

ACCTJBNM

Job name; taken from job card

56-71

ACCTUSRS

User information; 16 bytes form job card

72-73

ACCTPTID

Partition ID: 'BG', 'Fl', 'F2', etc, in EBCDIC format

74

ACCTCNCL

Cancel code; see Cancel Codes and Messages

75

ACCTYPER

Type of record'S' = job step, 'L'

76-83

ACCTDATE

= last step of job

Date in format specified at SYSGEN (MM/DD/YY or
DD/MM/YYI

84-87

ACCTSTAT

Start time of a jOb-step, in packed decimal
(DHHMMSSF; F = sign)

88-91

ACCTSTOP

Stop time of a job step in the same format as ACCTSTRT.
This value is used as the start time for the next step.

92-95

ACCTRES

Reserved

96-103

ACCTEXEC

Phase name; taken from execute card

104-107

ACCTHICR

2K * number of partition pages referenced (or pfixed for
real execution) by the problem program in the current
job step.

108-111

ACCTIMES

Same as ACCTOPUT at the end of the job step
Same as ACCTOVHT at the end of job step

112-115

Same as ACCTENDT at the end of job step

116-119
120

ACCTSIOS

c)IO tables: 8 bytes for each device specified by SYSGEN
options, as follows: 2 bytes for device address (Ocuu\
4 bytes for count of SIOS in current jobstep.
Overflow byte: norally X'20', but is X'3D' if more defices
are used within a partition that specified by SYSGEN
options.

Notes:
DSECT ACCTABLE symbolically addresses the JAI Partition Tables with labels, as shown. Each
partition inwhichJAI is supported has its own JAI Partition Table. Thistableis labeled ACCTBG
for the active partition BG; ACCTFl for the active partition F1; ACCTF2 for F2, etc.
The address of this table is in ttle partition Communication Region at displacement 116 {X'74'j.

IV-6B

ASCII EBCDIC TRANSLATION TABLES
ASCII/EBCOIC (010 to 3/21
ASCII

Charact. Col Row

EBCOIC

Bit Pattern

Col Row

Bit Pattern

Comments

(in hex)

NUL
SOH
STX
ETX
EOT
ENQ
ACK
BEL
BS
HT
LF
YT
FF
CR
SO
SI
OLE
OCI
OC2
DC3
DC4
NAK
SYN
ETB
CAN
EM
SUB
ESC
FS
GS
RS
US
SP
I
"

#
S
%
&
(

1

+

/
0
1
2

0
0
0
0
0
0
0
0
0

a
a
a
a
a
a
a

0
1
2
3
4
5
6
7
B
9
10
11
12
13
14
15

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
3
3
3

1
2
3
4
5
6
7
B
9
10
11
12
13
14
15
0
1
2
3
4
5
6
7
B
9
10
11
12
13
14
15
0
1
2

a

0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0001
0001
0001
0001
0001
0001
0001
0001
0001
0001
0001
0001
0001
0001
0001
0001
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
0011
0011
0011

0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
0000
0001
0010

0
0
0
0
3
2
2
2
1

a
2

a
a
a
a
a
1
1
1
1
3
3
3
2
1
1
3
2
1
1
1
1
4
4
7
7
5
6
5
7
4
5
5
4
6
6
4
6
F
F
F

IV-69

0
1
2
3
7
0
E
F
6
5
5
B
C
0
E
F

a

1
2
3
C
0
2
6
B
9
F
7
C
0
E
F

a

F
F
B
B
C
0
0
0
D
C
E
B
0
B
1
0
1
2

0000
0000
0000
0000
0011
0010
0010
0010
0001
0000
0010
0000
0000
0000
0000
0000
0001
0001
0001
0001
0011
0011
0011
0010
0001
0001
0011
0010
0001
0001
0001
0001
0100
0100
0111
0111
0101
0110
0101
0111
0100
0101
0101
0100
0110
0110
0100
0110
1111
1111
1111

0000
0001
0010
0011
0111
1101
1110
1111
0110
0101
0101
1011
1100
1101
1110
1111
0000
0001
0010
0011
1100
1101
0010
0110
1000
1001
1111
0111
1100
1101
1110
1111
0000
1111
1111
1011
1011
1100
0000
1101
1101
1101
1100
1110
1011
0000
1011
0001
0000
0001
0010

I
Logical OR

Hyphen, Minus

ASCII EBCDIC TRANSLATION TABLES ( ••• Cont'd)
ASCII/EBCDIC (3/3 to 616)
EBCDIC

ASCII

Charact. Col Row
3
4
5
6
7
B

9

:

<
=
>
1
@

A
B
C
D
E
F
G
H
I
J
K
L
M
N

0
P
Q

R
S
T
U
V

W
X
Y

Z
[
\
)

-

,
b

c
d

e
f

3
3
3
3
3
3
3
3
3
3
3
3
3
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
6
6
6
6
6
6
6

Bit Pattern

Col Row
(in hex)

3
4
5
6
7

0011

B

0011

9
10
11
12
13
14
15
0
1
2
3
4
5
6
7

0011

F
F
F
F
F
F
F

8
9
10
11
12
12
14
15
0
1
2
3
4
5
6
7
B

9
10
11
12
13
14
15
0
1
2
3
4
5
6

0011

0011

0011
0100
0101

0011

0110

0011

0111
1000
1001
1010
1011
1101

0011

0011
0011
0011
0011
0011
0100
0100
0100
0100
0100
0100

0100
0100
0100
0100
0100
0100
0100
0100
0100
0100
0101

0101
0101
0101
0101
0101
0101

0101
0101
0101
0101
0101
0101
0101
0101

0101
0110
0110
0110
0110

0110
0110
0110

1101

1110
1111
0000
0001
0010
0011
0100
0101
0110
0111

1000
1001
1010
1011

1100
1101

1110
1111
0000
0001

0010
0011
0100
0101
0'10
0111
1000
1001
1010
1011
1100
11'1

1110
1111
0000
0001

0010
0011
0100
0101

0110

3
4
5
6
7

Bit Pattern
1111
1111

1111
1111

1111

B

1111

9

1111

7
5
4
7
6
6
7

A
E
C
E
E
F
C

0111

C
C
C
C
C
C
C
C
C
D
D
D
D
D
D
D
D
D
E
E
E
E
E
E
E
E

1
2
3
4
5
6
7
9
1
2
3
4
5
6
7

1101
1101

1101
1101
1101

1101
1101
1110
1110
1110

9
2
3
4
5
6
7

1110

1110
1110
1110
1110
0100

B

9

E

0

5
5
6
7

A
F
D

8
8

1101

B

A

B
B

1100

1100
1100
1100
1100
1101

B

4

B
B

0101
0100
0111
0110
0110
0111
1100
1100
1100
1100

1110
0101

0101
0110
0111
1000
1000
1000

9
1
2
3
4
5
6

IV-70

0011
0100
0101
0110
0111
1000
1001
1010
1110
1100
1110

1110
1111
1100
0001
0010
0011
0100
0101
0110
0111
1000
1001
0001
0010
0011
0100
0101
0110
0111
1000
1001
0010
0011
0100
0101
0110
0111
1000
1001
1010
0000

1010
1111
1101
1001
0001
0010
0011

1000

0100
0101

1000

0110

1000

Comments

Reverse Slant
Logical Not

Underscore
Grave accent

ASCII EBCDIC TRANSLATION TABLES (... Cont'd)
ASCII EBCDIC

16n to 7/151
EBCDIC

ASCII
Bit Pattern

Col

Row

Bit Pattern

0111
1000
toOl
10to
toll
1100
1101
1110
1111
0000
0001

8
8
8

7
8

9
9
9
9
9
9
9
9

1
2
3

15
0
1

0110
0110
01to
0110
0110
0110
0110
0110
0110
0111
0111

toDD
1000
toDD
1001
1001
1001
1001
1001
1001
1001
toOl

2

0111

0010

3

0111
0111
0111
0111
0111
0111
0111
0111
0111
0111
0111
0111
0111

0011
0100
0101
01 to
0111
1000
1001
1010
1011
1 toO
1101
llto
1111

9
A
A
A
A
A
A
A
A
C

Charact. Col Row

9
h
i
j
k
I
m
n

a
P
Q

,
s

t
u
v
w
x
y

{
I

}
~

DEL

6
6
6
6
6
6
6
6
6
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7

7
B

9
10
11
12
13

,.
•
5

6
7

8
9
10
11
12
13

,.
15

6
D
A
0

9

•
5

6
7
8
9
2
3

•
5

6
7

8
9
0
A
0
1
7

E8CDIC

1001

1001

1010
1010
1010
10to
1010
1010
tolD
1010
1 toO
0110
1101
1010
0000

OOto
0011
0100
0101
0110
0111
toDD
1001
0000
10to
0000
0001
0111

Bit Pattern

Col Row

Bit Pattern

NUL
SOH
STX
ETX
HT
DEL

0000
0000
0000
0000
0000
DODO
0000
0000
0000
0000
0000
0001
0001
0001
0001
0001
0001
0001
0001
0001
0001
0001

0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
0
1
1
1
1
1
1

0000
0000
DODO
0000
DODD
0111
0000
0000
0000
0000
0000
0001
0001
0001
0001
DODO
0001
0001
0001
0001
0001
0001

VT
FF
CR
SO
SI
DLE
DCl
DC2
DC3
BS
CAN
EM
FS
GS
RS
US

0
1
2
3
5
7
B
C
D
E
F
0
1
2
3

6
8

9
C
D
E
F

Vertical Line
Tilde

ASCII

Charact. Col Row
(in hex)
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1

Comments

0111
1000
1001
0001
OOto
0011
OtoO
Otol
0110
0111
toDD

0000
0001
0010
0011
0101
0111
1011
1100
1101
1110
1111
0000
0001
OOto
0011
0110
1000
1001
1100
1101
1110
1111

EBCDIC to ASCII (XOO to IF)

IV-71

0
1
2
3

9
15
11
12
13

"

15
0
1
2
3
B

8
9
12
13

,.
15

0000
0001
0010
OOto
1001
1111
1011
1 toO
1101
1110
1111
0000
0001
0010
0011
toDD
1000
toDD
1100
1101
1110
1111

Comments

I

ASCII EBCDIC TRANSLATION TABLES (••• Cont'd)
EBCDIC to ASCII (X'25' to X'93')
EBCDIC

Charact. Col Row

ASCII

Bit Pattern

Col Row

Bit Pattern

0010
0010
0010
0010
0010
0010
0011
0011
0011
0011
0011
0100
0100
0100
0100
0100
0100
0100
0101
0101
0101
0101
0101
0101
0101
0110
0110
0110
0110
0110
0110
0110
0110
0111
0111
0111
0111
0111
0111
0111
1000
1000
1000
1000
1000
1000
1000
1000
1000
1001
1001
1001

a

0000
0001
0001
0000
0000
0000
0001
0000
0001
0001
0001
0010
0101
0010
0011
0010
0010
0010
0010
0101
0010
0010
0010
0011
0101
0010
0010
0111
0010
0010
0101
0011
0011
0110
0011
0010
0100
0010
0011
0010
0110
0110
0110
0110
0110
0110
0110
0110
0110
0110
0110
0110

Comments

(in hex)

LF
ETB
ESC
END
ACK
BEL
SYN
EDT
EC4
NAK

SUB
SP
[

<
(

+
I
&

J

.

S
)

;

I
I

%

-

II
1

:

#
@

..a
b

.
c

d

f

9

h
i
j
k
I

2
2
2
2
2
2
3
3
3
3
3
4
4
4
4
4
4
4
5
5
5
5
5
5
5
6
6
6
6
6
6
6
6
7
7
7
7
7
7
7
B
8
8
8
8
8
8
8
8
9
9
9

5
6
7
0
E
F

2
7
C

0
F

0
A

B
C

0
E
F

0
A
B
C

0
E
F

0
1
A
B
C

0
E
F

9
A
B
C

0
E
F

1
2
3
4
5
6
7
8
9
1
2
3

0101
0110
0111
1101
1110
1111
0010
0111
1100
1101
1111
0000
1010
1011
1100
1101
1110
1111
0000
1010
1011
1100
1101
1110
1111
0000
0001
1010
1011
1100
1101
1110
1111
1001
1011
1011
1100
1101
1110
1111
0001
0010
0011
0100
0101
0110
0111
1000
1001
0001
0010
0011

1
1
0
0
0
1
0
1
1
1
2
5
2
3
2
2
2
2
5
2
2
2
3
5
2
2
7
2
2
5
3
3
6
3
2
4
2
3
2
6
6
6
6
6
6
6
6
6
6
6
6

10
7
11
5
6
7
6
4
4
5
10
0
11
14
12
B

11
1
6
13
4
10
9
11
14
13
15
12
12
5
15
14
15
0
10
3
0
7
13
2
1
2
3
4
5
6
7
8
9
10
11
12

IV·72

1010
0111
1011
0101
0110
0111
0110
0100
0100
0101
1010
0000
1011
1110
1100
1000
1011
0001
0110
1101
0100
1010
1001
1011
III(}
1101
1111
1100
1100
0101
1111
1110
1111
0000
1010
0011
0000
0111
1101
0010
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100

Logical OR

logical Not
Hyphen, Minus

Vertical Line

Underscore
Grave accent

ASCII EBCDIC TRANSLATION TABLES (. .. Cant'd)
EBCDIC to ASCII IX'94' t X'F9'1
ASCII

EBCDIC

Charact. Rol Row
(in hex)

Bit Pattern

Col Row

Bit Pattern

m
n

1001
1001
1001
1001
1001
1001
1010
1010
1010
1010
1010
1010
1010
1010
1010
1100
1100
1100
1100
1100
1100
1100
110
1100
1100
1101
1101
1101
1101
1101
1101
1101
1101
1101
1101
1110
1110
1110
1110
1110
1110
1110
1110
1110
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111

6
6
6
7
7
7
7
7
7
7
7
7
7
7
7
7

0110
0110
0110
0111
0111
0111
0111
0111
0111
0111
0111
0111
0111
0111
0111
0111
0100
0100
0100
0100
0100
0100
0100
0100
0100
0111
0100
0100
0100
0100
0100
0100
0101
0101
0101
0101
0101
0101
0101
0101
0101
0101
0101
0101
0011
0011
0011
0011
0011
0011
0011
0011
0011
0011

0

P
q

,

~

s
t
u

v
w
x
y

z

{

A
B
C
D
E
F

G
H
I

}
J
K
L
M
N

0
P
Q

R

\
S

T
U
V

W
X

Y
Z
0
1
2
3
4
5

6
7
8
9

9
9
9
9
9
9
A
A
A
A
A
A
A
A
A
C
C
C
C
C
C
C
C
C
C
D
D
D
D
D
D
D
D
D
D
E
E
E
E
E
E
E
E
E
F
F
F
F
F
F
F
F
F
F

4
5

6
7
8
9
1

2
3
4
5

6
7
8
9
0
I

2
3
4
5

6
7
8
9
0
1

2
3
4
5

6
7
8
9
0

2
3
4
5

6
7
8
9
0
1
2
3
4
5

6
7
8
9

0110
0101
0110
0111
1000
1001
0001
0010
0011
0100
0101
0110
0111
1000
1001
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
0000
0010
0011
0100
0101
0110
0111
1000
1001

DODD
0001
0010
0011
0100
0101
0110
0111
1000
1001

4
4
4
4
4
4
4
4
4

7
4
4
4
4
4
4
5
5
5
5
5
5
5
5
5
5
5
5
3
3
3
3
3
3
3
3
3
3

IV-73

13
14
15
0
1

2
14
3
4
5

6
7
8
9
10
11
1

2
3
4
5

6
7
8
9
13
10
11
12
13
14
15
0
1
2
12
3
4
5

6
7
8
9
10
0
1
2
3
4
5

6
7
8
9

1101
1110
1111
0000
0001
0010
1110
0011
0100
0101
0110
0111
1000
1001
1010
1011
0001
0010
0011
0100
0101
0110
0111
1000
1001
1101
1010
1011
1100
1101
1110
1111
0000
0001
0010
1100
0011
0100
0101
0110
0111
1000
1001
1010

DODD
0001
0010
0011
0100
0101
0110
0111
1000
1001

Comments

Tilde

I

Reverse Slant

SEGMENT AND PAGE TAB LE

PT (Page Table)

STAB (Segment table)

9\\\\
~,:::::,:,::::\::~ In
X'FO'

X'FO'

X'FO'

I

Page Table

Address of

Page Table

=

X'FO'

,

Address of

Address of

Page Table

Address of
Page Table

I

JJ

I

~

\r-;-r;.
"'''-"'' ","-, ~IU~ H
!, ~

., ,

iE;1 '?)

One page table is built for

~II.

1,"//

I

each segement of virtual ~
storage and contains 32 ....,
two-byte entries.

-

Bytes 0 and 1
Bit 0

1

Bits 0---12

Leftmost 13 bits of address of page in real storage if bit 13'" 0

Bits 8-11

Storage key of corresponding partition if bit 13 = 1

Bit 13

a

Bit 14

Always zero

Bit 15

PDS (Page Data Set) bit:
1 = Page must be read from page data set
(a valid copy of the page is on the page data set)
o = Page need not be read from page data set
(no valid copy of the page on the page data set)

=

Address of any byte in the corresponding page is invalid

= Page is in real storage
1 '" Page is not in real storage

Bytes 208-211 (X'DO'-X'D3') of the System Communication Region (SYSCOM) contain the
address of the Segment Table.

IV-74

PAGE DATA SET TABLE
Page management uses the Page Data Set Table (DPDTAB) to calculate the correct address for a
given page on the Page Data Set, if a read or write operation is necessary. Bytes 224-227
(X'EO'-X'E3') of the System Communication Region (SYSCQM) contain the adress of the
DPDTAB. The DPDTAB consits of a header and one entry for the device description. Label
DPDT AS identifies the first byte of the table. The table has the following layout:
Header
Bytes:
0-1

Reserved, must be 1

2-3

Reserved, must be 1

4-5

Number of virtual pages supported

6-7

Length of DPDTAB entry

9-11

Address of constant table for load leveler

12-13

If 1370 mode:
If ECPS:VSE

Relocation value for Supervisor pages
Mode:Reserved

14-15

If /370 mode:
If ECPS:VSE

Relocation value for Non-Supervisor pages
Mode:Reserved

Entry
Bytes:
0-1

Channel and unit number of Page Data Set device
Indicates FBA (1), eKD (2), or RPS (3) device
Device type code

4-5

If FBA device:
If CKD device:

Block length
Number of records per track

6-7

If FBA device:
If CKD device:

Number of blocks per page
Number of tracks per cylinder

8-11

If F BA device:
If CKD device:

Block number of lower limit
Relative track number of lower extent limit

12-15

If FBA device:
If CKD device:

Number of blocks used for the extent
Number of tracks used for the extent

16--17

PUB index

18-23

Volume ID of Page Data Set

24-25

Page number of upper limit on the extent

26--27

Not used (for alignment only)

lV·75

I

PAGE IN QUEUE ENTRY IPGQUI}

I

Flag Byte

I

Page Address

I

Task tD

Bytes:

a

8itsO-3 BitsO-30fPIKorTIK
Bits 4-7 8'0000' Page Translation Exception

B'1000' Dummy request

1-2

Leftmost 16 bits of the address of the page (which is also the address of the page
frame. if GETREAL) to be handled. The remaining 8 bits of the address are assumed
to be zero.
Task identifier (PIK or TIK) of user task or task identifier (select byte in STtDfield)

or system task

The request that require the activity of the page-out (PGT) system task (it may be requested by
GETREAL and for the handling of a PGOUI entry) afe queued in the page-out queue (PGQUD),
and handeld on a F J FO {first-in-first-outl basis.
The page-in queue has a maximum of 19 four-byte entries and label PGOUI identifies the first
byte of the table.

PAGE-OUT QUEUE ENTRY (PGQUO)

Bytes:

a

Flag Byte
Bit a '" 1 Posting required
Bits 1-7 Reserved

1-3

Address of PFTE 10 be handled

4,5

Task identifier of system task that requested the entry (only valid if bit
is on).

6,7

Task identifier of usertaksthat requested the entry (only valid if bit a in byte a ison).

a in byte a

The page·out queue cons its of 9 eight-byte entries, and the label PGaUO identifies the first byte
of the table.

IV-76

PAGE FRAME TABLE ENTRY (PFTE)

12

Byte 0 - 3:

15

Page frame address.

370 mode only;
Byte 3:

Bit 4 '" 0 If page frame belongs to supervisor or IPL partition.
Bit 4 '" 1 If page frame belongs to initial page pool.

Bytes 4 -7:

zero

By!e 0 (PFTE flag):
8itO
(Hold Bitl
Bit 1
(POE bit)
Bit2
(PObitl
Bit 3
(POAbit)

1 '" Ensures that each task causing a page fault can use the
page before it is disconected again.
1 = Indicates that the PFTE has an entry in PGOUO.
1 = Indicates that an active entry from the PMR task is in PGQUO.
1 = Indicates that 110 for a page out has been started far this
PFTE.

8it4
(RP bit)

1 = Indicates for the PGT task that the posting of a system task

Bit 5
(RPUTbit)

1 = Indicates for the PGT task that the posting of a user task

81t56-7

Reserved.

is required.

is required.

Byte 1 and 2:

ff the page belongs to the page frame. byte 1 and 2 contains the leftmost 16 bits
of the 3-byte address.

Byte 3 (370 mode flag byte):
Bit 0
{NFRP bitl

Bit 1
(NFVP bit)
Bit 2
(oRAP bitl
Bit3
{PC bitl
Bit4
{PNRINV bitl

Bit 5
(RPRESPF bit)

Bit 6
(RPPGFIX bitl

1 = Page in this page frame must notbe TFIXed, since the page
frame is in the PSO.
1 = Page belonging to this page frame is requested by PFIX.
The page frame is not in the PSQ.
1 '" Indicates that the address space belonging to the PFTE is
failing storage.
1 = Indicates that a page is connected to the page frame. Either
a page-in or an unconditional page-out request is in progress_

1 '" Page frame is unused_ It indicates that the PNR field, the FIX
counters, the WID field, the PFTE flag and the 370 mode flag
(except for1he NFRP, ORAP and RPRESPF bitsl are invalid.
1 '" Indicates to the PMR or PGT system that the posting of a
task (for PFIX/GETREALl that is waiting for the end of a
page 110 for a reserved page frame is requeseted. NFRP is
also set.
1 '" Indicates for the PGT task that the posting of a task (for
PFIXITFIX1, that is waiting for the end of a page-out for
the page to be PFIXed, is requested_ NFVP is also set.

Byte 4 (370 mode only):
Contains the TIK of the task requesting PFIX. The page frame of the page to be
PFIXed does not belong to the corresponding real partition.
Byte 5:

Indicates how often the page is permanently fixed.

Byte 6 and 7:

Indicates how often the page is temporarily fixed.

Byte 8 - 11:

Pointer to the next PFTE.

Byte 12 -15:
Pointer to the preceding PFTE.
Note:
The pointers in bytes 7 through 15 are only valid if the PFTE is in the PSO, or, for 370 mode, in
the unused page frame queue.

IV-77

I

PAGETAB

ENTRY 1

I

note

ENTRY 2

""
ENTRY n-1

I

r

-------'---''f-''-t'--I
0
-.----r::---=t-"-314-t"---r-15
: --r-'-i:
71
"'1=

ENiRY n

Byte 0
Bytes 1-3

Byte 4

...... ""

TIK (identifier of taks that issued the PAGEIN macro).
Pointer to a list of areas that are to be paged in.

bit a
bit 1
bit 2
bit 3
bit 4
bit 5
bit 6
bit 7

Byte 5-7

........., .... ,

1 = PAGEIN request has been completed
Reserved
1 '" One more of the requested pages are outside the requesting
program's partition.
1 = One or more negative length specifications were detected.
Reserved
Paging activity too high. Terminator required by load leveler.
Taks is terminating, request has to be deleted.
Second scan in progress.

Pointer to ECB (if used) or zero.

Note:
The number of entries is determined at supervisor generation time. Label PAGETAB identifies
the first byte of the table.

IV-7a

TRANSLATION CONTROL BLOCK (TCBI
78

34

1112

1516

19

Data chaining specified
Read/Sense command specified
Read backward command specified
= 1:
= 1:

1:
6,7:
=

Status modifier command with data chaining
Status modifier command with command chaining
Request for FIX information block

Reserved

Byte 1

(ADBTAMCB):
Number of copy blocks needed in addition to those required for current CCWtranslation request (refer to the section "BTAM Considerations").

8yte 4

(DEVSTPTRI:
Pointer to status modifier list belonging to handled device. Zero if device does not
support status modifier commands.

Byte 8

(DEVCDPTR):
Pointer to control command list which belongs to handled device. Zero if device does
not support control commands with data area.

Byte 12

(LINEPTR):
Chain of knots of free structure caused by TIC following status modifier command.
(Refer to the section "Translating Status Modifier Commands".) Zero if no knots
exist in the CCW chain.

Byte 16

(BENDPTR):
Chain of knots built because status modifier command is last one fitting in CCW copy
block. Zero if no status modifier commands at end of CCW copy blocks.

Byte60

(TCBFLAG1):
Bit 0 "" 1 Replica creation requested
Bit 1 = 1 Replica test in process
Bit 2 '" 1 Request for replica block
Bit 3 "" 1 Request for DIOAL block
Bit 4-7 Reserved

Bytes 52-71 as shown are for fast CCW translation only. For a normal translation
byte 52 is the first byte of the save area.
To locate the TCB associated with the partition/task, add X'50' to the address of the System
Save Area (displacement X'09' of the appropriate PIB). Labels CCWTCB1-CCWTOBn identify
the first byte of the appropriate TCe.

IV·79

I

TRANSLATION CONTROL AND COPY BLOCKS
Thefollowing control and copy blocks are used to copy and translale a

eea and channel program

for a virtual mode 1/0 request:
• A translation control block (CCWTCB, or abbreviated asTeS). This block is used as a work
and save area during translation.
• A eea

copy block. The user eea and sense CCW (if any) are copied into this block. The eea
copy block also contains information about the copied and translated channel program.

• CCW copy blocks. Each block contains copy locations for up to 7 contiguous CCWs and queueing information.
• IDAL blocks. Blocks used for building Indirect Data Address Lists for CCWs having IOALs or
for data areas which cross page boundaries.
• Fix information blocks. Each block contains a bit string for fix information for a block of
1088K of real storage. One or more fix informations blocks are generated if a page is fixed
at a location greater than 384K (information for page frames up to that address is kept in the
CCB copy block).

IVIRTUAL STORAGE I

----------T-------------I
R~U~

I
I

I
I
I

IV-80

COPY BLOCKS I..• Cont'dl
Layout of eCB Copy Block

0

I

1

I

2

I

CCBCNT

CCB
COM1

I

3

5

4

I

CCB
COM2

CCBCCW

I

6

I

CCB
STA1

CCB
STA2

CCBBY3

CCBCSWW

CCB
CLS'

I

7

I

CCB
LNO

[
()
()

'"

Address of first CCW

..J

16 CCBSENS
Sense CCW if any
24 CCBPIK
UserPIK

g

JCC'B
FLAG ••

I

Unused

CCBVA
Virtual Address of eGB

ceBres

J2 CCBACB
Address of first CCW copy block in
channel program with lowest VBA

Address of first IDAL block in channel
program

40 CCBXINF (Fix information; 24 bytesl
·4B

06
64

r,.--

Each bit in this field represents one page frame.
If a bit is on, the associated page frame contains
a page fixed for this 1/0 request. If more than
384K of real storage are available, the address
in CCBXPTR will point to any additional field
which contains bits for the page frames beyound 384K.

CCBXPTR

CCBNEXT

Address of additional Fix information

Address of next eCB copy block

-

Note:
If the fast CCW translation option is active, bytes 56-67 of the CCB copy block have a different
meaning, as shown below:
The address of the REPLICA block associated with this channel program.
Bytes 56-59
Bytes 60-63
Bytes 64-67

* Set to X:20'

Pointer to the next CCB in the saved
translation routines.

cce queue used by the fast CCW

Pointer to the previous CCB in the saved CCB queue.
(= copied CeB)

- Legend CCBFLAG:
Bit 0
Indicates that eeW-translation of this request is complete; indicator is set
before I/O request is enqueued in channel queue.
Bit 1

Indicates that at least one time during eCW·translation control has been
transferred to TFIX routine. In case TTFIX is 0 scan through CeBX1NF
for freeing pages is skipped. Indicator is set immediately before control
is transferred to TFIX routine.

Bit 2

Reserved

Bit 3

Indicates that the next eCW·translation request from BTAM is from the
BTAM channel appendage. This indicator is set immediately after 1st time
request from BTAM has been completed.

Bit 4

Valid for fast translation.

Bit 5

cee copy block is on saved eGB queue.

Bit 6

Data area pages require fixing.

Bit 7

Reserved

IV·S1

I

COPY BLOCKS (••. Cont"dl
layout of CCW Copy Block

0

I

1

I

2

I

3

I

4

I

5

I

6

I

7

1 st Copy location for CCW
2nd Copy location for CCW

16 3rd Copy location for CCW
24 4th Copy location for CCW
32

5th Copy location for CCW

40

6th Copy location for CCW

"4S

7th Copy location for CCW

56

X·SO· •

X·OOOOOO·

64

x·aa· ••

X·OOOODO·

Virtual address of first CCW in the
Copy block
Address of next CCW Copy block in

the chain
• X'SO' indicates the end of the CCW copy locations in the block. It is replaced by a TIC
(Transfer in Channel command) if the 7th copy location contains a copied CCW with
data- or command chaining. Bytes 57-59 will then point to the copy location ofthe
CCW following in the CCW in the 7th location. Bytes 56-59 will not be changed if the
CCW in the 7th copy location is a TIC.

** X'88', indicates the last 8-byte entry in the block. It is replaced by a TIC if the CCW in
the 7th copy location is a status modifier CCW. Bytes 65-67 will then point to the copy
location of the second CCW following the status modifier CCW.

IV-S2

COPY BLOCKS (.... Cont'd)
MAIN REPLICA BLOCK
VCCBA

RCCBA

i

TIMEST

I

REPPIK REPLCNT

I CCWSTRL

REPDIDAL
CCB
CCW1
CCW1

CCW2

CCW2

CCW3

CCW3

REPFPT

REPBPT

REPNEXT

ADDITIONAL REPLICA BLOCK

5C

I

REPNEXT

Legend:
Virtual CCB address
Address of copied CCB
Timestamp
Partition Identifikation Key
The number of tasks currently testing this REPLICA for a match with their
channel program
CCWSTRL
Length of CCW string (number of CCWs)
Address of DIDAL block
REPDIDAL
REPFPT, REPBPT Pointers used for chaining REPLICAs (forward and backward pointer)
Pointer to (next) additional REPLICA block
REPNEXT
VCCBA
RCCBA
TIMEST
REPPIK
REPLCNT

DIDAL BLOCK
ENTRY

DIDAL ENTRY
1
2

a
FLAGBYTE
Indicates that TFIXing is not
Bit 0
neccessary because the page
has already been TFIXed for
this request.

3

4

5
6

1-6

Reserved

7

Bit 7

Indicates that TFIX request for
this entry has been completed.

B
RESERVED

iCHAIN POINTER ••• .... Real location (either copied CCW or I DA word)
that should contain the translated I/O area
address .

..... Points to (next) additional DIDAL. Contains
4X'OO' in last DIDAL.

IV-B3

CONVERTING VIRTUAL TO REAL ADDRESS
ECPSW

I'...

C

\

/ '..........

12/
01 1 0
2

01

1-'---'-0-0+10--'

1 1100

6

C

'\"

......

---..

STOR
Control Register 1

I OBOOBF40 I

~1:::;EGME'----.---'NT.TABLE

•

..............

a

1

L-.....,.

\\\'"

"""",

...L

Segement a

(X'QO'

' ....,

0i,7_

_ X'coDal
PAGE TABLE

,:'

-X'EB80'

fj

:::~

~:::

7

L....a...

for one (1)

:
,
,I

Segment 154

(X'9A')

:

Segment 155

!X'9B') ~

[I!]

64K Segment

,, . . .

(X'gg')

Segment 153

;~t~~sGE

Page 1 (X'Ol')

1-::----::-:-7.==-'

!,.

(X'02',

"<\)

Page 0 'X'OO')

I

EOOOCOOO ----,-:.. --' !
Segment 1
(X'Ol',
Segment 2

~

1

\

Page 31 (X" F')

EoaOEe80 _______ ...l

@X'71~C' (X'BF40'+X'2BC',
100000011 001011001
12,

r.;;r' tJ

I

Page Table Entry

L!.2i~

r

10000001100101100000000000

~

~

1213

~ REAL ADDRESS

IFI ~X='O

,----

=32=8"=0=0'==;ill

Note:

Values used in the fjgure are hypothetical.

IV-84

PAGE DATASET FORMAT

, u. I D's\<, F

V'rI

onna t 3330

•

12288 bytes

.,.-

Ha
II

~~

fg

g=

2048 bytes

2048 bytes

2048 byte.

2048 bytes

2048 bytes

X'OOOO'

X'0800'

X'IOOO'

X'I800'

X'2000'

Head
00

01

X'3000'

02

X'BOOO'

-:; J
c'"
,;,x

~
~8
q

6

x X'800' •

X'28OD'

X'3ODO' bytes

I

1(1 track}
I---+I-----r=--r--.....-r---t------t

18

X'36000'

X'38FFF'

Virtual Disk Format 3340

6144 bytes
2048 bytes

Head

204B bytes

2048 bytes

X'IOOO'

X'OBOO'

X'OODO'

00
01

X'IBOD'

02

X'3000'

I
I
3

x X'BOO"

X'IBOO' bytes

<

(I tr.ck)

TWIOBOD'

X'"FFF,T

Virtual Disk Format 2314

•

2048 bytes

2048 bytes
Head

,

6144 bytes
2048 bytes

X'OBOO'

X'OODO'

X'IOOO'

00
01

X'IBOO'

02

X'30OD'
3 x X'BOO' • X' IBOO' bytes

I

~

(I track)

191 x' I CBOO'

I

' - - - I cy linder: 20 x X'lBOQ' byt es= X'lEOOO' byt es

X"DFFF,r

, U. 10"ISk Farmat3350

V"rt

•

-+
He. d

X'OODO'

I

X'4000'

2

X'BOOO'

o0

,

•

16384 bytes
204B

+X'OBOO'

X'IOOO'

X'IBOO'

B x X'BOO"

X'2000'

X'2BOO'

X'30OD'

X'3800'

'4000' bytes

(1 track)

I
Virtual Disk Format 3310 and 3370 (FBA Mode)

In Fixed Block Mode the 3310 and 3370 DASD will provide logical block number in ascending
sequence. That means 4 blocks with 512 bytes are required to store one page on the PAGE DATA SET.
IV,B5

LAYOUT OF REPLICA HEADER BLOCKS
RHB1

I. Number of Tesu

t

X'OO'

Flag Byte·

X'04'

Forward pointer in partiton's replica queue

on Replica

PIK of
Requestor

X'OS'

Backward pointer in partition's replica queue

X'OC'

Address of virtual CCB/IORB

X'10'

s.ved CCBIIORB
X'20'

L

Pointer to RHB2

l

RHB2

X'OO'

Pointer to RHB1

X'04'

Pointer to associated FHB (fixlist)

X'OS'

Timestamp

X'OC'

Length of saved channel program

X'10'

Aeservec:t

X'14'

Reserved

X'1S'

Saved user SENSE
X'20'

L

Pointer to next replica block

I

REPLICA SLCOK

X'OO'

CCW1

X'OS'

CCW2

X'10'

CCW3
CCW4

X'1S'
X'20'

Pointer to next

block or zero
• Flag Byte:
Bit 0 = 1 Freeing of replica request

Bit 1-7

Reserved

IV-S6

RESOURCE USAGE RECORD TABLE (RURTABI
RURTAB

[

RUR for Proc. Library

SYSPL
SYSOP EN

RVR for VSAM Open

routine
SYSLBL

RVR for Label Cylinder

SYSRES

AUR for IJSYSRS File

SYSIXL

RU R for VSAM Index
Build

SYSSPM

AU R for VSAM Space

Format of
~~y

-RUA
-

SYSMCO

RUR for VSAM Master
Catalog Routine

SYSCTLG

RUR for VSAM Master

Ownership bits..,....-

----__ I

Manager

Catalog
SYSVTOC

1

0

1

l

1

2

1

1

3

~ Ownership bits
for Job Control

Flags

RVA for all VTOCs

8 bytes

Dummy RU R indicating
'pool exhausted'

/

AUA for a Named Resource

I
I

\
Unique Name of a Named Resource

f----- ----:-------

---

(Pool for RU Rs of Named Resources)

1--- -

-

-

- -

-:----I

-

---

I
~

>-

f-

'--.-

---

I

-----t- - - - - - - - I
I

----- -

-

I
-I-I

I

IV·87

-

-

- ----

RESOURCE USAGE RECORD TABLE CRURTAB) C.•• Cont'd)

Byte 0

Bit 3
Bit 5
Bit 6
Bit 7

1 =
1 =
1:::
1 =

Another task waiting for this resource
Resource shared among owners indicated
Resource used exclusive by indicated task
Shared or exclusive use of resource

Byte 1

Used byJobControl to indicatethatthe resource isto be held for the duration of a job.

Bit a
Bit 1
Bit2
Bit 3
Bit 4
Bit5
Bit6

1
1
1
1
1
1
1

=
=
=
=
=
=

Byte 2:
Bit 0
Bit 1
Bit 2
Bit 3
8it4
Bit 5
Bit 6
Bit 7

1
1
1
1
1
1
1
1

TIK
TIK
TIK
TlK
TIK
= TI K
= TlK
= TIK

Byte 3:
Bit a
Bit 1
Bit2
8it3
Bit4
Bit5
Bit 6
Bit 7

1 =
1 =
1 =
1 =
1::
1'"
1 =
1 =

=

=

:::
=
=
=

TIK or PIK is X'70'
TIK or PIK is X'SO'
TIKorPIKisX'50'
TIK or PIK is X'40'
TIK or PIK is X'30,
TlKorPIKisX'20'
TlKorPIKisX'10'

is X'FO'
isX'EO'
is X'DO'
is X'CQ'
isX'SO
is X'AC'
is X'90'
is X'80'

TIK or PIK is X'70'
TIK or PIK is X'60'
T1KorPIKisX'SO'
TIKorP1KisX'40'
TlKorP1KisX'30'
T1KorP1KisX'20'
TlK or PIK is X'lO' fBG)
TIK or PIK is X'OO' (Attention)

Note:
For explanation of TlK and PIK see Task Interrupt Key and Partition ldentifikation Key. Label
RURTAB identifies the first byte of the table.

Iv·aa

I-- 4 bytes - - - !--4bytes- I- 4 bytes
X'OO'

End address
of Anchor
Table

Reserved

~

- . ~ 4 bytes ----

Used for VSAM
AMCBS pointer

(')

X

o

Used for VSAM
OAL pointer

:D

-i

"rm'"

X'lQ'

"""-

1st Entry

2nd Entry

z

(')

X
-i

"-

;

"

"

Format of
any entry

-

~

;;

Phase

/
/

49th Entry

/

/
X'3Ec

Byte 16
X'QO'

X'7F'

Status Switch
Phase must be loaded
Phase is already in storage

/
50th Entry

/
/

X'400
X'404
X'40B
X'400
X'410
X'414'
X'41B
X'410'
X'420

Be in of GETVIS area
End of GETVIS area
Address of hiQhest fixed aqe
Be in of VISTAB
End of VISTAB
Start serach of bitstrin
New start search address
Save work REG 1
No. of bits in ABYTE

Note:
The Anchor Table is located at the beginning of the GETVIS area in the virtual partition .

•

FETCH/LOAD CONTROL BLOCKS

FCB

(lABEL 'DFCB')

X'OO'

List of internal entry points
List of external entry points
State indicators (DFCBSW1-DFCBSW4)

X'40'

Start address of FETCH table (FTIAB)

X'44'

Pointer to FETCH work area (FCHWORK)

X'4S'

Pointer to input control block (FICB)

X'4C'

Save area RG5-RG1S

f-f--

Work areas
TFIXITFREE interface tables
CHAIN table describing the searching sequence for the various directories
F RPL area describing the interface to the Fetch I/O processing

L

FTTAB

FICB

C. X'OO'

l

X'OO'

Condense counter

X'Ol'

PTR toSLD

X'04'

Device Characteristics

X'OS'

Start of Directory

X'OC'

Channel Address

X'OE'

Reserved

X'OF'

X'Ol'
X'02'
X'03'

X'lO'

Start of LIN K directory

FBA
CKD
RPS DEV.

FCHWORK
End of RLD buffer

X'OO'

lOAD POINT

X'lC'

PTR to CHAIN TABLE

X'20'

PTR to DIRECTORY ENTRY

X'24'

PTR to Phasename

X'29'

PTR to LOCAL LIST

X'2C'

PTR to Relocation Factor

X'04'

PTR to IDRA

X'OS'

PTR to End of lORA

X'OC'

Start of TXT CCW buffer

X'W'

End of TXT CCW buffer

X'l4'

Start add. TXT CCW buffer

X'lS'

WORKAREA

X'20'

WORKAREA

X'30'

PTR to RLD

X'2S'

Search name for directory read

X'SO'

X'30'

CCBilORB

Phasename
Relative Start Address
Length of TXT

CHAIN

L

SlD

X'OO'

Number of chain entries - 1

X'Ol'

Indicators:
X'OO' SDL search
X'lO' Directory search
X'OC' LINK directory search

X'04'

Number of SLD entries

X'02'

LUB identification

X'06'

Highest phasename

X'OO'

Range of directory
1
'" CKD dev (1 track)
=: FBA
(n =: number of 2K blocks)

n*4

X'OOO6' SCll
X'OBOB' PCll
X'04'

I-

PTRto FTIAB

IV·90

LAYOUT OF SHARED VIRTUAL AREA ISVA)

3 4
0

Field

VLT

S

VDSA

0

VLNA

S

I
I

VLSA
VLEA

TS

Content

S

VDSA

4

VLSA

4

Date +time SVA has been updated (note 11
Start address of the System 0
Directory list
Start address of the virtual

VLNA

4

Address of next available

library Inote 2)

O~

~::

Length

VLT

location in SVA

VLEA
TS·

"

VD

VD
AL

4
10

Address of eniJ of the SVA
Communications area for Job
Control and SMAINOI R

VL

upto 32 K System Directory List Inote 3)
Alignment bytes for doubleword
 >
w
.: w

" "x

Iii
r

.,.:"

t;
w

x

I-

lJ

:I:

 N

x
x

x
x

w w

w

'" " "a: ~:;"

z ffi 0
:::; :::; :; :;

x

x
x
x
x
x
x
x
x x

x
x'
x

x

x'
x

x'

x x x

x

x

x

x
x' x
x
x x

x
x
x

x

x

x

x
x
x

x
x x x x x x x x

x
x

x

x

x x
x
x
x
x
x x x x

Notes: I DeVices 3410 andlor 3420 are allowed.
l Device 3705 is allowed.
EREP Functions with al1owOIble Keyword Specifications Ix = Allowable):

~eyword

.:

~~~i~f5

lJ

EVENT
MES]
PRINT=PS

PRINT=-PT
PRINT=SU
PRINT=NQ
RDESUM
SYSUM
TRENDS
TH RESHOLD

Input

Selection
:J

:J
:J

~

.:
:J
lJ

a: a:
W

W


l-

" ""

w

0
lJ

Z

,.'" ffi ;::'"
'"

~
X

0

0

 :;ffi

:; w w :::;

I-

----

op codes---1
. 1 0 - - - - - - - - - - - - - - 1 0 1/0 definition

E

SPECIFY MONITOR CAll ClASS(ES) OR '.'

MONitorcatt

.

monito;class+rist---1

""·--f;~:~;';j' ~"~
E

HDl
REO

SPECIFY PGM INTRRPT CODE(S) OR "'.

PGMCheck

p,me'eodes----1

1t

SPECIFY PGMlOAD TRACE OPTIONS.

PGMlo,d

C:~~I~:::~_E:~ ~~Art=~
BE_M:~~T~~.E_D_~R_P~:SS END/ENTER.
'g

(

~HDl

phasename

)

REO

[SPECIFY REGISTER NUMBER(S) OR '.'

.------------------>1

REGISTER

E

SPECIFY

reg-numbers

-

RE~ISTER

PATTERN.

0-------,------+1

~:~:;~~ patternZ--.J

SI0-----------....,01/0definition
STorage

[.:~:~~~~~~~~E-P-A-TTT-E-RN-.------------_>1

E

pattern

SPECIFYS.VC NUMBER(S) OR "'.
SVC--+_ _ _ __
svc-numbers------1

V T A M B U - - - - - - - - - - - 1 f 4 ' Trace output

L.:.J definition

.,-SPECIFY PARTITION 10.
VTAMIO--i---partition

id--0

Specification path diagram for the TRACE command
5-14

1/0 definition

area
SPECIFY TRACE AREA.

•+

partition-id

'"o

;p

II

+

-E

SPECIFY TYPE OF LIMITS.
PECIFY OFFSET RANGE.
[SPECIFY ADDITIONAL TRACE AREA .
OFFset
-------0:*..
-----0-----reladdrl:*
,
"1'dd'''''I'dd'2=-:i

i

I~T~JJ
. L;v~.J

c::;,SPECIFY ADDRESS RANGE.

ADDress~addrl:*

..

I


Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.3
Linearized                      : No
XMP Toolkit                     : Adobe XMP Core 4.2.1-c043 52.372728, 2009/01/18-15:56:37
Create Date                     : 2012:05:29 09:37:31-08:00
Modify Date                     : 2012:05:29 13:44:29-07:00
Metadata Date                   : 2012:05:29 13:44:29-07:00
Producer                        : Adobe Acrobat 9.51 Paper Capture Plug-in
Format                          : application/pdf
Document ID                     : uuid:dc352f2d-4961-4035-aeef-dda993423966
Instance ID                     : uuid:c31aca83-973d-4d38-9417-561f99eb87a1
Page Layout                     : SinglePage
Page Mode                       : UseNone
Page Count                      : 402
EXIF Metadata provided by EXIF.tools

Navigation menu