SY33 8572 4_DOS_VS_Handbook_Rel_34_Volume_2_Jul77 4 DOS VS Handbook Rel 34 Volume 2 Jul77

SY33-8572-4_DOS_VS_Handbook_Rel_34_Volume_2_Jul77 SY33-8572-4_DOS_VS_Handbook_Rel_34_Volume_2_Jul77

User Manual: SY33-8572-4_DOS_VS_Handbook_Rel_34_Volume_2_Jul77

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

DownloadSY33-8572-4_DOS_VS_Handbook_Rel_34_Volume_2_Jul77 SY33-8572-4 DOS VS Handbook Rel 34 Volume 2 Jul77
Open PDF In BrowserView PDF
SY33·8572·4
File No. 5370·20

Systems

DOS/VS Handbook
Volume 2
Release 34

Preface
Thi9 manual is the second in a series of two volumes. The reference
infonnation combined in these'two manuals is provided as a DOS/VS
serviceability aid and is, therefore, a summary o'C other DOSNS
documentation. These manuals are intended for use by persons
involved in program support.
The two volumes contain the following infonnation:
Volume 1, SY33-8571:
Chapter I : System/370 General Information
II: DOSNS General Infonnation
III, DOS/VS IOCS (General, SAM, DAM, ISAM)
IV: DOS/VS Supervisor Control Blocks and Areas
V: DOS/VS Service Aids

Volume 2, SY33-8S720
I , POWER/VS
II: VTAM Control Blocks
III: .VSAM Control Blocks

IV: Model 20 Emulator
V: 14xx Emulator
VI, BTAM
If there is any discrepancy between the information contained in this
manual and the DOS/VS optional programmmg material (for example,
PLMs and listings), the latter is assumed to be correct.

Fifth Edition (Juiy,1977)
This is a major revision of, and obsoletes, SY33-8572-3.1t applies to
Version 5, Release 34, of the IBM Disk Operating System/Virtual
Storage, DOS/VS, 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 IBM System/370 Bibliography. GC20-000 1, for the editions
that are applicable and current.
Requests for copies of IBM publications should be made to your IBM
representative or to the IBM branch office serving your locality.
A handbook-sized binder, FE Part Number 453559, may be purchased
from IBM. Customer 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,
Poststra1\e 40, D-7030 Boeblingen, 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.

e

Copyright International Business Machines Corporation, 1974, 1975, 1976, 1977.

TABLE OF CONTENTS

CHAPTER 1 POWERjVS

Programming Requirements

•••....•...••.••.•.•...••....•....•.•..•••.••.. 01

Relationship between Queue Set, Queue Records and OJeue Entry •••••••.•.•••
Free Oueue Set .•....•...•...•.....•...•..•...••....•••..•••.••....•.•••
Closs Chain and Queue Set •..••...•.•..•..•.•.••.•..•••....•.•.••.•••.•••
Interfaces and task structures ...........•.•.••.•.••...••••.••••.•.••.•.••••
Operator command language ..•..•..•.••...•.....••....•.•..•.•.•..•.•.•••

03
03
04
05
10

Remote operator command language ...••...........•....•...••.•.•..•.•.•.• 17
Job entry control language . . . . • . • . . . . • . • • . . . • . . . . . . . . . . • . . . • . . . . . . • • • . . •• 23
Control blocks
Control Address Table .............................................. 28
Wait Control Block •..•.••••...••..••..••...•..•.•.••.•••.••.••••• 35
Storage Control Block ,•..•.........•...........•.•..•...••.••••...• 36
Message Control Block .•...•••..•.•..•.•.••.•.••••.••••.•.••.•.••• 38
Disk Management Block • . . • . • . • • • . . • • . . . • • . • •• • . . . • . . . . • . . • • . . • • •• 39
Task Control Block •..•....••••.•..• .- •.••.•.•.••.•.•..•••.••.•.•••• 49
Command Processor Control Block • . . . . . . • . . . • • . • • . . . • . . . . . . • • . . . • • .• 60
Physical Work Space •.••....•.•..••..••.•.•.••.••••.••••••.••••••• 61
Logical Data Record Area ••.••.•.•...•...•.••.•...••.•.•.•••...••.. 63
Module Control Block .•....•..••..••.•.••....••..•.•..•.••.•..•••• 64
Tape Control Block ........•..••..•...•....•.••.•.•..•.•.••.•.•••• 66
Page Control Block .....•.•..•.•.••....•.•.•.••...••.•..•••.•.••.• 67
Buffer Control Word ....•.•..•••.••...••.•.•.•..•.•..•...••••••.••• 68
Partition Control Block .•.••.••......•.•.•.•....••...••.•...•••.••• 69
Queue Record Area • . . . • . . . . • • . • . . . . • . . . • • . • . • • . • . . . . • . . . • • . • . • • •• 71
SLI Work Space ....•...•....•••..•..•...•.•..•..•...•....•.•..••• 73
Account Control Block •.....••....•...•..•.•.........•...••.••.•.. 74
Line Control Block .•..•.•....•..•....•...••.•.••.•.••...•..•.•...• 76
Buffer Control Area . . . . . . • . • • . • . • • . • • . . . • . . . . . . . . • . . • . • • . • . • • •• . •• 80
Open 3540 Diskette Work Space .................................... 83
BSe Line Manager TCB Fields
.... ~ .... " ........................... 85
SNA Control Block • . . . . . • . . . . . • • . . • • . . . • . . . . . • • • . • • . . • • . • • • • •• • .• 86
SNA Remote Control Block ..•..•.••.•.••.•.•.••...••...•.••...••••• 87
SNA Logical Unit Control Block •••.•••.••••.••••.••.••.•••••••••..••• 88
SNA Unit Control Block .............................................. 91
SNA Logon Request Control Block ..................................... 93
SNA Compaction Table Control Block •.•.•.•••••.••••••••••••.••••.••• 94
SNA Work Area ••••••••••••••.••..•••.••...•••..••...•.••...•..•.•. 95
SNA Message Control Block •...••..••..••.••••••••••••••••••••••.•••• 97
SNA Manager TCB Fields •••.••..••••.•••.•••••.•.••.••••••••••••••.• 98
Service Aids •..•..•••.....•...•..........................................• 99

CHAPTER 11 VTIWI CONTROL BLOCKS
Control block relationship
Control blocks

.•.•..•.•..•..•••.•....•••....••...•..•..••.•.•• 01

ACB •••••••••.••.•••••••••••••.•••••••••••••••••••••.••••••••••• 04
ACDEB ••••.••••.••••••••••••••••••••••••••.••••••••.•••••••••••• 07
AOT ••••••••••••.••••.•••••••••••••••••••••••.•••••••••••••••••• 12
APT (lSTAPT) ••.••••••••••••••.••••••.••••••••••••••••••••••••••• 14
APT ((ISTAPTX) ••.•.•••••••••.•••••••••••••••••••••••••.•••••••••• 16
ATCVT •••••••••••••••••••• '" ••••.••.•.••••••••••••••.•••••••••• 18
AVT ••.•.••.•.••••••••••••••••••.••••.•••••••••••••••••••••••••• 39
BPDIR ••••••••.• '" •••••••••••••••••••••••••••••••••••••••••••••• 41
BTU •••••••••••••.•••••••••••.••••.••••••.••••••••••••••••••••••• 43
CCB •.••••••.•••••••••••.••••••••••••••••.•••••••••••••••••••••• 46
COMRG •.•••••••••••••••••••••••••••••••••••.•••••••••••••.••••• 47
CONFT •••••.••••••.•.••.•••••••••••••••••••••••.•••••••••••.••• 51

TABLE OF CONTENTS (conHnued)

CHAPTER II VTAM CONTROL BLOCKS (continued)

Control Blocks (continued)

DEVCH •........•......•...•.........•....•....•....•....•••..••..61
DNCB (TSTNCB) ..•........•....•..•.•.•..•...••.•.•.••.•.•.•••.••• 64
DTFLT ....•......•...•....•..............•................•...••.• 68
DVT (TSTDVT) •..•.•.......•.•..................•....•.........•••• 70
DVT (TSTDVTE) ...........•....•..........•..•...••....•.•...••.••• 72
FMCB •.........•....•....•.......................•...•..•..•....• 73
FSB •..•....•...••...•..•.•....•....•....•........•......•....•..• 87
ICE .....•...•................•..•.....•....•....•....•.•..•.•..•• 100
LCCW .......•.•....•......•.••.•.•.........•....•....•....•.•... 102
LCBP ......................•....................•....•..........• 105
NCB ........•....•.............•..................•......•...•..• 109
NCSPL (TSTNCSPL) .............•.•....•....•...••.........••..••.. 111
NCSPL (NCSAPP) .....•..•.•..•..........•....•..•.•.........•.•.. 127
NCSPL (NCSUSSRU) •......•.•.•...........•..•....•.•.•..•...•...• 128
PAB ......•......•....•...•..••....•.•....•.•...•••••.•....•...•. 129
PIB .•........•.........•....•.........•.................•..•...•• 132
RDT ••........•.•.......•.•..•.•.•.•..•....••..•.••........••.... 141
RH •....•........•..•.•.••.•.•..•....•....•...•.••....•......••.• 143
RPH •..................•....•........•..•.•....•....•...•.•...... 145
RPL •.•..•.....•..•....•.•....•.....................•••.•.•....•• 150
SNT .......•....•....•....•....•....•........•.•..•.•.•.••.•.•.•• 165
TH (ISTTH) ..•.........................•......•.•....•..•.•.••.••• 166
TH (ISTTH 2) .......•..•.•..•.•..•.•...•..•..•...•..•.•....•...•••. 167
TIE •.•....•.........•....•........•....•....•....•...•..•.......• 1"69
Service Aids ............................................................. 171

CHAPTER III VSAM CONTROL BLOCKS
Control block relationship .......................•...•....................•. 01
Control blocks
Access Method Block List (AMBl) ..................................... 07
Access Method Control Block (ACB) ................................... 09

Access Method Control Block Structure Block (AMCBS)

.................. 13

Access Method Doto Statistics Block (AMOS B) •••.•.••.•.••.•.•.••.•.•••• 14

Access Method Define the File (AMDTF)

............................... 18

Address Range Definition Block (ARDB) ................................
Buffer Control Block ................................................
Buffer Header ......................................................
Block Poal Header ...................................................
BlDVRP Parameter list (VRPPl) ........................................
Buffer Subpool Header (BSPH) .........................................
Catalog Auxiliary Work Area (CAXWA) .................................
Catalog Communications Area (CCA) ...................................
Control Interval Work Area (CIW) ......................................

21
23
25
26
27
27
28
30
40

Clo,e Work Area (CLWAAD) •.•••.•••..••••••••••••..•••.••.•.••••••••• 44
Catalog Parameter list.(CTGPl) ........................................ 46
DASDSM Parameter list ........................................ '....... 48
Define the File Indexed Sequential (DTFIS) .............................. 49
Exit list (EXlST) ..................................................... 52
Extent Definition Block (EDB) .......................................... 53
Field Contrel and Dota Block (FCDB) ................................... 54
Field Parameter list (CTGFl) .......................................... 55
Field Vector Table (CTGFV) ........................................... 56
logical-te-Physical Mopping Block (lPMB) .............................. 57

OPEN AGB Li,t (OAL) ...••...••...••....••••.••.••.•••..•••••••••.•• 58
Open Work Area (lKQOPNWA) •••...••••.•••..•.••••...••...••.••..••• 59
Placeholder (PLH) •.•..•..••.••.••..••..••••..•••.••.••••.•.••.•••.••• 66

TABLE Of CONTENTS (conHnued)

CHAPTER III VSAM CONTROL BLOCKS

Control blocks (continued)
Resource Po:;!1 Header (RPHD) ••••••.•.••••.••..••.••••••••••••••••••••. 73

Request Parameter List (RPL) ••••••.••••••.••••••••••••••••••••••••••••• 74
Res:Jurce Sharing (ontf:)1 Block (RSCB) •••••••.•••••••••••••••••••••••••• 79

Tmck Hold Block (THB) ••.•••••..••••••....•..••.••..•.•••••••...••... 80
lJpgrate Set Block (USB) •......••..•....•...•.•..•...•.•.•••..••..•••• 81
VSAM Shared Resource Table (VSRT) •..••..••.••••••..••...••.•••.••.••. 82

Service Aids

............•....•....................•...................... 83

CHAPTER IV MODEL 20 EMULATOR

Flow of Initialization ...........................................•...••..••. 01
Emulator layout •.....................................................•..•. 02
Communication Region CR1 •................................•..........•..•• 04
EDB layout ••...........................•......•...........•.....•....•.•. 16
Inter-route line links
Communication routines .....•....................................... 22
non-Communication routines •...•........•...........•............... 23
HF UNTAB entries .....•.............•...........•.......................• 24
Problem determination aids ................................................. 29
Model 20 sector to System/370 disk record correspondence .......................32
Data Interchange program
Overview •.........•....•..........•..•...•.........•.............•....•• 33
Overlay structure ........•....... ,., ..........• , .•.. , .................. .,.,. 34
Communication Region ............ ' •....... , ...• , ............... , .......••. 35

CHAPTER V 14xx EMULATOR

Compatibility instructions •......• ' ..........• , ..............................01
Tapes in spanned-format and 1400-format ..................................•.. 03
Emu lated storage layout ...•................................•.............•. 04
Compatibility feature •.....•......................................•....••.. 05
Program Organisation (1401/1440/1460) ...................................... 06

D;,k format (1401/1440/1460)

...............•.......................•......• 07

Addresses and corresponding machine codes •.................................. 08
Problem determination aids (1401/1440/1460) ................................. 09

Reg;,ter usage (1401/1440/1460)
Program Organisation (1410/7010)

D;,k formot (1410/7010)

............................................ 11
........................................... 13

•.................................................. 14

Register usage (1410/7010) ................................................. 15
Problem determination aids (1410/7010) ...................................... 17

CHAPTER VI BTAM

Control Block linkages

DTfBT -table

.............................•.............•.......•. 01

............................•...........•...................•. 02

line Control Block (LCB) ................................................... 08
Data Event Control Block (DECB) ............................................ 12

CHAPTER I
POWER!VS
CHAPTER II
VTAM CONTROL BLOCKS

CHAPTER III
VSAM CONTROL BLOCKS
CHAPTER IV
MODEL 20 EMULATOR
CHAPTER V
14xx EMULATOR
CHAPTER VI
BTAM

I
I
I
I
I
I

CHAPTER I
POWER,NS

,
)

I

PROGRAMMING REQUIREMENTS FOR POWER/VS

IPROGRAMMIN G REQUIREMEN TS I
I
During generation of the DOS/

VS supervisor POWER""YES in
SUPVR macro forces
o PHO.YES
o PFIX.YES
o ECPREAL.YES
and if NPARTS=l, or is
not specified
o NPARTS~

---------o XECB=YES (optional)

I
The following phases must be
cataloged in the ell:

IPW$$ll
IPWS$12
IPW$$NU
IPW$$CP
IPW$$GD
IPWIIPD
IPW$$AQ
IPW$$RQ
IPWIINQ
IPW$$DQ
IPWISFQ
IPW$$PR
IPWSSLR
IPWSSPL
IPW$$LW

IPWS$PP
IPWSIXR
IPWSIXW
IPWIIXJ
IPWSITR
IPWS$LU
IPWSIPS
IPWIISL
IPW$SIC
IPWISSC
IPWSSER
IPWI$OE
IPW$lOT
$$BPOWIN
$SBSGMNT

I

I
Number of entries in the LUB

toble (in the DOS;V5 supervisor),
belonging to the POWER/VS
partition must be large enough
to accommodate all reader and
writer tasks that may be runn ing
concurrently. Programmer LUBs

SYSOOO thru $YS006 are reserved
for the account, queue, cnd data

I
I/O Files
The Queue file and Date file muU be
assigned to a spooling device.

Queue file SYSOOI thru SYSOO6
Data file(s)

files.
Queue file and Data file extents must
be defined on the SYSRES label
information cylinder.

and the macro POWER must be
cataloged in the SSL. The
SEGMENT macro is optional.

I

I

I
pog

J

-

PROGRAMMING REQUIREMENTS FOR POWER/VS

For POWER/VS RJE,

ssc

(optional)

I

For POWER/VS RJE, SNA
(optional)

IPvV$$MS must also be
cataloged in the ell and
the macros PLINE and
PRMT must be cataloged

in the SSL.

,

~

For POWER/VS Spool

For POWER/VS Accounting

Management (optional)

(optional)

The following phases must
also be cataloged in the

must be specified in the

I

I
The ph"'''' IPW$STM and

II

The following phases must
a Iso be cota laged in the ell

IPWSSIB
IPWS$Lf
IPW$$lH
IPW$$lN
IPW$$MD

IPW$$MP
IPW$$OC
IPW$$OB
IPW$$SN
IPW$$VE

and the macros PlINE,

PCPTABLond PRMT must be

Cll,
IPWSSPA
IPW$$GA
IPW$$SA

cataloged in the SSL.

The phase IPW$$SM must
be cataloged in the ell
and the macros

CTlSPOOl, PUTSPOOl,
GETSPOQL and SPL must
be cataloged in the SSL.

JA=YES or n 1 through nx
FOPT macro during generat
of the D05;V5 supervisor.

An Account file must be
assigned to SYSOOO, a

spooling device. Account
file extents must be
defined on the SYSRES
label information cylinder.

RELATIONSHIP BETWEEN A QUEUE SET, QUEUE RECORDS, AND A QUEUE ENTRY

~Q":;e 5;, -

- -=--

I

~

I

track group

I

I

I

I

I

L_

track group

;~,~-:-_Q_;_e"_e_'if--~-~-;a-oo-'~' ~

FREE QUEUE SET

'--'___-' ----1

I

)

CD MRQF field
@

in master record

QRNS field in queue record (zero=last)

1-03

queue record

I

ClASS CHAIN AND QUEUE SET

class chain

r-------------l
I

J

I
I
I

I

I

I

MCT

queue set

: I-

f

class table

I

i

-------~

I.---''---L..-~

next-in-set queue record

in OMS

I'
IL_

..( ,I

lasl-in-,el queue record

CTQL fie Id in class table entry (zero means last in chain)
QRQN Field in queue record

I

QRQP field in queue record

I

.J

Ii

1 - ___ -.II

CTQF field in class table entry

!
I

-f H

1

I

L ______ ._____

5

QRNS field in queue record (zero means last in chain)

INTERFACES AND TASK STRUCTU.RES

DOS;VS SUPERVISOR

®
svc 0

~

!

APPENDAGE

HOT READER
APPENDAGE

Posts appropriate
execution
processor task
and sets

Locates appropriate
reader task and
posts it
dispatchable

POWER;VS
partition
dispatchable

~

t

®

,,

\1/
\It

exec. RDR task
exec. LST task
exec. PUN task

~

~

PAGE FAULT
APPENDAGE

___

P~e:p!o_c:s:.o~

Changes next
sequential
instruction in PSW
to task manage-

®

,,

another task
during processing

\~/

Queues page
faults before
returning to page
manager

",
local RDR tosk

___

~o:t.:p~o:e:s~r

Posts appropriate
task dispatchable
and sets POWER/VS
dispatchable.
Returns next page
fault in queue to
page manager

®

RJE CHANNEL END
APPENDAGE

Verifies and passes
potential

Passes DOS/VS
and user iob
accounting
information to
execution account
record areai posts
execution reader
task dispatchable

Queues SCA in
SCA chain and
posts linc manager
task dispatchable

command; posts
command

processor tosk

dispatchable.

4

of the page fault.

4

\~I

ep

tosk

IPWUNU

task management
Scans for TCB of
task with highest
priority ready to
run and dispatches
it.

~

c9

task management (at pre-processor)

0

,,

n

L"":...,.., any task (at post-processor) or
~-

1

SVC 90/91
APPENDAGE

POWER;VS

ment to select

t

1

ATT. INTERFACE
APPENDAGE

''"1/

RJE line

exec. RDR tosk

_5? .

SVC 7 when no
task dispatchable

,,
\1/

manager task

Fearn ooy to,k i"uing

POWER/VS wait or
detach

®

-

INTERFACES AND TASK STRUCTURES

\

.... Cont'd)

~
RJE, BSC READER TASK

LOCAL READER TASK
IIW$$PR

- - - -IPWSSER
---

IIW$$TM

0'

"C"--------

Reads cards into physical
data area (PDA) and
links to logical reader.

Reads cards from terminal
device (using RTAM
routines) and links to
logical reader. ______
-

TASK
IIW$$XR

IIWS$IB

---------

1-------Emulates rcader I/O

Reads data from terminal
devices using VTAM
macros and links to
logical reader. Writes
_. doto record to logical
II
record area (WAlR).
\

requests from user

program into read
operations from data

m•.

Invokes execution
list/punch writer task
whenever list or
punch II 0 request
to be emulated.

,~,

II

IIW$$LR

IPW$$LR

Writes data records to
data file from logical
record area (WAlR) and
creates queue entry
by means of function
routines.

Writes data records to
data file from logical
record area (WAlR) and
creates gueue entry by
means of function
routines.

Functions used b~

F unctions used by

Functions used by

IPW&SPR,IPW$$ R ond
IPWS LR
RO,AO,PD,DO,FO,
PA,LU,SC,OE

IIW$$T M ond IIW$$ LR

IIW$$IB and IIW$$LR

Functions used by
I~~$~R _ _ _ _ _

PA,LU,SC,IC,MS

PA,SC,IC

I XJ,SL

Serv ices used

Serv ices used

S erv ices used

TM,RM,SM,MS,DS, TIS

TM,RM,SM,MS,DS, TIS

TM,RM,SM,MS, TIS

IIW$$LR

~

I EXECUTION READER

RJE, SNA READER
TASK

--------

Writes data records to
data file from logical
record area (WAlR) and
creates queue entry
by means of function
routines.

-------

---------

--------RO,AO,PD,DO,FO;-------

--------

-------RO,AO, DO,F 0, PD,
--------

:
I

EXECUTION LlST/
PUNCH TASK
IIW$$XW

1-------Emulates list I/O
requests from user
program into write
operations to data file
and creotes a queue
entry by means of
function routines.

(
I

GD,NO,DO,FO,PA,
used
-Services
------

TM,RM,SM,MS,DS, VS

Functions used by

IIW$$XW
--------RQ, AQ, PD, OT

Serv ices used

1-------TM,RM,SM,MS,D?t<;TS,

INTERFACES AND TASK STRUOURES

( ..•• Cont'd)

~
LOCAL LIST TASK
11'NSSPL

11'NSSPP

Links to logical writer
and prints lines from
physical dala area

(PDA)

Icc-------Li nks to log co I wri ter
j

and punches cards from
physical dala area

(PDA)
~~v:..

I1'NSS LW

~

LOCAL PUNCH TASK

Reads data records from
data file using
information from queue
records belonging to
queue entry by means
of function routines

Functions used by

____ _

Reads dolo records from
data file using
information from queue
records belonging to
queue entry by means
of function routines
Functions used by
11'NSSPP and 11'NSSLW

RJE, BSe LIST/PUNCH
TASK

RJE,SNA LIST/PUNCH
TASK

11'NSSTM

11'NSSOB

and prints lines at
terminal using RTAM
routines

Links to logical writer
and prints lines, or
punches cards at terminal
using VTAM macros.

f-:--------links to logical writer

~~S~IW_ _ _ _ _

Reads doto records from
data file using
information from queue
records belonging to
queue entry by means
of function routines

Functions used by

11'NSSPL and 11'NSSLW
--------

f---------

11'NSSTM and 11'N$$LW
--------

Services used

~e~c~u~ _ _ _

.Services
_ -used
-----

NO,DO,FO,PA,LU

TM,RM,SM,MS,DS,
TS, TIS

8

NO,DO,FO,PA,LU

TM,RM,SM,MS,DS,
TS, TIS

c±J

NO,DO,FO, PA, LU,
MS,IC

TM,RM,SM,MS,DS,
TS,TIS

c±J

11'NSSCP

I1'NSS LW

----------

Reads data records from
data file' using informatic
fram queue records belonging to queue entry
by means of functions.

11'NS$CP

AO,DO,fO,LU

_

TM,RM,SM,MS,DS, TS,
TIS

cb

Builds and attaches
tasks into task selection
list, initiates termination
of tasks, or changes
status queue entries
according to command
received

f---------

- -

.?~!:..v!.£e~_.u~d _ _ _ _

1--------

Functions used by

Functions used by
IPW$SOB and 11'N$$LW

NQ~DQ;FQ,PA-

ctJ

COMMAND
PROCESSOR TASK

~e~i::s ~se~ _ _ _

TM,RM,SM,MS,DS

ciJ

-

INTERFACES AND TASK STRUCTURES

~

SAVE ACCOUNT TASK

IIW$$SA
------Reads account file

g

using a function routine
and writes the account
records to disk, tope or
punch device, or deletes
the file, or links to
log i co I reader to spoc 1
cards to be punched

.... Cont'd)

STATUS TASK
11W$$PS
rReads
------queue file
records using function
routines and prints
queue status information on. a printer
device.

I

IIW$$lR

-- - - - -

---

Writes records to
data file and
creates queue entry
using function
routines
Functions used by
~~~A _ _ _ _

GA

~~:::~d _ _ _
TM,RM,SM,MS,DS

INITIATOR
TERMINATOR TASK

TASK TERMINATOR
TASK

RJE, BSC LINE
MANAGER TASK

11W$$12

11W$$TR

11W$$TM

Handles PSTOP from

Initiates and terminates
lines, processes sign

f--------Loads nucleus and all
required modules into
partition at initiation

time. Opens POWER/VS
files and links to logical
reader and wri ter for
outostart. Then waits far
request as terminator.
Closes POWERjVS files
and restores partition
for normal DOS/VS
operation.

------

initiation.

Functions used by

Functions used by

IIWSSPS

IIW..!'S£ _ _ _ _ _

FuncHo", coed by
IIW.1Sl! _ _ _ _

lU,MS

PA, GA, IC, lU
11W$$TM, SSBPOWIN

AO,DO,FO,PD,
PA,GA,lU

Services used

Services used

c
-----TM,SM,MS,DS

CSJ

1="-----TM,SM,MS,DS,TIS

C9

on/off, recovers from
line errors, interfaces

with RTAM routines.

files are restored to
their possible status.
Task uses TeB of task to
be terminated or to be
recovered from 1/0
error.

E;:~~~'~:;:~~
t--------

-------

logical reader/writer
tasks and I/O error or
WLR error conditions
On efror conditions I

i

~unction' u,ed by
1p!!'$~NL __

lU

INTERFACES AND TASK STRUCTURES

.. Cont'd)

Q
RJE, SNA,
MANAGER TASK

RJE, SNA
LOGON TASK

IPW$$SN

I~~l~

Activates SNA
processing routincs
for each logical unit.
Attaches DOS/VS
subtask to open Ihe
interface between
VTAM and POWER/
VS.

Verifies LOGON data
and creates control
blocks for a logical
unit, ollemption 10
LOGON to
POWER/VS.

--------

~

____ _

RJE, SNA
LOGOFF TASK
I~~'!:.

___ __

Terminates a session
between a logical unit.

RJE, SNA
MESSAGE TASK
Ie:!!~~

____ _

Writes messages to
the logical unit
using VTAM macros.

RJE, SNA
LOGON TASK!
IPW$$lH
Establishes the
session between a
logical unit ond
POWER/VS.

Interface between
VTAM and POWER/VS
10 process LOGON,
TPEND
(\fTAM HALT),
LQSTERM
(LOGOFF elc.) and
DFASY (SIGNAL)
requests.

Services used

Services used

Functions used by

!P\XSW= _ ____ _
PA
Services used

Services uscd

Services used

TM,RM,SM,MS

TM, RM, fv\S, TIS

TM,RM,Iv\S, TIS

8

8

8

~e~i..:.e~u~d

___ _

TM,RM,1v\S

8

RM, TM,SM,MS,TIS

•

POWER;VS OPERATOR COMMAND LANGUAGE (POCl)

poweRj\ls provides an Operator Command l<1nguoge (POel) which allows the central
system operotor and the remote terminal operator to communicate with the system. Four
types of command are provided.
Task Management Commands allow the operator to initiate and terminate

poweRj\ls

Tasks.
Task management commands ore only applicable to the RJE writer task. The reoder
task is started by the central operator when he brings up the line. Its operation is
controlled by the system.
Queue Management Commands allow the operator to display and modify the contenk
of poweRj\ls Queue Entries.
Queue management commands ore only applicable to iobs that ore submitted by or routed
to the some remote ID 05 the one issuing the command.

list control commands allow the operator to perform certain device-dependent
operations on line printers.
Following table shows the abbreviated and extended command codes available to the central
operator:
Type

Extended
format

Task
management

P$TART
PSTOP

PGO

AbbrEwiated
format

P
G

PEND'"

Queue
management

PCANCEl

C

PFLUSH
PRESTART

F

PDISPLAY
PALTER

PDElfTE
PRELEASE
Miscellaneous PBRDCST
PINQUIRE

PACCOUNT
PSETUP

T
D
A
l
R
B

I
J

U

Function

start a task or partition
stop a task or partition
activate a task or partition
end POWER/VS execution·
cancel a POWER/VS status report
flush an active job entry
restort a write task
display a job status
alter attributes
delete a job entry or a message
release a job entry
transmit a message
check terminal status
process account file
print page layout

The one-character operation code for PEND(E), is not
supported, since the operator. might inadvertently
end the execution of POWER/VS.

POWER/VS OPERATOR COMMAND lANGUAGE (POCL) ( ... ConHnu,d)

r-",

Task Management commands

Operation

~START}
(non-diskette)

{~START}

Operand

Comments

[<,",1

~'Il

task, uraddr, tapeaddr
partition ~[clasSJ, [autoclo;~, MT]
RJE, lineaddr ~passwordJ

RDR, uraddr I, class2,
uroddr 2

(diskette
data-mode
processing)

{~START}
(diskette
sysin-mode
processing)

RDR, uraddr 2 Gclo;,]

Gnl,-id]

1
[ numb" Of-di;k,tt';]
GS ]GV]

task, RDR, LST, PUN or RJEline
uraddr: Its format is either:

cuu or X'cuu'.
Iineaddr:ltS format is either:
cuu or X'cuu'.
topeaddr : TtSformot is :
X'cuu'.
password: Any combination of
up to eight olphanumeric characters.
class: The meaning of this
parameter depends on
the type of task to be
started.
For a write tosk, "class"
defines the output
class{es) upon which
the task operates. Up
to four classes can be
designated by specifying
one to four alphabetic
characters from A
through Z. The order
specified is the order in
which the classes will
be processed. If no class
parameter is specified,
only class A is selected.
For a read task, "class"
defines the input class
that is assigned to all
jobs without a class
specification in their
* $5 JOB cards, when
no crL statement is in
effect. It may be
specified as an a Iphameric character from
A through Z or from 0
through 4. If no class
parameter is specified,
class defaults to A.

1-11

I

POWEIVVS OPERATOR COMMAND LANGUAGE (POCl) ( ••• ConHnued)
Task Management commands ( ••• continued)

Operation

Operand

Comments

PSTART,
5 (c'nld)

class: For a partition, "class"
(c'ntd) defines the input
clos$(es) that can be
executed in this
partition. Up to four
classes con be designated by specifying one
to four alphameric
characters from A
through Z or from 0
through 4. The order
specified is the order
in which the classes
will be executed. If
no class is specified,
only job entries with
matching partitiontype (0-4) input class
are selected

partition: BG, F1 through Fn.
uraddr 1 : physical device
address of cardreader
in form X'cuu' or cuu
uraddr 2: physical device
address of 3540
diskette in form
X'cuu' or cuu.
file-id: File name as in HDR 1

label of the diskette.
Can be specified with
or without quotes.
8 lank characters are
only allowed when
filename specified
within quotes.
number-of-diskettes :
Can be one to three
digits, ollowed
values from 1 to 255
S: Volume sequence checking.
Sequence numbers must start
with 1 and be incremented
by 1. When omitted, no
checking will take place.
V: File verification. 'vVhen
omitted, verify field in
HDR1 label is ignored.

1-12

POI'A'R/vs OPERATOR COMMAND LANGUAGE (POCl) (... ConHoocd)
Ta~k Managcmen~ commands

Operation

{~STOP}

( .•• Continued)

Operand

Comments

1-""' [w, 1 }
, RESTAR

partition
lineaddr

GEOJ]

RJE,SNA,luname [, EOJ]

uraddr: Format is :
cuu or X'cuu'.

---

-

RESTART, Applies only to
output processing.
partition: BG, Fl through Fn.
lineaddr : Its format is either:
cuu or X'cuu'.

-

{~GO}

{ u,odd,

uraddr:

}

partition, cuu

--

[Is format is either
cuu or X'cuu'

-

--

partition, cuu : specifies the
partition and
unit record
dey ice address
whose output
is being

spooled to tape.

PEND

[~'Odd'
Kill

uraddr:

Gucodd,]U

Its format is either
cuu or X'cuu'.

-

---

Kill, Terminates POVVER/VS
immediately. Partitions
supported by POWER/VS
ore olso cancelled.

j

{~CANCEl}

[STATUS]

{~FlUSH}

{UCOdd'

STATUS, A confirmation
message is issued.

CHOLD]

partition

}

uraddr:

GHOLD]

Its format is either
cuu or X'cuu'.

-

---

HOLD , specifies that the
corresponding job entry
is not to be deleted,
butput in the hold
state.
partition: BG, Fl through Fn.

{~RESTART}

uraddr: Its format is either
cuu or X'cuu'

uraddr [,nJ

-

n,

1-13

--

signed or unsigned
value from 0 to 9999.

I

POWER/VS OPERATOR COMMAND LANGUAGE (POCL)

( .•• ConHn"ed)

Queue Management commands

Operation

Operand

Comments

queue, {jObname

ALL

*abc

class 1
PRI = priority]
[,DISP == disposition]
[, CLASS = closs 2J
[, COpy == number of copie~
[, REMOTE = ,emidJ
[,CMPACT = nomel no I'J

C

queue: LST, PUN or RDR
jobname: can be 2 to 8
characters
jobnumber : may be 1 to 5
digits long.
*abc: requests to alter all job
entries that have the
first n characters of
their jobnames in
common. "abc"
represents any
combination of from
one to seven
alphameric characters.
class 1: specifies class of job
entries to be altered.
Can be any alphabetic
char cater (A-Z) and for
input classes also from

0-4.
priority: A single digit from
o to 9. Nine is the
highest priority.
disposition: can be H,K, L or D.
class 2: any alphabetic character
(A-Z). Also,specifications
from 0 through 4 are
allowed for input classes.
number of copies: can be from
o to 99.
remid: con be specified as any
number from 0 to 200.
'0' indicates the central
location.
specifies the name of
the compaction toble.
no compaction is to
be performed.
the default compaction
table is to be used (as
specified in the PRMT
Macro).

1-14

POWER/VS OPERATOR COMMAND LANGUAGE (POCL)
Queue Management commands
Operation

Operand

Comments

queue, jobname
queue, ALL
queue, closs

1

Giobnumber]

queue: LST, PUN or RDR.
jobname :Can be 2 to 8 alphameric

characters.
jobnumber : Can be 1 to 5 digits
long
*abc: All job entries with the
same first n char cater ,
are to be deleted. "abc"
represents any combinatian
of up to seven alphameric
characters .
MSG, n : ALL USERS-type
message number n is
to be deleted.

queue, *abc

MSG

( ••• Con';nued)

(continued)

Gn]

queue, jobname [,iobnumbeQ

queue [,ALL]
queue, HOLD
queue, FREE

queue, RJE [,remidJ
queue, LOCAL
queue, *obc
gueue, class

ALL [1i$tadd~
HOLD
FREE

kremidJ

RJE
LOCAL
*abc

MSG
A
M
Q

queue, jobnome [, jobnumbe~)
queue [,ALL]

1

queue, class
queue, *abc

)

queue: LST, PUN or RDR
jobname: Can be 2 to 8
characters.
jobnumber : Can be 2 to 5
digits
All: If queue parameter is
not sp~cified, status
information on all
entries in all queues
is displayed on SYSlOG.
listaddr: Its format is :
cuu or X'cuu'.
class: Car16"e specified as a
character from A through
Z or from 0 to 4 (input
closs only).
*abc: specifies a request for the
status of all iob entries
having the first n
characters of their jobnames in common. "abc"
represents any combination of from one to seven
a Iphameric characters.
If the queue parameter
is not specified, status
information is displayed
for all queues.
queue: LST, PUN or RDR.
johname : Can be 2 to 8
alphameric
characters.
jobnumber : Can be 1 to 5
digits long.
*obc: all job entries with the
same first n characters
are to be released.
"abc" represents any
combination of up to
seven alphameric
characters.

All:

all jobs in H disposition
will be released.

1-15

I

POWER/VS OPERATOR COMMANDS LANGUAGE (POCL)

( ••. ConHnued)

Miscellaneous commands
Operation

Operand

Comments
luname:Name af a sNA
logical unit.
lineaddr : Its format is :
cuu or X'cuu'
ALL: StatiJSOf all supported
lines are to be
displayed

Iunome }
[ lineaddr
ALL

{

~BRDCST}

remid

ALLUSERS

, .,ex'J

remid : Can be from 1 to
200. A specification
of ALL USERS
indicates all users.
'text': Can be 1 to max.
characters.
46 char. for

ALLUSERS
49 char. for host to
terminal
60 char. for terminal
to host.

opeadd' [menome

U
DEL

DISK, filename

J

If no operands specified, the
account fi Ie is spooled to disk.
tapeaddr : Can be :
X'cuu'
cuu,ss
X'cuu'ss
CUU'X'S$

I

PSETUP

X'cuu',X'ss'
filename: If specified, the file
created will be a
standard labeled tape
file. May be 1 to 8
alphameric characters
long.
DISK/filename: "filename" is
1 to 8 alphameric
characters long
uraddr: Its format is :
cuu or X'cuu'

ucodd, Gn]

one or two digits that
specify the number of
pages to be printed.

i
1-16

POWER;YS REMOTE OPERATOR COMMAND LANGUAGE (ROCl)

There are four types of commands:
Terminal Control Commands allow the remote operator to initiate and terminate

POWER;YS RJE '",ks.
Task Management Commands allow the operator"to initiate and terminate POWER/VS
Tasks.
Queue Management Commands allow the operator to display and modify the contents
of POWER;VS Queue Entries.
List Control Commands allow the operator to perform certain device-dependent
operations on line printers.
The following table includes all valid commands.
Function

Type

Command

Terminal
control

lOGON
• •• SIGNON
• •• SIGNOFF

Task
management

lOGOFF
• •• START
• •• STOP
' •• GO

* ..

)

FLUSH

• •• RESTART
• •• DISPLAY

Queue
management

* .. ALTER

List control

•
•
•
•

••
••
••
••

DELETE
RELEASE
BRDCST
SETUP

start an RJE,SNA user session
start an RJE, SSC user session
terminate an RJE, BSC or RJE, SNA
user session
terminate on RJE, SNA user session
start a writer task or message
queuing
stop a writer tosk or message
queuing
re-activate a writer task
flush an activate job
restart a writer tcsk
display a job status
alter job attributes
delete a job or message
releose a job
transmit a message
print poge layout

Commands entered from a card reader must be submitted outside POWER/VS job boundaries
otherwise they are treated a user data.
Format of RJE/BSC and RJE,SNA commands when entered from a card reader:
1.

Identification field. Contains an win column 1, bbnk in column 2, and
•• (periOds) in colums 3 and 4. Column 5 must be blank.

2.

Operation field. Specifies the RJE command. At least one blank must separate
this field from the following field.

3.

Operand field. Contains one or more parameters, separated by commas.
At least one blank must separate the operand field and the comments
field.

1-17

II

POWERjVS REMOTE OPERATOR COMMAND LANGUAGE (ROCl)

4.

( ..• ConHnoed)

Comments field. May contain any information considered helpful by the
user. Continuation of the comments field is not allowed.
The operation field, operand field, and comments field must be contained
in columns 6 tflrough 71. Column 72 must be blank.

5.

Sequence field. Sequence numbers are useful when a number of commands
with the same operation code are submitted from a terminal. Columns
73 - 80 are returned in diagnostic messages.

Notes:

1.

When entered from on SNA terminal keyboard, the POWER/VS RJE
terminal commands must he specified without the identification

neld (> .. ).
2.

The short format of the POWER/VS RJE terminal commands may also
be used by BSC-RJE, but must be preceeded by the ID field (* .. ).

Operation

Operand

Comments

lOGON

APPLID (POWER) lOGMODE
(name) DATA'remid'
Epassword] [,user informatio~

APPLID (POWER) Enter as such
lOGMODE (name) = name of
on entry in
the VTAM
logon mode
table defined
at VTAM
generation
DATA'remid' = 1 through 200
password = up to 8 alphameric
characters
user information = up to 16 bytes

' .• SIGNON

remid [,password]
information]

~user

remid:

(Only supported for SNA
users if generated in VTAM.
The parameter fields must be
preceded and fol lowed by
a single quotation mark and
kepi in brackets)

* .. SIGN OFF

(No operand)

lOGOFF

APPLIO (POWER) TYPE

Remote users are
identified by numbers
from 1 to 200
password: Can be any
combination of up to
eight alphameric
characters
user information: Up to 16 bytes
of user
information,
punched in
columns
56 to 71.

terminates a session by the
remote BSe or SNA user.

[~~CON~ APPLlD(POWER)
ND

1-18

0'

Ente,
,"ch
TYPE (COND)
Enter os such
TYPE (UNCOND) Enter os such

POWER;\!S REMOTE OPERATOR COMMAND LANGUAGE (ROCl) ( ... Continued)
Task management commands

{

: .. STAR}
.• S

1

f~"'k

task : LS T or PUN
class: Up to four classes can
be designated by
specifying one to four
alphabetic characters
from A through Z.
MSG: specifies that all
subseguent broadcast
messages directed to
this term ina I are to be

l~~ clasj

J

task: LST or PUN.
EOJ: Stop until current entry
has camp leted
processing.
RESTART: When the task is
started again,
processing will
begin at the record
following the last
one processed
before the STOP
comment was issued.
MSG: All subseguent broadcast messages directed
to the terminal are to
be ignored.

'O'k EOJ
task,
/ ;:;;~ RESTART

task: LST or PUN

task: LST or PUN

task: LST or PUN
Signed or unsigned value
from 0 to 9999.
Queue Management commands
Operation

{ : .• DISPLAY}
.. D

Operands

Comments

gueue, jobname [, jobnumme~

queue [,ALL]
gueue,
queue,
queue,
queue,

HOLD
FREE
*abc
class

ALL
HOLD

FREE
*abc

MSG
T

1-19

queue: LST, PUN or RDR
jobname : Can be two to eight
alphameric characters
jobnumber: One to five digits long.
class: Can be specified as on
alphameric char cater from A
through Z, or from 0 to 4.
*abc : Requests the status of all
entries having the first n
characters of their jobnames
in common.
T: The time, date, the number
of storage pages fixed and
the number of tasks.

POWER/VS REMOTE OPERATOR COMMAND LANGUAGE (ROCl) ( ••. ConHnued)
Queue Management commands (continued)

Operands

Operation

Comments

"ahc" represents any
combination of from
one to seven characters.
If the queue parameter
is not specified, status

' •• DISPLAY}

{ ' •• D

(continued)

intOr"mation is displayed

for all queues.
MSG: Requests the display of

all AllUSERS-Iype
messages that hove been
entered, together with
their originators and all
operator messages routed
specifically to this
remote-id. Operator
messages ore automaticall
deleted when they are

displayed.

{ :-- ALTERl
•• A

J

f

'Obnome ~ iObnumbe.]}

queue ALL

"abc

-class)
~PRI=pdodtyl
GDISP=disposition]

GCLAS5.=c!o" 2]
GCOPY=number-of-copie~
GREMOTE=..ml

log every channel end
1
Transparency [> 2
ASCII code
3780
2780 or 3741
2770 or 3780 with component select

Hardware compress feature
Multiple-record feature
Horizontal format control
Variable length records
Blocked records

Remote printer width
Reserved

[> 1.

The byte is set X'80' if TRACE=YES has been specified in the REMOTE macro.
It enables a wraparound 1/0 trace in the phose IPWS$TM.

[>2.

Transparency enables user to transmit object decks over line. If no transparency
is supported codes X'OO' through X'40' are converted to binary ;zeros for output
to the terminal.

Transparency on input (read) is determined by a switch on the terminal unit.
For print output to the terminal, non-transparency if forced by POVVER/VS.
For punch output I transparency depends on whether it has been specified in the
PLiNE macro and the PRMT macro. If either one has not been specified for
transparency/nan-transparency is forced by POWER/VS.
How to Locate: Displacement X'20C ' -'20F' of the CAT
points to the LCB.

1 - 79

POWER/VS CONTROL BLOCKS

( ••• CONTINUED)

BUFFER CONTROL AREA (BCA)

Defintion macro: IPW$DBC
Bytes

Description/function of field
Dec

Hex
RJE CCB

Initialized with a complete sense CON to read
sense information into the two sense bytes in the
SCA. Byte ]2 is initialized with bits] and 2 on
indicating that channel-end appendages and
private unit-check routines are being used.
00-01
02
03
04-05
06-07
08-11

00-01
02
03
04-05
06-07
08-OB

12
13-15
16-23

OC
OD-OF
10-17

Residual count

Communication byte
Communication byte

Status bytes from CSW
Logical unit number

First CON address

Communication byte
Channe I appendage address

RJE sense CON

RJE CCWstring, dynamically set up by MCCWINIT routine
24-31
32-39
40-47
48-55
56-63
64-71

18-1F
20-27
28-2F
30-37
38-3F
40-47

These six CON fields constitute various channel
programs that depend on the operation required.
For example, a READ program consists of

··•
·•
··•

An enab Ie CON

A write response CCW
A read text CCW.

A VVRITE program has a different CCW string and
a PREP program consisting of :
A disable CON

A set mode CCW
An enable CON
A write enquiry CCW
A read response CCW

EBCDIC/ASCII Code Table

This table is moved from virtual storage at OPEN
time for RDR, LST, or PUN to reflect one of the
follOWing four conditions:
EBCDIC code transparency
EBCDIC code non-transparency
ASCII code transparency
ASCII code non-transparency

1 - 80

POWER/vs CONTROL BLOCKS

( ... CONTINUED)

BUFFER CONTROL AREA (BCA)

( ... CONTINUED)

Bytes

Description/function of field
Dec

Hex

72-73
74-75
76
77

4B-49
4A-4B
4C
4D

Multileaving sign-on sequence
Start of text segue nee
End of text block sequence
End of text block character

This l-byte field is the second byte of the
previous 2-byte field.

78-79
80
81

82
83

4E-4F
50
51

52
53

End of text sequence
Even acknowledgement sequence
Even acknowledgement character

This I-byte fie Id is the second byte of the
previous 2-byte field.
Odd acknowledgement sequence
Odd acknowledgement character

This I-byte field is the second byte of the
previous 2-b y te field

84
85

54
55

86
87
88
89
90
91-92
93-94
95

56
57
58
59
5A
5B-5C
5D-5E

96-99
100
101-102
,104

60-63
64
63-67
68

SF

Negative acknowledgement sequence
Negative acknowledgement character

This I-byte field is the second byte of the
previous 2-byte field.
Acknowledgement conversation character
CCW chaining character
Enquiry character
End of transmission character
Wait before transmit
DLE-EOT characters
Saved write count
Maximum retry count
Other RJE Information

i
1105-107

69-66

1108- 111

6C-6F

\112-115
1116-119

70-73
74-77

1120-123

78-7B

Restart address of channel program
Lost remote output command code
Address of the last remote carriage control
Current remote output record count. Incremented at
each PUT during a WRITE operation. The count is
compared with the value in the field TPBMXREC.
If they match, the PDA is written out.
Remote data pointer. Address of the record in the
PDA currently being processed.
Address of last data byte read. Address of the last
byte read into the PDA (not necessari Iy the last byte
in the PDA).
Address of the corresponding lCB
Address of the last CON executed plus 8 (stored
by the RJE chonnel appendage routine on every
I/O interrupt).
Displacement between the real and virtuel address
of the BCA (used to construct reel addresses for the
channel program).

1 - 81

I

POWER,/VS CONTROL BLOCKS

( ••• CONTINUED)

BUFFER CONTROL AREA (BCA)

( ••• CONTINUED)

Bytes

Description/function of fie Id

Dec

Hex

124-127

7C-7F

128-131

80-83

132-135

84-87

136-139

88-8B

140-143

8C-8F

144

90

145

91

146-147

92-93

148
149
150

94
95
96

151

97

Address of next CCB completed. BCA chain pointer,
set up by channel appendage routine I and
processed by line manager.
Address of a list rep or punch TCB as long as on
RJE LST or PUN task is active. Otherwise, the
field is O. (Has same function as field
LCBTCBAD In the LCB.
Real address of PDA. Address of current TP buffer.
Updated whenever a new buffer is obtained.
Virtual address of PDA. Address of current TP
buffer. Updated whenever a new buffer is obtained.
Address of last TCB, as long as a form change is
needed. Otherwise, the field is O.
Remote mode byte (SDA mode byte). Set at line
initialization time to X'04' for 2701, and to
X'OO' for 2703 TP control unit or ICA.
Remote next acknowl,edgement • For write response
CCW
Remote response control block. Used for the write
response to the terminal, and to read the respanse
from the terminal
First sense byte (see TP manual)
Second sense byte (always 0)
Maximum output record count. Contains a value
equal to the maximum record count for the output
buffer at the terminal. Its value depends on the
terminal type.
BCA flags

X'OI'
X'02'
X'04'

end of transmission
end of forms
second entry to put routine.

How to Locate: Displacement X l 40 - 43 1 of the LCB points to the BCA.

I - 82

POWER/VS CONTROL BLOCKS

( ... CONTINUED)

OPEN 3540 DISKETTE WORK SPACE

I

Bytes

Description/function of field

Dec

Hex

00-15

OO-OF

Storage descriptor ('OEWS

V6MO

cuu l )

3540 command control block

16-17
18-19
20-21
22-23
24
25-27
28
29-31

10-11
12-13
14-15
16-17
18
19-1B
lC
lD-1F

32-87

20-57

Residual count
Communications bytes

Device status
Device type and logical unit
Reserved for LIOCS
First CCW
Reserved for PIOCS
CCWaddress in CSW

Temporary register save orea for the interface
betvleen functions

88-95

58-SF

Conversion work space
3540 chonne I program

Define operations or NOP
Seek

96-103
104-111
112-119
120-123
124-127

60-67
68-6F
70-77
78-78
7C-7F

Seek

128-207

80-CF

3540 input area and lobel test area

Read lobe I
Mode setting argument
argume~t

(OOCCHHRR)

Message buffers and work arees

208

DO

209-215
216-263
264

01-07
08-107
108

265
266-319
320
321
322-327

109
110-13F
140
141
142-147

328-329

14B

Message- length of first line
First line of message output area
Message identity
Message text of first line

Message length of second line
Second line of message output area
Message identity
Message text of second line
Not used
Reply length
Reply input area
Cylinder number save area
Physical reader information indicators.
The following indicators are copied from the
physical work space to prevent them from being
destroyed should the open be unsuccessful. On a
successful open, the indicators in the physical
work space are overWritten by these updated
indicators. On an unsuccessful open, only the
open indicator 'PEOe will be updated with the
stop code '5'.

1 - 83

POWER/VS CONTROL BLOCKS

( ••• CONTINUED)

OPEN 3540 DISKETTE WORK SPACE

( ••• CONTINUED)

Bytes

Description/function of field
Dec

Hex

Record length (copy of PERI.)

330-331

14A-14B

332
333
334
335

14C
14D
14E
14F

Multivolume identification (copy of PEMI)
Volume sequence number (copy of PESN)
Number of opened diskettes (copy of PEOD)
Number of diskettes to be read (copy of PEND)

336-343

150-157

Not used

Sequence ID (copy of PES!)

1 - 84

POWER;YS CONTROL BLOCKS

( .•• CONTINUED)

I

BSC LINE MANAGER TeB FIELDS

)

Bytes

Description/function of field

Dec

Hex

00-27
28-31
32-87
8B-103

00-lB

Reserved

lC-IF

SYSREC header

20-57
58-67

Reserved

BSC line manager save area

1 - 85

POWER/VS CONTROL BLOCKS

( .•. CONTINUED)

SNA CONTROL BLOCK (SNCB)

Bytes

Description/function of field
Dec

Hex

00-15
16
17
IS

OO-OF

10
II
12

Storage descriptor (SNCB)
SNA termination type
Termination type set by SNA exit routines
Flag byte:
X'80'
X'40'
X'20'
X'lO'

19
20-23
24-27
2S-31
32-35
36-39

13
14-17
IS-I B
IC-IF
20-23
24-27

40-43

2S-2B
2C-2F
30-33
30-31
32
33
34-3B
3C-7B
7C-7F
SO-S3
S4-S7
SS-SB
SC-SF
90-93
94-97
98-9B
9C

9D-B7

- SNA stop requested (SNSS)
- Kill SNA requested (SNKS)
_Subtask detach requested (SNST)
- Subtask guiesce requested (SNRQ)

Maximum number of logical units
Address of first active SNA unit control block (SUeS)
Address of SNA unit control block space
SNA control block lockword
Address of SNA remote control block (RMCB)
lockword for general purpose work space (RMGP)
in SNA remote control block
Address of 5NA manager TeB
Subtosk ECB

5NA

manager

work ECB

Unused

Post byte
Unused

Reserved
VTAM ACB + 4 words for expansion
Pointer to logon space pool for SUCB/LUCB,
WACB and LRCBs
Compacti on table pool address
Address first logon request control block (LRCB)
Address logon SUCB
Address of compaction table
LRCB chain - lockword 1
LRCB chain - lockword 2
Compaction table lockword
lBW$$LH process byte
X SO - Request for IPW$$LH
X 40 _ IPW$$LH is active
Unused

How to Locate:
Displacement X' 7C - 7FI of CAT.

I - 86

POWER;VS CONTROL BLOCKS

( ... CONTINUED)

SNA REMOTE CONTROL BLOCK (RMCB)

Bytes
Description/function of field

Dec

Hex

00-15

aO-OF

16-19
20-22
23
24-31

10-13
14-16
17
18-1F

32-1055

20-41F

Storage descriptor (RMCB)
Reserved

Reserved
Length of ACB password
ACB password
General purpose work space
This area is serially accessible by SNA tasks that
cannot obtain vurtual storage via the DOS/VS GETVIS
macro. Access is regulated by a lockword (SNRL)'

located in the SNA control block (SNCB).
Trondale table to convert EBCDIC characters to ASCII
Translate table to convert ASCII characters to EBCDIC

1056-1311
1312-1439

420-51F
520-59F

1440-1567
1440-1447
1448-1567
1568-1639
1640-1711

5A0-61 F
5AO-5A7
5A8-61F
620-667
668-6AF

1712
1713
1714
1715

6BO
6Bl
6B2
6B3

No. of SNA remote entries
First SNA remote ID
Lost SNA remote ID
Total no. of lK blocks in GETVIS pool for
compoction tobles including COCB.

1716-

6B4-

Remote entries (The number of remote entries, which are
16 bytes long, depends on the number of SNA remote
units specified in the PRMT macro at POWER/VS
generation. )

SNA Manager save area
Subtask save crea

C 'IPW$$SN' - Subtask name
Register save area

VTAM RECEIVE Any save area
VTAM SETLQGON save area

The following is a layout of a remote entry.
Punch routing remote ID (1 byte)
list routing remote ID (1 byte)
Remote reference information
Buffer size (1 byte)
Terminal type (1 byte)
Terminal features (1 byte)
Console specified (1 byte)
Reserved (7 bits)
Reserved (1 byte)
Length of password (1 byte)
Password (8 bytes)
Compaction table name (4 bytes)
Number of LU names (1 byte)
Address of first LU nome in list (3 bytes)
Session limit (2 bytes)
Reserved (6 bytes)
How to Locate:

Displacement X 20 - X 23 of SNCB.

1 - 87

I

POWER/VS CONTROL BLOCKS (•.. CONTINUED)
SNA LOGICAL UNIT CONTROL BLOCK (LUCB)

Bytes
Description/function of field

Dec

Hex

00-15
16-19
20-23
24-27
28

OO-OF
10-13
14-17
18-IB
IC

Storage descriptor
Previous address LUe8 (pointer)
Address of next LUeB (Pointer)

Address of

sues

S~[ect indicator

C 5 -select
29
30
31

ID
lE
lF

32-35
36-39
40-43

20-23
24-27
28-2B

44-51
52-55
56-59
60-75
76-83
86
87

2C-33
34-37
38-3B
3C-48
4C-53
54-55
56
57

88-91
88
89-91

58-5B
58
59-5B

92-95
92
93-95

5C-5F
5C
5D-5F

Restart

96-99
100

60-63

Pointer to device in SUCS
List output support
X'QQ' - List output support

Termination type (C 5 - immediate)
Termination type, set by exits
Free session indicator
session in use
Reader 1 work space address
Reader 2 work space address

x'ao' -

VTAM CID
Session Accounting Information

84-85

Date

=c

MtvVDD!yY

Signan time

=

Sign off time

= X'OHHMMSSF'

X'OHHMMSSF'

User information
LU name
Reserved
c S - identifier for account record.
Session termination code
X'Oll - Normal (SIGN OFF Of LOGOFF)

X'02' - Abnormal
Remote identifier
Binary format
Character format

Restart Information

Restart function index
Restart page count
List and Punch Characteristics

64

X'80' - ASCII
X'4D' - Compression
X'20' - Transparency
X'IO' - Spanning
X'SO' - Inter-record separator
X'Dl' - Compaction

I - 88

POWER/VS CONTROL BLOCKS ( ••• CONTINUED)
SNA LOGICAL UNIT CONTROL BLOCK (LUCB)

Bytes
Description/function of field
Dec

Hex

101

65

Punch output support

X'QO' - Pun ch output support
X'60' - ASCII
X'40' - Compression
X'20' - Transparency

X'lO' - Sponning

102

66

103

67

X'OB' - Inter-record separator
X'01' - Compaction
PDIR information byte

X'BO' - PDIR outbound allowed
Card/document flow

X'QQ' X'BO' X'40' X'OB' X'04' 104-111

66-6F

Card/document flow
Card inbound allowed
Card outbound allowed
Document inbound allowed
Documend outbound allowed
Current compaction table in use by outbound

104-107
106-111

66-68
6C-6F

processor
Compaction toble nome
Pointer to CDCB entry

)

)
I - 69

I

POWER;Vs CONTROL BLOCKS ( ••• CONTINUED)
SNA LOGICAL UNIT CONTROL BLOCK ( ••• CONTINUED)

Bytes
Descript ion/function of field

De,

Hex

112-115
112-115
116-119
120-123
124-127
128-131
132

70-73
70-73
74-77
78-7B
7C-7F
80-83
84

Process Control Section
Stort address of TCSs for LU
RDR, LGN I LGF, TCB address

LST, PUN TeB address
Message TeB address
RDR 2 TCB address
LGH TeB address
Action byte
xtao' - Request logon
X'401 - Request start reader
X'2Q' - Request interrupt LSi/PUN on signal
X'lO' - Request interrupt LSi/PUN for
X'OS'
Xt04'
X'02'
X'OI'

_
-

outbound message
Request interrupt inbound for inbound
Request stop session
Request GO/SETUP command
Request for restart command

133

85

Process byte

134

86

135

87

Status byte one
X'BO' - BS reject indicator
X'40' - Logon completed
X'Dl' - 1 - BS reject by IPW$SOB
C - BS reject by IPW$$MP
Status byte two

88
89
8A-8B
8C-8D
8E-9F

X'80' - Change direction
X' 40' - LST/P UN suspended for msg
X'20' - lST/PUN suspended for inbound
X'10' - inbound suspended for inbound
Brocket state
Unused
Buffer size
Buffer size logon process
Unused

136
137
138-139
140-141
142-159

x/so - logoff in process

How to Locote:
Displocement X'A8-AB' of SUCS points to the first LUCB.

1 - 90

POWERjVS CONTROL BLOCKS ( ••• CONTINUED)
SNA UNIT CONTROL BLOCK (SUCB)

Bytes

Description/function of field

D,e

Hex

0-15
16-19

OO-OF
10-13

20-31
20-27
28-31
28
29-31

14-1F
14-1B
10-lF
1C
lD-1F

32
33

20
21

Storage descriptor (sueS)

Address of next SUCB
General Accounting Information
General Information

Dote

=c

MM./DD/VY

Remote Identifier
- Binary format
- Character format

List, Punch and Reader Device Characteristics
List routing remid
Punch routing remid

Device status values for the following devices:

X'BO' - Device started
X'40' - Device available
X'20' - Output available

)

36-39
40
41-43
44-47
48-51

24-27
28
29-2B
2C-2F
30-33

52-55
56
57-59
60-63
64-67

34-37
38
39-3B
30-3F
40-43

68-71
72
73-75
76-79
80-83

44-47
48
49-4B
40-4F
50-53

84-87
88
89-91
92-95
96-99

54-57
58
59-5B
5C-5F
60-63

Device status
Pointer to LUCB
Forms [D
Punch output classes

100-103
104
105-107
108-111
112-115

64-67
68
69-6B
6C-6F
70-73

Reader - C'RDRP
Device status
Pointer to LUCB
Forms [D
Reader classes

11'6-119
120
121-123
124-127
128-131

74-77
78
79-78
7C-7F
80-83

Console - CICON1'
Device status
Po!nter to LUCB
Forms [D
Console c [asses

Printer 1 - C'LST]!
Device status
Pointer to LUCB
Forms lD
list output classes

Printer 2 - C'LST2'
Device status
Pointer to LUeB
Forms [D
list output classes

Printer 3 - C'LST3'
Device status
Pointer to LUeB

Forms ID
list output classes

Punch - C'PUNl'

1 - 91

I

POWER;\tS CONTROL BLOCKS

( ••• CONTINUED)

SNA UNIT CONTROL BLOCK (SUCB)

( ••• CONTINUED)

Byles
Description/function of field

Dec

Hex

132
133-134
135
136-143
136-139
140-143
144

84
85-86
B7
SS-SF
SS-SB
SC-SF

90

Device list delimiter
Reserved
Device select indicator
Default compaction table for outbound
Name of default table
Address of default table virtual
Card/document flow

X'BO' - Card inbound allowed
X'40' - Card oU;'bound allowed
X'08' - Document inbound allowed
X'04' - Document outbound allowed

Message Control Section

145

91

Message request status
X'BO' - Message processor for work station is active

X'40' - Request to interrupt IPW$$OB for outbound
message was issued

146-14S
149
150-151
152
153
154
155

92-94
95
96-97
9S
99
9A
9B

Pointer to the LUCS with the sU$pcnding JPW$$OB

Unused
No. of messages
Subchain index
Temporary delete chain index

Terminal type
Terminal features

X'80 ' - Console specified
Miscellaneous

156-159
160-163
164
165-167

9C-9F
AO-A3

16S-171
172-173
174-175
176-191

AS-AB
AC-AD
AE-AF
BO-BF

A4
AS-A7

Address of work station lockword
Inbound work space address
Reserved
Pointer to lOCB. If set then workspace is in use by
the lUCS being pointed to.
Pointer to first lUCS
No. of ottached lUCSs
No. of active lUCSs
Unused

How to locate:
Displacement X'14 1 - X'17 ' of SNCSi X'lO' - X'13' of TCB

1 - 92

POWE~S CONTROL BLOCKS C••• CONTINUED)

SNA LOGON REQUEST CONTROL BLOCK (tRCB)

)
Bytes

Description/function of field
Dec

Hex

00-15
16-19
20-23
24
25
27
28-31

OO-OF
10-13
14-17
lB
19
lA
lB
lC-1F

32-47

20-2F

First lRUe entry

32-35
36-43
44
45-47

20-23
24-2B
2C
2D-2F

ACe address

48-127

30-7F

Remaining tRUe entries

26

Storage descriptor (LReB)
Pointer to next tReB
Reserved
Length of one LReB
Length of one tRue

No. of total lRUBs in LReB
No. of active lRUBs in lReB
Reserved

LU-nome

ex

Status
01 indicates octive entry)
Length of logon message

How to locote:
Displacement X'84~X'a7' of SNCB.

)

)

1 - 93

I

POWER/'IS CONTROL BLOCKS (••. CONTINUED)
SNA COMPACTION TABLE CONTROL BLOCK (COCB)

Bytes
Description/function of field

Dec

Hex

00-15
16-19
20-21
22-23
24-25
26-31

OO-OF
10-13
14-15
16-17
18-19
lA-IF

32-47

20-2F

First Compaction Table Entry

32-35
36-39
40
41
42-43

Compaction table name
Compaction table address
Compaction table identifier

46-47

20-23
24-27
28
29
2A-2B
2C-2D
2E-2F

48-1023

JO-3FF

44-45

Storage descriptor (COCB)

Address next COC8
Number of entries in COCB
Maximum number of GETVIS table entries (TK each)

Actual number of GETVIS
Reserved

Reserved

Compaction toble use counter
Compaction table length
Reserved

Remaining Table Entries

How to Locate:
Displacement XIBC' - X'8F' of SNCB.

1 - 94

POWER/VS CONTROL BLOCKS

( ... CONTINUED)

SNA WORK AREA (WACB)

Bytes
Description/function of field
Dec

Hex

00-15

OO-OF

16-19
20-23
24-27
28-31
32-35

10-13
14-17
18-1B
lC-1F
20-23
24-AB
AC

36-171
172

Fixed part of SNA work space
Storage descriptor (WACB)
Buffer control fields
Residual count in buffer
Current pmition in buffer

Address of buffer to SEND/RECEIVE
Address of buffer in process (FILL)
logical record tength
logical record
Processing switches:
X 02 - End of file
XOI - Logical interface open (W ALI)
As used by SNA inbound processor:
X 80 - Processing console (WAle)
X 40 - Processing reader ('NAIR)
X 20 - Unconditional end bracket (WAUB)
X 10 - Immediate termination required ('NATI)
X 08 - Resume do to stream state requested ('NASR). A
resume FMH was received.
As used
X 80 X 40 X 20 X 10 X 08 X 04 -

by SNA outbound processor:
EOF reached (WAOF)
EOJ or chain reached 0NAOJ)
End of logical record reached ('NAOL)
End of RU reached ('NAOR)
SETUP/GO in progress
FMH3 send indicator

As used by SNA message procesSor:
X 20 - Component not available 0NAMC)
X 10 - End of RU reached ('NAMR)
173
174

AD
AE

Status byte
Data stream state byte:
Data stream state flags:
X 80 - Between data stream ('NASB)
X 40 - In data stream ('NASI)
X 20 - End of data stream pending (WASE)
X 10 - Data stream abort 0NASA)

175

AF

Chain state byte:
Chain state flogs:
X 80 - Between chain (WACB)
X 40 - In chain ('NACI)
X 20 - End of chain pending (WACL)
X 10 - End of file (WACE)

176

BO

Processing options:
X 80 - ASCII (WAAS)
X 40 - Compression ('NACM)
X 20 - Transparency (WATR)
X 10 - Spanning (VIASP)
X 08 - Inter-record separator 0NARS)
X 01 - Compaction support
1 - 95

I

POWER/VS CONTROL BLOCKS

SNA WORK AREA (WACB)

( ••• CONTINUED)

( .•• CONTINUED)

Bytes

Description/function of field
Dec

Hex

177

Bl

Compaction indicator

:
178-179
180-183
184-187
188
189-191
192-195
196-307
308-379
380-491
492-503

B2-B3
B4-B7
B8-BB
BC
BD-BF
CO-C3

C4-133
134-17B
17C-1EB
lEC-1F7

504-511

lF8-1FF

504
505

lF8
lF9

506

lFA

X 40 - Compaction toble found
X 80 - Indic;ates use count increased
Reserved
Save area for LUPH, used by interrupting processors

Error sense bytes
Error message number

Reserved
Error routine address

RPL (plus 12 bytes for expansion)
Register save area
Pl/S dynamic area
Reserved
Function management header (plus 2 bytes for
expansion)

FMH length byte
FMH type byte
X 80 - Concatenation
B 00111111 - FMM type 1
fMH select byte
B 10000000 - Demand select
B 01110000 - Device select
B 00000000 - Console

B 00100000 - Cord reoder
B 00110000 - Printer
B 00001111 - Logical o~dress
507

lFB

FMH flag byte - FMHl ADS sent on inbound doto error

508

lFC

FMH properties byte

X 80 - ADS send by receiver

B 11100000
B 00000000
B 00100000
B 01000000
B 01100000
B 10000000
B 10100000
B 00011111
B 00010000

-

Data stream state
Data stream resume
Data stream end
Dala stream begin
Data stream begin and end
Data stream interrupt
Data stream abort
Data stream characteristics
Basic exchange
800000100 - Compression
B 00000010 - Compaction
509

lFD

FMH.basic exchange length byte

512-1023

2oo-3FF

Two SNA buffers

How to Locate:
Displacement X'14' - X'17' of TCB and X'20' - X'27' of LUCB.
1 - 96

POWERjVS CONTROL BLOCKS

( ... CONTINUED)

SNA MESSAGE CONTROL BLOCK (MSCB)

)

Bytes
Description/function of field
Dec

Hex

00-15
16-23
24
25
26-27
2B-31

OO-OF
10-17
lB
19
lA-1B
lC-1F

32-35
36-39
40-43
44-47
48-51
52-55
56-59
60-63
64-67
68-71
72-75
76-79
80-87

20-23
24-27
28-28
2C-2F
30-33
34-37
38-3B
3C-3F
40-43
44-47
48-48
4C-4F
50-57

Storage descriptor (MSCB)
Work crea

Free chain index
Function indicator
Reserved

Lockword
Register
Register
Register
Register

save area
14
15
0

Register 1
Register
Register
Register
Register
Register
Register
Register
Register

2
3
4
5
6
7
8
9

Reserved

How to Locate:

Displacement X'74' - XI 77' of CAT.

\

)

1 - 97

I

POWER/VS CONTROL BLOCKS

( .•• CONTINUED)

SNA MANAGER TeB FI ELDS
Bytes

Description/function of field
Dec

Hex

00-03
04-07
08
09-15
16-19
20-23
24-27
28-31

00-03
04-07
08
09-0F
10-13
14-17
18-1B
lC-1F

Wait EeB list
Receive any ECB address

Work ECB address
End of list (X'FF ')
Reserved
Address of SNA unit control block (SUCB)

Address of SNA work area (WACS)
Save area for register 13
Reserved

1 - 98

SERVICE AIDS

RJE I/O TRACE
An I/O trace for on RJE line after SIGNON can be initiated by
=YES in the PRMT macro.

)

specifying TRACE

Entries are made in a wraparound buffer in the phase IPWSSTM.
The following information is recorded at every I/O interrupt
from·this terminal.

r---32

bytes-------i.oIl
Trace entry

Up to 127
entries of 32
bytes each.
The lost entry
is followed by
a blank line of
32 bytes. Thus,
the last few
entries can
easily be located
in a dump of the
buffer

First 12 bytes last CCW
of CCB
executed

The last line response
sent or received from

the terminal
Sense information

last four bytes of data
buffer (includes TP control

characters)

A data buffer with four
records (Number of records
in a data buffer depends
on type of terminal).

)
The trace is to be used when RJE line errors occur or incorrect output
is encountered which can be c::aused by the I/O operation.

POWERjVS Filf DUMP PROGRAM
This program enables any of the POVoJER/VS files (acc::ount, queue, data) to be dumped
on a line printer assigned to SYSLST. An option is also provided to enable queue
records and their assoc::iated track groups belonging to specific iobs to be dumped.
How to Exec::ute
The program is requested by JCL commands entered either via SYSLOG or SYSIN,
where SYSIN is ossigned to a card reader. Before requesting ensure relevant assignments
are made for the fi Ie to be dumped.

)

I - 99

I

SERVICE AIDS ( •.• ConHnued)
POWER/VS FILE DUMP PROGRAM ( ••• ConHnued)
Example Job Stream

IIJOBname

IIASSGN
I /EXEC

for Account file)
(SYSOoo
for Queue file)
(SYSOOI
(SYS002-6 for Data files}

IP~$liD

'Iv11en the program is loaded successfully, the following message

will be issued

to SYSLOG:

DUMP FUNCTION

=

At this point one of the following options can be entered via SYSlOG :
A (to specify the Account file)
Q (to specify the.Queue file)
(to specify the Data file)
Jobname, Jobnumher (,queue) (i)
EOJ (to enable cancelation of the program or selection of a new option).

1

ORG FMCDOS+16
24B

FMCPFCSQ
Seq Number of Lost 1st In Choin
RU

F8

FMCEXF1C
First in Chain Seguence# Assoc.
with Exception Resp

252

FC

FMCCLRPH
Pte to CLS DST

256

100

FMCLRC
lost Record Counts (TRACE)

256

100

ORG FMCLRC

FMC1LRC

FMCOLRC
Outbound Lost Record Count

Inbound lost Record Count

ORG FMCDOS+2B
260

FMCLXOQ

104

lCPBfor Reset Orderly Awaiting Delayed Completion

ORG FMCPSCMD
182

B6

182

B6

ORG FMCFlAG
FMCFLGB
Flog Field 2
(Control
Layer)

11-81

I

FMCB (ISTFMCB)
Alp~abetical

(Continued)

List of Fields in rSTFMCB

Field

@NMOOO02
FMCASEGQ
FMCBHSET
FMCBSQNO
FMCBUFLM
FMCBUFNB
FMCBYTE
FMCCCNT
FMCCLEXT
FMCCLRPH
FMCCLSEQ
FMCCMDFL
FMCCMPSI
FMCCMPS2
FMCCPCNT
FMCCTLB
FMCCVAL
FMCDCLOK
FMCOEBA
FMCDNCBA
FMCDOS
FMCDVTA
FMCEXFIC
FMCEXLST
FMCFASYA
FMCFBA
FMCFBAS
FMCFBPTR
FMCFBRE
FMCFBRSV
FMCFBXM
FMCFLAG
FMCFLAGS
FMCFLGA
FMCFLGB
FMCFLGCL

Dec

Hex

Field

Dec

Hex

Field

Dec

Hex

0030
0212
0185
0192
0036
0038
0247
0244
0164
0252
0190
0031
0036
01&0
0162
0194
0163
0176
0032
0016
0232
0012
0250
0144
0060
0168
0216
0169
0220
0168
0216
0182
0235
0180
0182
0181

OOIE
00D4
00B9
OOCO
0024
0026
00F7
00F4
00A4
OOFC
OOBE
OOIF
0024
0064
00A2
00C2
00A3
OOBO
0020
0010
00E8
OOOC
OOFA
OD9O
003C
00A8
OODB
00A9
OODC
00A8
OOD8
00B6
OOEB
0064
00B6
00B5

FMCFMCBA
FMCFRESA
FMCILRC
FMCIPSEQ
FMCISSN
FMCLCPBQ
FMCLNGTH
FMCLOCK
FMCURC
FMCLUSTR
FMCLXOQ
FMCMODE
FMCMODEB
FMCMPCNT
FMCNPCNT
FMCNXCFM
FMCNXOSC
FMCNXOSQ
FMCNXTCB
FMCOASN
FMCOLRC
FMCOSSN
FMCPABI
FMCPAB2
FMCPAB3
FMCPAB4
FMCPAB5
FMCPACE
FMCPACEM
FMCPACEN
FMCPACPC
FMCPFCSQ
FMCPRMRC
FMCPROCD
FMCPSCMD
FMCPSTAT

0020
0228
0258
0188
0156
0240
0001
0204
0256
0187
0260
0052
0189
0161
0160
0152
0154
0152
0004
0154
0256
0152
0064
0080
0096
0112
0128
0160
0161
0160
0162
0248
0184
0048
0182
0183

0014
00E4
0102
OOBC
009C
OOFO
0001
OOCC
0100
OOBB
0104
0034
OOBD
OOAI
OOAO
0098
009A
0098
0004
009A
0100
0098
0040
0050
0060
0070
0080
OOAO
OOAI
OOAO
00A2
00F8
OOBS
0030
0086
OOB7

FMCPSTRS
FMCRAFM
FMCRDTPT
FMCREQT
FMCRPLA
FMCRPLH
FMCRPUPT
FMCRPURS
FMCRRESP
FMCRSPLM
FMCRTFGS
FMCRVDOI
FMCSAF
FMCSCCTL
FMCSCFLG
FMCSCSQN
FMCSEGD
FMCSEQI
FMCSEQ2
FMCSHEDQ
FMCSIP
FMCSIPA
FMCSNCTL
FMCSSEGQ
FMCSSTAT
FMCSTAT
FMCSTATI
FMCSTAT2
FMCTDAF
FMCTLMOD
FMCTSKID
FMCTSQNO
FMCTVPE
FMCUSFLD
FMCVWT
FMCZVOO2

0196

0208
0232
0164
0040
0165
0164
0195
0198
0232
0158
0002
0225
0224
0226
0200
0233
0234
0236
0148
0148
0224
0200
0159
0028
0029
0186
0244
0246
0008
0190
0000
0024

00C4
OOAC
06DO
OOE8
00A4
0028
OOAS
OOM
00C3
00C6
00E8
009E
0002
OOEI
OOEO
00E2

Pattern

oln

0044

0216

ooca

00E9
OOEA
OOEC
0094
0094
OOEO
ODC8
0091'
OOIC
OOID
OOBA
00F4
00F6
0008
OOBE
0000
0018
002C
00D8

Flag Meanings

Hex

Flag Byte

Contents

Disp

00A3

FMCCVAL

Chain values

11-82

Bit

Pattern

Pattern

Nome

Meaning

I II I •...
1.. .....
.1. .....
•• 1••..•
••• 1 •.••
.••. II..
•....• II

FMCOBCE
FMCFIRST
FMCMIDLE
FMCLAST
FMCONLY
FMCIBCE
FMCPRCLS

Current Outbound'
First Piece

Middle Piece
last Piece
Only Piece
Current Inbound

Presentation Class,
01= Record

FMCB {lSTFMCB}

Flag Meanings

(Continued)

{Continued)

Hex
Disp

F lag Byte

OOBA

FMCSTAT2

Bit

Contents

Purge flags

Pattern

Pattern
Name

Pattern
Meaning

Vary Purge in
Progress
Purge Succesfully
completed
Inhibit all I/O
Allocation in
Progress
CLSDST Purge in
Progress
SEQ/IO, 1=
Sequence Number
Reserved

1. .. ""

FMCVPIP

.1" ....

FMCZFOOA

,,1. " "
".1 " "

FMCIAIO
FMCALIPR

....

1".

FMCCPIP

....

.1"

FMCSEQI

" " ,,11
OOBD

FMCMODEB

Mode byte

FMCHOLD

.1" " "

FMCCLEAR
FMCAPQ
FMCLUQ
FMCRSTSR
FMCRESOT
FMCIBPRG
FMCPBPRG

,,1. ""
".1 " "
" " 1".
.1"

....

.... ,,1.
" " ".1
OOM

00B5

FMCFLGA

FMCFLGCL

Flog Field 1
(Control Layer)

,,1. ""

FMCFLGAO
FMCFLGAI
FMCFLGA2

".1 " "
.... 1".
" " .1"

FMCFLGA3
FMCFLGA4
FMCFLGA5

1". " "
.1" " "

Flog Field 2
(Record Control
Layer)

"" ,,1.

FMCFLGA6

" " ".1

FMCFLGA7

1". " "

FMCFLGBO

.1" " "

FMCFLGBI

,,1. ""

FMCFLGB2
FMCFLGB3
FMCFLGB4
FMCFLGB5

".1 " "
" " 1".
. " •. 1"

II-B3

FMCRSVB7

1". " "

"" ,,1.

FMCFLGB6

" " ".1

FMCFLGB7

II

Buffer Flood
Condition
Clear in progress
Application quiesced
LV quiesced
Resetsr in progress
Response outstanding
I/B Purge chain
O/B Purge chain
Doto expected
In Dialogue
FMCB on AeDEB for
Read Any
Incoming Data Flush
Purge in progress
Buffer Threshold
Exceeded
Read done to 3735
(00)
FMCB is Locked
FMCB on ACDEB
Dfasy any Q
FMCB on ACDES
Req any Q
Satisfy Dfasy Spec.
Satisfy Resp. Spec.
Reserved
POST= Sched.
Outstanding
Hold Response
Outstanding
Reserved

FMCB (lSTFMCB)

Flag Meanings

Hex

(Continued)

(Continued)

Flag byte

Contents

~
OOM

FMCPSCMD

Port Outstanding

Command Field

Bit

Pattern

Pattern

Pattern

Name

Meaning

I. ......
· I. .....
.. 1. ....

FMCINVT
FMCCNTCT
FMCRESTI

Invite
Contact
Reset Immediate

••• 1 •••.
.... 1. ..

FMCPURGE
FMCDSEOC

Purge (Reset)

..... 1..

FMCRDBLK

Command
Outstanding

0086

FMCFlGB

Flag Field 2

•••.•• 11

FMCRSV88

I. ......

FMCFlGA8

.111 1111

FMCFlRSV

I. ......
.1. .....

FMCElKST
FMCIDVFD

Error lock set
TPIOS could not

.. 1. ....

FMCDDOCD

find A
Dial disconnect

••• 1 .••.

FMCPC15D

Port being closed
by Port Solicitor

•••• 1111

FMCRSV09

Reserved

I. ......

FMCFPE

1= Path End

· I. .....

FMCFEX

Response
1= Exception

.. 1. ....

FMCFME

(Control layer)

00B7

FMCPSTAT

Port Solicitor
Status Flags

Disconnect End

of Call
Read Block
(Start Input)
Not defined
Reset Conditional
is Active
Unused

occurred

00C3

FMCRRESP

Respond Type
Expected

••• 1 •.••

FMCFRRN

.... 1. ..

FMCTSlHA

••••• 111

@NMOoo04

Response
0= Functi'on MNMT
End Resp .
1= Reached
Recovery NIode
1= Term Self Lost

has Arvd.
OOEB

FMCFLAGS

FMCB Flogs

Reserved

I. ......

FMCSIRP

Session Indication

· I. .....

FMCUSIND

Potential Session

.. I. ....

FMCUSINI

••. 1 •.••

FMCSIRE

Copy of Pot .Sess.
Indicator
Session Initiation
Request ended. No
queue

Req. pend.
Indicator

11-84

FMCB (lSTFMCB)

Flag Meanings

Hex

(Continued)

(Continued)

Flag

Contents

Bit

Disp.

OOEB

FMCFLAGS

I

Pattern
Name

Pattern

Pattern

.... 1. ..

FMCSTRE

•.... 1..

FMCRESET

...... 1.

FMCSIRQ

Session Termination
Reguest ended, no
Queue posted
Reset Reguest in
Progress, do not
Post
Session Initiation

•.••..• 1

FMCSTPRT

Connection
Stort Print bit

1. .. ....

FMCSHEDG

Gating bit

II •. ....
.. 11
•••• I ••.
..... 1..
.... .. 1.
..••••. 1

FMCIBSAC
FMCOBSAC
FMCLURO
FMCAPRO
FMCSCCLO
FMCSTCTL

111. ....
•.• 1 •...
•..• I .••
.1..
•••• •• 1.

FMCRSVI2
Reserved
FMCLBIND
Lost Block Indicator
FMCNONCB No NCB Indicator
FMCINPET
Invite Perpetual Ind .
FMCAS8TU
Associated BTU

.... .•• 1

FMCRSVII

1. ......
.1. .....

FMCCRF
FMCSESAQ

.. 1. ....

FMCEOTRQ

EOT Expected after

..• 1 ••..

FMCSSREQ

Orderly.
Session Statu;
Change Ind.

.... 1. ..

FMCBRV4
FMC8RV5
FMC8RV6
FMC8RV7

Reserved
Reserved
Reserved
Reserved

1. ......

FMCPRMTR

....

FMCPRMTE

•. 1•.••.
.•• 1 •..•

FMCDAPT
FMCDEVOF

FMCB is a
Preemptor
FMCB is 0
Preemptee
Device Accepted
Device varied or
set by Vary DSACT.

(Continued)

Meaning

Request queued for

OOEC

First byte of

FMCSHEDQ
OOEO

FMCSCFLG

F log Byte

Save IBSQAC

Save OBSQAC
LU owes Response
App lowes Response
Clear outstanding
l""CLUS already

Sched.

00E8

FMCRTFGS

Request TAG
F log Byte

to Corne

00F7

FMC BYTE

Flogs

Reserved
Contact Required

PORTSOL session
Acquired
RVI from Reset

..... 1..

....
....
001C

FMCSTAT

Source Status
Info

.1..

11-85

.. 1•
.•. 1

FMCB (lSTfMCB)
Flog Meanings

(ConHnued)

(Continued)

Hex
Disp.

Flag

OOIC

FMCSTAT

Contents

(Continued)

Bit

Pattern

Pattern

Pattern

Nome

Meaning

. ... 1. ..
..... 1..

FMCDEDSC
FMCZFOO7

Device disconnected
Buffer Trace

Active flog

...... I.

FMClTEAS

lost Term Exit

scheduled for this

FMCB

0010

OOIF

ODSf

FMCSTATI

FMCCMDFl

FMCsstat

Status Information

Command flags

Se$SiOll-CPM

Status

....... 1

FMCVSPI

Soft Purge in
Progress

I. ......

FMCVSP2

.1. .....

FMCHPURG

A User Request
was Soft Purged
Session has been
Hard Purged
Reserved

.. II 1111

@NMOOOOI

I. ......

FMCCMDR

1= Initial Self
Revd

.1. .....

FMCVSNA

FMCB far Vary

.. I. ....

FMCSNA

Session
User Session with
New Dev's.
ReserVed

... 11111

@NMOOOO3

I .......
.1. .....

FMCSNBI
FMCCIPI

Session not Bound
TPIOS Clecr in

.. I. ....

FMCUIPI
FMCSDTR

Unbind in Progress
SDT Required
Bind in Progress
No Session exists

Progress

... 1 ....

.... I. ..
..... 1..

FMCBIP

FMCNSAlU

between the

Application and

the LU

...... I.

FMCPURCH

TPIOS Purging
Chain start

....... 1

FMCCONF

Sick Flog

Constants in rSTF$B

Lobel

Value

FMCZHRIP

X'IOOO'

RESYNCH in Progress

Common Constants Follow

FMTYPE
FMCOBCEI
FMCIBCEI
FMCRCD

X'03'
B'OOOI'
B'II'
'RECORD'

Type Code for FMCB

Equate for Record tv\ode

11-86

FSB (ISTFSB)

Dec

I

0

Hex

I

1

2

1

3

FSBFSB
FSB without FOB
32

20

FSBFDB
First FOB

FSBFSBA
Address of next FSB

ORG FSBFSB + 8
FSBBTH
BTH fields

ORG FSBBTH
FSBCID

I

Communication 10

ORG FSBCID
FSBDAF

FSBSAF
Sixteen BIT source [0

12

12

C

FSBSEQID
Sequence number of 10, SDCC

12

C

11-87

Sixteen BIT destination [0

I

FSB (lSlFSB) (conHnued)

Dec

Hex

~I__________-L__________L-________~L-________~

ORG FSBSEQID + I
13

D

13

D

ORG FSBSEQ

ORG FSBBTH + 6
FSBCSWST

14

CSWstatus

ORG FSBCSWST
14

ORG FSBTHFLD
14

ORG FSBTHI
14

ORG FSBTHFLD + I
15

ORG FSBTH2
15

ORG FSBFSB + 16
16

10

I

FSBNETRS
Network response

16

16

17

ORG FSBFSB + 18

18

FSBDMGRS

12

Device management response

11-88

FSB (ISTFSB) (continued)

Dec

Hex

I

ORG FSBDMGRS
18

12

19

13

20

14

I

ORG FSBDMGRS + 1

ORG FSBFSB + 20
FSBLCPB

I

Address of lCPB

ORG FSBLCPB
20

FSBMSG1D
Operator message ID

14

I
ORG FSBMSGID
20

FSBICNCB
leNCB PTR - checkpoint rest

14

I
ORG FSBFSB + 24
24

FSBLCCWA

18

lCCWaddres.s

I
24

ORG FS8FS8 + 28
28

1C

I

FSBRSVOI

F SBTHCNT
TH data count

.

Reserved

ORG FS8NETRS

16
10

F_S_8_C_O_MB
__
N__________________--J

LI_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

FS8RHFLD
Request/response header

16

17

ORG FSBRH3
19

13

12

C

or

FSBRQTA~ NM00008
11-89

FSB (ISTFSB)

Dec

Hex

12

C

13

D

(Continued)

ORG@NMOOOOB+l

Alphabetical list of Fields in lSTFSB

Field
@NMOOO08
FSBALIGN
FSBBTH
FSBCID
FSBCMD
FSBCOMBN
FSBCSWST
FSBDAF
FSBDMGRS
FSBERC
FSBEXTR$
FSBFDB
FSBFLAGS
FSBFSB
FSBFSBA
FSBICNCB

Dec

Hex

Field

Dec

Hex

Field

Dec

Hex

0012
0016
0008
0008
0013
0016
0014
0010
OOIB

OOOC
0010
0008
0008
OOOD
0010
OOOE
OOOA
0012
0011
OOOF
0020
OOOC
0000
0004
0014

FSBlCCWA
FSBlCPB
FSBlDFlG
F$BlNGTH
FSBMJRCD
FSBMNRCD
FSBNSGID
FSBNETRS
FSBRHFlD
FSBRHI
FSBRH2
FSBRH3
FS BRLSTS
FSBRQTAG
FSBRSVOI
FSBSAF

0024
0020
0019
0001
0016
0002
0020
0016
0017
0017
0018
0019
0024
0012
0030
OOOB

0018
0014
0013
0001
0010
0002
0014
0010
0011
0011
0012
0013
0018
OOOC
OOIE
0008

FSBSEQ
FSBSEQID
FSBSFlGS
FSBSRCAT
FSBSS 1
FSBSS2
FSBSYSRS
FSBTHCNT
FSBTHFlD
FSBTHI
FSBTH2
FSBTYPE

0013
0012
0003
0016
001B
0019
0014
0028
0014
0014
0015
0000

OOOD
OOOC
0003
0010
0012
0013
OOOE
OOIC
OOOE
OOOE
OOOF
0000

0017

0015
0032
0012
0000
0004
0020

Flag Meanings
Hex
Disp

Flog
Byte

OOOC FSBFLAGS

Contents

Flag Byte

Bit

Pattern

Pattern

Nome

Meaning

I. ..

FSBRFIND

Request Feedback

.1..

FSBACIND

Additional Command

.. 1.

FSBFFIND

Function Flag
Generated
last Block Indicator

Pattern

Indicator
Indicator

••• 1

I. ..

FSBlBIND
FSBNONCB

.1..

FSBINPET

.. 1.

FS BAS Bru

••• 1

FSBDTRCE

No NCB for this
Request
Invite Perpetual
Response
Associated Response

to Come
Device Trace
Request

11-90

FSB

IISTFSB) (Continued)

Flog Meanings (Continued)

Hex

flog

Contents

~ Byte

OOOC

First Byle of
FSBRQTAG

Bit

Pattern

Pattern

Pottern

Nome

Meaning

1. .•
.1..
•• 1.

fS BRlDa
FS BRTO 1
FSBRT02

••• 1

FS BRT03

logkol Eceoc Flog

1. .•
.1..

FSBRT05

Decrement Sched

•• 1.
... 1

fS BRT06
FSBRT07

Write Request

1. •.

FS BRlDS

.1..
•• 1.
••. 1

FS BRT09

Device End
Notification
Critical Text Flag
Contoct
Disconnect Major
Return Code Type
Value

fSBRT04

II

Conld Block Error
End of Scheduling
Block
Write/Read Request
Feedback Requested
Count on De'lveue

Second Byte of

0000

FSBRQTAG

OOOE

GOOF

F$BSYSRS

FS BEXTRS

System Response

Extended Response

FSBRTOA

FSBRTOB

Scheduling Flag

1. ••
.11.
••• 1 1111

fSBSERR
FSBSPHSE
FSBSCODE

Response Phase
Response Code

111.
1. .•

fSBXFSTS
FSBXNORM

Off

••• 1 1111

F5BXCODE

Extended Response

••. 1 111.
••. 1

F5BXFIN5
FSBXlCI

Code
Final Status
leading Chars
Indicated

1. ••
.1..
.. 1.
••• 1

FSBMNELI
FSBMNRVI
F5BMNATN

Error flag

first Status
for

Norm

First Status

)
0002

FSBMNRCD

Minor Return Code or
Physicol Condition
Flags

FSBMNDNU

1. ..
.1..

0003
0004

fSBSFlGS

TPIOS Session Flags
First Byte of FSBf5BA

11-91

FSBMNEOP
FSBMNDIF

.. 1.

FSBMNOA

.•• 1

f5BMN5DA

Error lock Indicator

RVI Received
ATTN Received
Device not Usable
Output Errar
Dialog Initiation
Feature
Operation Aborted
Due to Con
Sense Data
Available

1. ..
.111 111 J

F5BPGBUF
FSBRSV02

Pageable Buffer
Reserved

1. ..

f5BGATE

Gating Flog

FSB

(ISlFSB)

(Continued)

Flog Meanings (Continued)

Hex

Flag

~

Byte

0011

FSBERC

Bit
Pattern

Pattern
Name

Extended Response

1. •.

FSBEDI

End of LCP

Conditions

.1..

FSBECI

Indicator
End of Command
Indicator

•. 1.

FSBEBI

End of Block
Indicator

••• 1

FSBEMI

End of Message

FSBETI

End of Transmission
Indicator

.1..

FSBFBMI

First Block in

.1..

FSBLMRI

.. J.

FSBLGI

Contents

Pattern

Meaning

Indicator

1. ..

FSBSOHI

SOH Indicator

.1..
•• 1.
••• 1

@NMoOO05
FSBSSUS
FSBSSDE
@NMoOO06

Device End
Reserved

1. ••
.1..
•• 1.
•.• 1

@NMooo07
FSBSSCR
FSBSSIR
FSBSSEC
FSBSSDC
FSBSSCC
FSBSSOC

I •..
.1..

FSBLDRMF
FSBLDSCf
FSBLDFME
FSBLDBBf
FSBLDEBF
FSBLDSOF

.. J.

FSBLDS1F

••. 1

FSBLDCUF

••• 1
0012

0013

0013

0018

FSBSSI

FSBSS2

FSBLDFLG

FSBRLSTS

Status Sense Byte 1

Status Sense Byte 2

local Device Flogs
for Record Mode

Buffer Release
Status

~1-92

Message Indicator
Logoff Message
Received
Leading Graphics
Indicator

1111 1. ••

11..
•• 1.
.•• 1

1. ••
.1..
•• 1.
••• 1

I •••

FSBCfTX

.111 1111

FSBRLRSV

Reserved
Unit Specify

Reserved
Command Reject

lnterv. Required
Equipment Check

Data Check
Control Check
Operation Check

Record Iv\ode Flag
Session Control Flog

FME Requested Flag
Begin Bracket Flag

End Brocket Flog
Send Output
Command Flag
Send Input
Command Flag
Clear/Unbind Flag

Buffer Contains
Confid Text
Reserved

FSB

(lS1F SB)

(Continued)

Constants in ISlFSB
label

Value

Meaning

FSTYPE

X'02'

Type Code for FSB

FSTRACE

X'8F'

Troc;e FSB

FSTYPEA
FRREJBB
FRREJBS
FSTHCON
FRMNSALU
FRMRCDMP
FSATHCON
FRNORM
FRCBLKE
FRLOGICE
FRPHYSC
FRPPRIEX
FRNEGRCC
FRESPEC
FRCMDRST
FRPURGE
FRDISCNT
FRMLCCWS
FRNETP
FRLINTR
FRMDR
FROLT
FRNOTIFY
FRCLRRSP

X'SD'

FIDI FSB

X'90'

Rejected Begin Bracket
Rejected Bracket Status
3270 Record TH Bytes 1,2
No Session Exists
Reset Condl Reiect- Error Lock Set
Asynchronous TH Constant
Normal Feedback
Control Block Error
Logical Error in Access Method

X'94'
X'IEDD'
X'QQ'
X'29'
X'IFQQ'
X'QQ'
X'D4'
X'OS'
X'OC'
X'DD'
X'IO'
X'OC'
X'IS'
X'IC'
X'2S'
X'D4'
X'SD'
X'B4'
X'BS'
X'SC'
X'30'

X'31'

I/O Error
RU Purged Due to Exception on Prior Element on Chain
Condit Commnd Not Performed
Special Condition
Command Terminated by Reset
Request Purged
Device Disconnected
lCCW Synch Completion Code
Network Processing
line Trace
MDR Record

OLTT
Notify
Clear Response

Minor Return Codes for Normal Feedback

FRMOK
FRMRCDPR
FRMLSYN
FRMSRCTL
FRMIRCTL
FRMRSTEL
FRMRSTQP
FRMRELCB
FRMNPCR
FRMNPUR
FRMRSTSR

X'DD'
X'D4'
X'04'
X'DC'
X'IO'
X'4D'
X'41'
X'30'

X'31'
X'32'

X'33'

OK So For
Reset Condition Successful, Read Ahead Data Present
lCCW Synchronization
CIl Command Session Record
CIl Command Incident Record
Reset Error Lock Completed
Reset of Queue Complete
Release CB
Clear Response
Unbind Response
Resetsr Response

Minor Return Codes for Control Block Error

FRMINVCF
FRMIECMD
FRMLGCNT
FRMESCNT
FRMCPCNT
FRMINDAT
FRMINCNT
FRMINDTR
FRMNSEGE

X'SI'
X'S?'
X'SS'

X'S9'
X'SA'
X'9?'
X'SB'

X'l?'
X'IC'

Invalid Chaining FLD in lCCW
Invalid Escape CMD
leading Graphics Count> 15
Escape CND Count (4
Copy lCC Count NE 3
Invalid Data Addr/length
Invalid Data Count
Invalid Dota/CNT -Record fv\ode
Segmenting Error

11-93

I

FSS

(ISlFSS)

(Continued)

Constants in ISlFSB (Continued)

Label

Value

Physical Condition Minor Return Codes

FRMDENOT
FRMLOERR
FRMNRP
FRMLERR
FRMLOSNS
FRMLESNS

X'OI'
X'SS'
X'SO'
X'SO'
X'S9'
X'SI'

3270 Device End Notification
3270 local Output Error Without Sense
Negative Response to Polling
3270 Lac I/O Error without Sense

3270 loc Output Error with Sense
3270 Loc I/O &ror with Sense

Minor Return Codes for logical Errors

FRMVTAME
FRMILRS
FRMRDIP
FRMUSELE
FRMINVL
FRMCTLCF
FRMOLlF
FRMCDITS
FRMCRNF
FRMELNV
FRMNELNV
FRMLCH
FRMNORD
FRMINVBS
FRMSEQER
FRMERNR
FRMTRUN
FRMCPYE2
FRMRELNP
FRMCPVEI
FRMCPVE3
FRMPRMI
FRMPRM2
FRMSHNDG
FRMMDNDG
FRMRCNA
FRMRDLGO

X'AQ'

X'AI'
X'A2'
X'A3'
X'A3'
X'M'
X'AS'
X'A6'
X'A7'
X'A9'
X'AA'
X'AS'
X'AC'
X'AD'
X'AE'

X'AF'
X'SO'
X'SI'

X'B2'
X'S3'
X'B3'

X'B4'
X'SS'
X'S6'
X'S7'

x'sa'
X'S9'

VTAM Error
Incompatable Local/Remote Sysgens

Reset or Deactivate

+ Clear in Progreu

User logic Error
User logic Error

OlTT Failure
Conflicting Dialogue Initiation/Termination
Conversational Reply not Feasible

Escape LeON not Va Iid
Non Escape LCCW not Valid
LCCW Count Exceed, 255
No Read where Required

Invalid BTU System Response
Response Sequence Error
Expected Response not Received

Doto Truncation Occurred
Attempt to Copy from Device on Different Cluster
Reset Error lock not Performed
Attempt to Copy (rom UNOP DEV
Attempt to Copy from a Device
Attempt to Preempt Preempted FMCB
AttemptTP Preempt an FMCB with Preempt Pending
Dialogue Entry Foiled Due Invalid BH Set
Dialogue Entry Failed Due Invalid Processing Options
Read Continuous not Allowed
Read with Data Length GT Internal TPIOS only

Minor Return Codes for Conditional Command not Performed

FRMNRCC
FRMYTC

X'OO'
X'80'

Reset not Performed
Yielded to Contention

Minor Code for Command Reset

FRMCDRST

X'OO'

.

Control Command

Command lias been Reset

11-94

FSB

(ISlFSB)

(ConHnued)

Constants in ISlfSB (Continued)

)

label

Value

Minor Return Codes for Notify

FRMPREMT
FRMRESTR
FRNCDTRM

X'OB'
X'OC'
X'OD'

TOLTEP Preempt
Restore After Preempt

Conditional Term Self

Minor Return Codes for Request Purged

FRPRARSS
FRPRABND
FRPPCHFL
FRPRANSH
FRPAPABD
FRPCLSDO
FRPVRYOF
FRPDISCO
FRPDBTEX
FRPRlF
FRPRTS
FRPRAP
FRPRPR
FRNFRE
FRPARSSL

X'OI'
X'02'
X'03'
X'04'
X'05'
X'06'
X'07'
X'CB '
X'09'
X'IO'
X'11 '

X'OA'
X'OB'
X'OC'
X'SI'

3705 Abend, Restart Successful
Early Warn, Reeov in Prog
Permanent Channel Fai lure
Auto Network Shutdown
Application Abended
CLSDST Occurred
Vary Offline Occurred
Disconnect Occurred
Buffer Threshold Exceeded
Temp Record Device Failure
Terminate Self

Appl Issued Clear
Preempt
Restore

This is last Operation Purge for 3705 Abend, Restart

Minor Return Codes for Network Processing

FRMMTAID
FRMNPLQ
FRMNPDES
FRMNPSE
FRMDE BSF
FRMBIDE
FRMMTABS
FRMBSCR
FRMNUTRM
FRMNPHPS
FRMNPRMD
FRMBSCOK
FRMBSCKO
FRMUNID
FRMNPRDV
FRMFIRM
FRMTERM

X'OO'
X'04'
X'OS'

X'SO'
X'84'
X'OC'
X'IS'
X'90'
X'94'
X'IO'
X'20'
X'lC'
X'IE'
X'14'
X'42'
X'lO'
X'11'

MTA Device Identified
Neg Poll limit Reached Queue Option
Device End Status
Error Sense/Status

Device Error - sse Status to Follow
BSC tD Error
MTA/BSC Verify Successful 370X
BSC ID Verify Successful (in Host), Error lock Set
BSC ID Verify Unsuccessful Error lock Set
Hold - Pending Sense/ST
Request tv\anualdial
BSC ID Association Success- Ful in TPIOS
BSCID Successful in VS 1 TPIOS
Unidentified Dial in Terminal
Reset Conditional Failed
lU Failed
Terminate Received

Minor Return Codes for line Trace

FRMLlNTR
FRMLTRE

X'DO'
X'04'

line Trace
line Trace Terminated by ERR

Minor Return Codes for MDR Records

FRMMDR

X'OO'

MDR Records

11-95

I

FSB

(lSlFSB)

(ConHnued)

Constants in ISTFSB (Continued)

Lobel

Value

Minor Return Codes for OlTT
FRMOLTR
FRMOLTE
FRMOlTNC
FRMOLTNT
FRMOLTNS

X'SO'
X'04'
X'90'

X'91'
X'92'

***** Minor Return
FRMRSTRM
FRMRUTRM

OlT Request Message

Ollr Ct-AD Terminated
No CON String Queued
CCW String Queued - Not Test tv\ode Reqs
I/O not Started - HOV not Issued

Code for Command Reset **** ..

X'SO'
X'SI'

Reset by Successful TRM
Reset by Successful TRM

**** Minor Return Codes for Physical Condition ****
FRMUSDA
FRMSE
FRMUSE

8'00000001'
8'10000001'
8'10000001'

FRMDDR

X'90'

FRMNCLR
FRMCU
FRMCUN

X'OA'
X'06'
X'O?'

Unsol Sense Data Avail
Error Sense Data Avail
Error, Unsolicited, Sense
Asyn Dial Discon Received
Cleored by Clear
Cleared by Clear/Unbind
Cleared by Clear/Unbind/Notfy

NCP System Response Field

Response Phase
NCPPHSEO
B'oo'
NCPPHSEI
B'OI'
NCPPHSE2
B'10'
NCPPHSE3
B'l1'

Phase
Phase
Phase
Phase

0 Response
1 Response
2 Response
3 Response

Phase 0 Non Error Responses

NCPDAC
NCPMTAID
NCPCAPM
NCPCASM
NCPESYSS
NCPLSYSS
NCPICOMP
NCPMDR
NCPANSCT
NCPANSOP
NCPANSC
NCPMSLOG
NCPOFLO

B'oooll ,
B'ooloo'
B'00 10 1'
B'oollO'
B'ool11'
B'OlOoo'
B'Olool'
B'0101O'
B'11011 ,
B'111oo'
B'11101'
B'11110'
B'I1111'

Device Assyn Complete
MTA Device Identified
Channel Adapter to Prim Mode

Channel Adopter Secondary /IAode
Entering System Slowdown
Leaving System Slowdown
Init Complete
MDR Record
Auto Network Shutdown via Channel Timeout
Auto Network Shutdown via Operations Panel
Auto Network Shutdown Complete
Serviceability Aid Mass Storage Logging
Overflow Configuration

Phase 1, 2, 3 non Error Responses
NCPOK
8'00000'
Command OK So For
NCPLGR
8'00001'
Leading GraphiCS Received
NCPOKD
8'00010'
OK So Far with Date
NCPNPLQ
8'00011'
Negitive Poll Limit Queue Option
NCPOLTR
B'ooloo'
OLT Request
NCf>t\.IPLNW
8'00110'
Negative Poll Limit - Nowait Option
NCPlINTR
8'00111'
line Trace
NCPBSTAT
B'00101'
BSe Status Messoge
11-96

FS8

(lSTFS8)

(Continued)

Constants in ISlFSB (Continued)

)

)

)

label

Value

Phase

a Error Responses

NCPCHERR
NCPIRID
NCPICMD
NCPIMOD
NCPRSIP
NCPDIACT
NCPllACT
NCPCNVR
'NCPCSXE
NCPCNBS
NCPICDl
NCPRSNP
NCPGPA
NCPDNCR
NCPDSQl
NCPSDlI
NCPITXl
NCPICOD
NCPIN8TU
NCPDATIU
NCPICCM
NCPOlTRJ
NCPMUlTD
NCPMODI
NCP8UFNA
NCPSYSS
NCPERLS
NCPCNOP
NCPCRS
NCPESCO

8'00000'
B'Ooool'
B'OOOIO'
B'OOOI1'
B'OOIOO'
B'OOIOI'
B'OOIIO'
B'OOI1I'
B'01000'
B'01001'
B'01010'
B'01011'
B'01011'
B'0I100'
B'01101'
B'01110'
8'01111'
8'10001'
8'10010'
8'10100'
8'10101'
8'10110'
8'11000'
8'1100t'
8'11010'
8'11011'
8' 11100'
8'11101'
8'11110'
B'", 11'

I

Chonne I &rof
Invalid Resource ID

Invalid Command
Invalid Iv\odifier
Reset or Deactivate Progress

Device Inactive
line Inactive
Command not Valid for Resource
Command

Syntax Error

Command did not Conform to

BSe Specifications

Invalid Control Data leng
Reset not Performed

Gen, Pall Aborted
Doto not Core Resident
Dial Set Queue Limit Reached
Switched Device line Incompatibility

Inva lid Text length
Invalid Control Data

Incomplete BTU
Data in Use

Invalid Control Command or Modifier
OLT Command Rejected
Multiple Dial Requests
Iv\ode Inconsistency

Buffer not Available
Command Rejected System in Shutdown
Command Rejected Error lock Set

Command Rejected---- Channel Inoperative
Command Reset or Line Deactivated
Phase 0 Error Escape

Extended Response (Final Status) for Phase 0 Error Escape
NCPIPlE
B'OOOOI'
IPllack on
NCPIVNE
8'00101'
Invalid Node
NCPTELE
B100loo 1
Trunk Error Lock on
Phase 1, 2, 3 Error Responses
NCPDACHK
8'00000'
NCPPIVR
8'00001'
NCPIVR
8'00010'
NCPNPlW
8'00011'
NCPVCNT
8'00100'
NCPDEBF
8'00101'
NCP81DER
B'00110'
NCPLTRT
8'00111'
NCPOCT
8'01000'
NCPSSNS
B'OI00I'

Data Check
Possible Interventions Required
Intervention Required
Negative Poll Limit--- Wait Option
Yield to Contention
Device Error--BSC Status to Follow
8SC ID E,,,,,
Line Trace Terminated
OLT Command Terminated
Session not Started BSe Status Message

11-97

FSB

(ISTFSB1

(ConHnued)

Constants in ISTFSB (Continued)

label

Value

NCPESTAT
NCPDCREC
NCPBRREC
NCPCRJS
NCPDDIC
NCPIPLR
NCPTRNKE
NCPBLKR

B'01010'
B'Oll00'
B'10011'
B'11000'
B' 11001'
B'01101 '
B'OlllO'
B'Ol1l1 '

BSe

Error Status Message

Data Disconnect Received
Break Received

Contact Rejected ---- Session Started
Dial Data Inconsistency Command Reset ----

IPL Required
Trunk Error
Remote Block Returned Host

NCP Extended Response Field Values
First Status Values

NCPXCNTl
NCPXTXT
NCPXTTXT
NCPXHEAD
NCPXSPEC
NCPXHCHK

B'OOO'
B'OOl'
B'OIO'
B'Oll'
B'IOO'
B'l1l'

Control
Text
Transparent Text
Heading

Special
Hardware Check

Final Status Values with Normal First Status i.e, Control, Text ..
Transparent Text or Heading

NCPXTlMT
NCPXCUTF
NCPXABLK
NCPXEHE
NCPXDCE
NCPXWRAK
NCPXRSBE
NCPXETX
NCPXETB
NCPXENQ
NCPXEOT
NCPXRVI
NCPXPACK
NCPXWACK

B'OOOO'
B'OOlO'
B'OOl1 '
B'0100'
B'0101'
B'OllO'
B'1000'
B'1001 '
B'IOlO'
B'1011 '
B'1100' .
B'1101 '
B'l1lO'
B'l11I'

Timeout

Cutoff
Abort Block
EOT Halted ERP
OLE Control End

Wrong ACK
Received Sub Block End

End of Text
End of Block

Enquiry
End of Transmission
Reverse Interrupt

Positive ACK

WaitACK

Final Status Values with Special First Status
Timeout-- same as Normal First Status

NCPXCREJ
NCPXBPE
NCPXSLTD
NCPXRDS
NCPXLDTA
NCPXRSET
NCPXPLLD
NCPXXSBE
NCPXESWR

B'OOOI '
B'OOIO'
B'OOl1 '
B'0100'
B'OIOI'
B'OllO'
B'Olll'
B'1000'
B'1001 '

Command Reject
Buffer Poo I End
Selected
Received Disconnect Signal
Lost Data
Reset
Polled
Transmit Sub Block End
EOT Sent after Wack Received

11-98

FSB

(ISTFSB)

(Continued)

Constants in ISTFSB (Continued)
label

Value

NCPXRBT

B'lOIO'

NCPXPLLS

B'lOl1'

NCPXEOTS
NCPXRCB
NCPXDSCT
NCPXCNTD

B'rlOO'
B'1101 '
B'1110'
B'1111 ,

Received Break in Text
Polling Stop

EOT Sent
Rece ived Break
Disconnected
Connected

Final Status Values with Hardware Check First Status

NCPXEQUC
NCPXCSBC
NCPXADC
NCPXUSER
NCPXMODC
NCPXDTOC
NCPXDTFC
N CPXACUC

B'OOOO'
B'OOlO'
B'0100'
B'0110'
B'1000'
B'lOlO'
B'lloo'
B' 1110'

Equipment Check
CSB Check
Adopter Check
User Error
Modem Check
DSR Turn on Check
DSR Turn off Check
ACU Check

**** Miscellaneous Equates ****
FSBLCWMX
X'FF'
Mox#, LCCW', LCPB
FRMCRJSS
X'OS'
Contact Rjcted, Sesn Started
FSBNRMST
X'OC'
Normal 1/0 Status of eE, DE
Session Flog Values

FSESCS
FSESIS
FSESCR
FSESDS
FSESC'MlS
FSESIDS
FSESIADS
FSESDF
FSESCF
FSESIF
FSESSSDF
FSESISDF
FSESIR

X'Ol'
X'02'
X'03'
X'04'
X'OS'
X'06'
X'O?'
X'OS'
X'09'
X'OA'
X'OB'
X'OC'
X'OE'

Contact Successful
Invite Successful
Contact Rejected
Disconnect Successful
Contact/Write/Disconnect Successful
Invite/Disconnect Success
Invite W. Auto Restart Completed a Cycle

Comm'd with Discon. Failed
Write with Contact and Disconnect Failed
Invite with Connect Foiled
Write with Contact and Disconnect Failed to End Session
Invite Started Session but Disconnect Failed
Invite Rejected - Disc Sent

RH, TH, Sense Constants

FSSEQSNS
FSSEQSLN
FSEPRRH
FSDEONLY
FSSNAMSK

X'00000000 ,
X'04'
X'930100'
X'0200'
X'3FFF'

SEQ Num Sense Field
Length of Above
Stond-Alone Pacing Response RH
DE Only Status
..
Mask to Zero First Two Bits of Status

11-99

I

ICE (lSTICE)
Dec

Hex

0

o
4

I

I

I

2

I

ICESUBJ
Address of ACDES or RDT

4

ICEOBJ
Address of RDT or AeDES
ICESUBJQ
Link Field for Sub Chain

12

ICEOBJQ

C

link Field for OSJ Chain
16

ICESIDE

10

Field Link for Other Ices

20

ICEDATA

14

Address of Request Data

24

18

28

IC

ICERPHA
Address of RPH

ICEFLAGS
Flag Bytes

32

20

36

24

I

@lNMOOO02
PAD to Full Word

ICEUECBX
Anchor for Chain of UECBS or

lex

ICERSC2B
Resource 2 Name from Initiate RU

11-100

3

ICE (ISTICE) (Continued)
Alphabetical list of Fields in ISTICE
Field

Doc

Hex

Field

Dec

@NMOOO02
ICEDATA
ICEFlAGS
ICEOBJ

0029
0020
0028
0004

OOlD
0014
0010
0004

ICEOPJO
lCERPHA
ICERSC2B
ICES IDE

0012 OOOC ICESUBJ
0024 0018
ICESUBJO
0036 0024
ICEUECEX
0016 0010

Hex

Field

Dec

Hex

0000
0008
0032

0000
0008
0020

II

Flag Meanings
Hex
Disp

Flag Byte

Contents

OOIC [CEFtAGS Flag Bytes

Bit
Pattern

Pattern
Name

Pattern
Meaning

1. ..
.1. .....
.. 1. ....

ICESPEC
ICEICX
ICElGCN

•.. 1 ....

ICERSC2F

.... 1. ..

ICESTAPR
@NMOOOOI

Specific Accept
ICX is Present
Acquire is logon
Type
1=ICERSC2B is a
name
O=no name
Shoulder Tap
Slack

.•.•. 111

11-101

lCCW (lSTlCCW)
Dec

Hex

1

0

I

2

lCCWOP

lCCWFlAG

Operational
Code-Control

Flag Byte

3

lCCWCNT
Doto Count

lCCWDATA
Data Address or Immed. Doto

AlphabeHcal list of Fields in ISTLCCW
Field

Dec

lCCWCNT
lCCWOP

0002 0002
0000 0000

Hex

Field

Dec

Hex

Field

Dec

Hex

lCCWDATA

0004

0004

lCCWFlAG 0001

0001

Flag Meanings

He,

Bit

Pattern

Pattern

Disp

Flog Byte

Contents

Pattern

Name

Meaning

0000

LCCWOP

Operation Code
-Control

1. ..•..•

lCCWSI

$ess lnit/Stort

.1. •....

lCCWSD

Sess Discon/End
Dialog Fig
Reed/Write
Operation Code

0001

Dialog Fig

LCC'NFLAGFlag Byte

.. 11 1111

lCCWRWOP

•• 1. .. '
... 1 ....

@NMOOOOl
lCCWSOP

..•• 1111
•... 11..
.... .• 11

lCCWCTl
lCCWMODE
lCCWTYPE

Operation Type

1. .. ....
. 1.. ....
.. 1. ....

lCCWCD
lCCWCC
lCCWCKPT

Chain Doto
Chain Command
Suppress 3705 Check

... 1 .•..

lCCWNTVC

Reserved

Special Operation
Like Erose or
Read Cont
Control Type
Mode Type

Point Record
Do not Perform

.... 1. •.

lCCWIDAT

••••• 1..

lCCWLSI

Valchek
lCCWDATA
Contains Data
lCCWSynch

••... 1..
•..... 1.

lCCWPER
lCCWRFI

Post=Resp
Request Feedback

.•.•••. 1

llCWACI

Addition Command
Indicator

Indicator

Indicator

11-102

LCCW (ISTLCCW) ( ConHnued)

Constants in lSTLCCW
Label

Value

LXDa
LXEC
LXO
L<..CWPRGE
LWH
LWRVI
L'NNA
LWAA
LWPLG
L'NNLG
LSMDE
LlFBM
LTEST
LPRMPT
LRSTR
LEXEC
LREAD
LWRITE
LCNTRL
LRESET
LTIC
LWR
L'Ml
LWM
LWT
LEWM
LEWT
LEAU
LRB
LRM
LRT
LRMOD
LRBUF
LRCONT
LRPEP
LCPYM
LCPYT
LD
LDEC
LEOC
LXEL
LXC
LXI
LC
LWPA

X'38'
X'4B'
X'5B'
X'6B'
X'OF'
X'IF'
X'2F'
X'3F'
X'5F'
X'6/"
X'4F'
X'7F'
X'FE'
X'13'
X'43'
X'FF'
B'IO'
B'OI '
B'l1 '
B'1011'
X'OB'
B'Oooool '
B'000101 '
B'001001'
B'001101'
B'011001'
B'011101 '
B'0Ioo01'
B'OOOIIO'
B'00101O'
B'OOl1lO'
B'01001O'
B'01011O'
B'011010'
B'OI11IO'
B'101001'
B'101101'
X'23'
X'33'
X'53'
X'OB'
X'IB'
X'2B'
X'03'
X'FD'
B'l1 '
B'OO'
B'OI '
B'IO'

LMT
LMS

LMB
LMM

Reset Device Queue
Reset at End of Command
Reset Orderly
Purge
Write Header Indi. lst Block
Write RVI
Write Negative Ack
Write Alternate Ack
Write Ack Leading Graphics
Write Nack Ledaing Graphics
Set Mode
Indic 1st Block af Message
Test LCCvV
Preempt LCCW
Res tore LCevv
Special Control Operation

Read Type LCCW
Write Type LCCW
Control Type LCCW
Reset Commands
Logical Tic
Write Conversational
Write Block
Write Message
Write Transmission
Erase/Write Message
Erase/Write Transmission
Erase All Unprotected
Read Block
Read Message
Read Transmission
Read Modified
Read Buffer
Read Continuous
Read Perpetua I
Copy Message
Copy Transmission
Disconnect
Disconnect with End of Call
End of Call Command
Reset Error Lock
Reset Conditional
Reset Imme diate
Contact
Write Positive Ack
Transmission Mode
Special Mode like Conv, EAU
Block Mode
Msg or Continuous Mode

11-103

I

lCCW (lSTlCCW) ( Continued)

Constants in ISTleOlv' (Continued)

Following Equates for - Port Solicitor (Dial)
Port Solicitor Command Codes

Label

Value

PSOl
STCTl
RESTCTl
STiPUT

X'FE'
X'OI'
X'02'
X'03'

Special Port Solicitor Command
Start Control
Reset & Control - Redrive
Start Input

Following Equates for SDLC Support

Lobel

Value

Meaning

lCCHOlD
lCCRHOLD
LSEND
lClEAR
lCRUD
lCRUDNFY
lNFY
lRElCB
lRESTSR
lClRNFY
lCHPUR
lCCWSIZE
lRDS
lQUIS

X'OI'
X'02'
X'FI'
X'F2'
X'F3'
X'F4'
X'F5'
X'F6'
X'F7'
X'Fa'
X'F9'
a
X'FF'
X'FE'

Hold
Release Hold
Send
Cleor

Clear Unbind
Cleaf, Unbind, Notify
Notify
Release CB
I

Resetsr

Clear/Notify
Purge

LCCWsize
Record dey stats command

Quiesce Command

11-104

LCPB (ISTlCPB)

Dec

Hex

0

1

LCPTYPE
Type Code

LCPLNGTH

LCPFIAGS

Length in

Flag Byte

2

3
LCPMNRCD
lCP Minor
Rejection Code

Bytes

LCPCHAIN
APS Chain
LCPRUCNT
Number of RU
for this LCPB

LCPFlAG2
Second Flag

LCPSEQ
Outbound Sequence Number

Byte

LCPCID
Communication ID

12

C

16

10

LCPNXLCW
ADDR Next LCCW

20

14

LCPFDBA
BTU Address

24

18

LCPTlBAD
Address of TLB

28

lC

LCPFOSN
Sequence Number First BU

32

20

36

24

40

28

LCPFSNCH
1st SEQ Number in Ru Chain

LCPRSV03

LCPFLGI

LCPRRCCT

LCPRRCNT

Reserved

Flags

Count of
Responses
Received

Count of
Responses
Requested

LCPFLCCW
Internal DOS TP10S Pointer to First LCCW,

LCPLCCW
Fiest LCCW

0'9 LCPCID
12

C

LCPSAF

LCPDAF

Source Identification

Destination Identification

11-105

I

lCPB (ISTlCPB) (Cont-inued)
D,c

I

Hex

Org lCPFlCCW
36

24

40

2B

44

2C

44

2C

LCPUBFSB
Unbind FS B Address

Org lCPlCCW
LcPRSTOA
Reset lCP B Queue Header
LCPPABA
PAS Pointer

Org lCPPABA
LCPRPHA
RPH Pointer

44

Alphabetical list af Fields in ISTlCPB
Field

Dec

Hex

Field

Dec

Hex

Field

D,c

Hex

LCPCHAIN
LCPCID
LCPDAF
LCPFDBA
LCPFLAGS
LCPFLAG2
LCPFLCCW
LCPFLGI
LCPFOSN
LCPFSNCH

0004
0012
0014
0020
0002
0009
0036
0033
0028
0030

0004
OOOC
OOOE
0014
0002
0009
0024
0021
OOle
ODIE

LCPLCCW
LCPLNGTH
LCPMNRCD
LCPNXLCW
LCPPABA
LCPRPHA
LCPRRCCT
LCPRRCNT
LCPRSTOA
LCPRSV03

0040
0001
0003
0016
0044
0044
0034
0035
0040
0032

0028
0001
0003
0010
002C
002C
0022
0023
0028
0020

LCPRUCNT
LCPSAF
LCPSEQ
LCPTLBAD
LCPTYPE
LCPUBFSB

0008
0012
0010
0024
0000
0036

0008
OOOC
OOOA
0018
0000
0024

Flag Meanings
Hex
Disp

Flog Byte

Contents

Pattern

Pattern
Name

Pattern
Meaning

0002

LCPFLAGS

Flag Byte

1. ......
.1. .....

LCPLOGIC
LCPCBLK

.. 1. ....

LCPFBIND

••• 1 ••••

LCPRJECT

lCP logic Error
lCP Control Block
Error
Free Block
lndicotor
lCPB Reiected
Flag

Bit

11-106

LCPB (lSTLCPS) (Continued)
Flag Meanings (Continued)

Hex
Disp

Bit
Flag Byte

0004

Contents

First Byte of

II

Pattern

Pattern
Name

Pottern
Meaning

••• 1 ••••

LCPCRFLG

.... 1. ..
..... 1..
...... 1.

LCPMDRST
LCPRESET
LCPDTRCE

••••••• 1

LCPREQOK

Rejected ContaCI
Request
LCP has been reset
Reset Request tCP
Device Trace
Require
Request Handled
as NOOP,
Completion O.K.

I. ......

LCPCHNG

Gate Bit

I. ......
.1. .....
.. 1. ....

Pacing Required
Asynchronous LCPB
Restart LCPB

.... 1. ..

LCPPRFlG
LCPASYN
LCPRSTRT
LCPTLBPI
LCPFIDO

..... 1..

LCPCPURG

LCPCHAIN
0009

LCPFLAG2

Second Flag Byte

••• 1 ••••

TPlOS Block LCCW
FIDO TH
Indicator for Record
Request may cause
Following Requests
to be Purged
LCPB owned by

...... 1.

LCPTPICB

••••••• 1

LCPSPURG

Request Subject
to Purging due to
Prior Exception

I. ......

LCPFTYPE

Feedback Type

I. ......

LCPRSV04

.1 ••••••

•• 1. ...•

LCPINTER
LCPREDRV

••• 1 ••••

LCPSTLB

.... 1. ..

LCPDIRPT
LCPRSVOS

Reserved for
Alignment
Internal tCPB
tCpa is for
Redrive
TLB not to be
Freed
Direct Post
Reserved

TPlOS

002C

First Byte of
LCPPABA and

)

LCPRPHA
0021

LCPFLGI

Flags

••••• 111

11-107

LCPB (lSTLCPB) (Cont;nued)
Constants in ISTLCPB

Lobel
Constants for

Value

lCPTYPE

LCRPHFT
LCPABFT
LCPBfIRM

B'I'
B'O'
X'IO'

LCPBTERM
LCTYPE
LCPCLACB
PLCPTYPE
LCPETYPE

X'II'
X'04'
X'04'
X'28'
X'40'

LU FaHed, CLSDST, Sched Lost Term, OPNDST may
be tried
Term Received, CLSDST, Sched lost Term
LCPB from Close ACB
Purge LCPB Type ID
Extended LCPB Type ID

Minor Return Codes

LCMCRSTR
LCPMNEW
LCPMNPF
LCPMNAS
LCPMNCL
LCPMNVD
LCPMNTF
LCPMNSF
LCPMNTS
LCPMNAP
LCPMNPR
LCPMNRE

X'F7'
X'02'
X·03 1
X'04'
X'06'
X'07'
X'IO'
X'OI'
X'II'
X'OA'
X'OB'
X'OC'

Minor RC for Resetsr
Early Warning, Recovery in Progress

Perm. I/O Failure
Auto Network Shutdown

Close/CLSDST Occured
Vary Deact ivate
Temp Record Device Fai lure
Temp Basic Failure
Terminate Self

Appl. Issued Clear
Preempt

Restore

11-108

NCB (lSTNCB)
Oec

Hex

0

1

NCBTYPE
Control block
type code

)

I

2

NCBLNGTH
Length in bytes

3

NCBOAF
ID of destination

NCBROTE
Address of ROT entry

NCBTSKID
Task lD
12

NCBNSNA

C

-Address of next schedulable node

16

10

20

14

24

18

28

lC

NCBFMCBA
Address of first FMCB
NCBNCBA
CtD of next same/lower

NCBNCSL
C 1D of next same/level

level node

nod.
NCBFLAGS
Common NCB flags

NCBRVPTl

NCBLTRC

Count of last trace records

32

20

36

24

lost trace record count

NCBFMCBP
Address of port solicitor FMCB
NCBDEVCH
Node Dev Chor

)

44

2C

24

18

25

19

25

19

NCBSWDAF
Real Network Address of
Term in SW. Subarea

11-109

NCBRSVOI
Reserved

I

NCB (ISTNCB) (Continued)
Dec

Hex

I

O,gN~C=BF~~~G7S-+~2---L----~----L----------L----------~

26

IA

27

IB

Org NCBFLAGS + 3

Alphabetical list of Fields in ISTNCS
Field

Dec

Hex

Field

Doc

Hex

NCBCSTAT
NCBDAF
NCBDEVCH

0024
0002
0036
0024
0026
0025
0016
0032

0018
0002
0024
0018
OOIA
0019
0010
0020

NCBFRAS
NCBFTRIO
NCBLNGTH
NCBLTRC
NCBNCBA
NCBNCSL
N CBN MLLN
NCBNSNA

0025
0025
0001
0030
0020
0022
0027
0012

0019
0019
0001
OOIE
0014
0016
oolB
OOOC

NCBF~GS
NCBF~GI

NCBFLTIO
NCBFMCBA
NCBFMCBP

Field

Dec

Hex

NCBRDTE
NCBRSVOI
NCBRVPTI
NCBSWDAF
NCBTSKID
NCSTYPE

0004
0046
0028
0044
0008
0000

0004
002E
OOIC
002C
0008
0000

Flag Meanings

Hex
Disp

F lag Byte

Contents

Sit
Pattern

Pattern
Name

Pattern
Meaning

oolA

NCBF~GI

NCB Flags

I. ......
.1. .....
.. 1. ....

NCBSNAI
NCBCONF
NCBRSTRT

••• 1 ••••

NCBRSYNC

Old Node
Node Sick flog
Recovery in
progress
C/R Resynch on
first I/O required,
I~YES

I. ..
... 1..

NCBFORCE

...... 11

a NMOOOOT

Constants in ISTNCS
Label

Value

LDTYPE
ICTYPE
DNTYPE
HCTYPE
CCTYPE
LUTYPE
NCNOTRC

X'07'
X'06'
X'05'
X'14'
X'15'
X'25'

o

Type C~de for LONCS
Type Code for ICNeB
Type Code for DNCS
HeNCS Type
CCNCB Type Code
LUNCB Type Code
No Trace Required.

11-110

NCBTTF

C/R Ignore
Trickle Traffic,
1= YES
Forced Deact
in progress
Reserved

NCSPL (lSTNCSPL)
Dec
0

Hex

0

2

1

3

0

I

@NMOOO09

16

10

@NMOOOll
Reserved

20

24

14

NCSPLVCD

NCSPLVBF

Verb Code

NCSPLVFL

NCSPLVFl

Command F legs

Special Proc
Flogs

18

Verb NIodifier Flags

NCSPRMRC

NCSIORC

Purge Minor

I/O or Restart
Return Code

Return Code
Field

NCSPRRNPT
Addr RN Entry for Line Trace

2B

lC

NCSPLRID
10

36

= 'Nodename'

24
NCSPLLlD
logon

44

2C

= 'Nodenome'
NCSDLlD

Offhook ID

48

30

NCSCRCMD

di NCSCRPID

C/R I/O command C/R Path ID
code
(P1D)

52

34

NCSPLRPT
ID = Nodename' RDTE Address

II-Ill

NCSPL (ISTNCSPL) (ConHnued)
Dec

Hex

56

38

0

I

I

2

3

NCSPLLPT
logon/Logoff = 'Nodename' RDTE Addr
60

64

3C

40

NCSPLCMD
3705 Control Command Codes

NCSNCPEP

NCSMSGSP

EP Subchannel
Addr

Reserved for
Message
Surpression

NCSPLUAD
U = 'Unit Address'

NCSCRFLG
~iscelloneous

C/R Flags
68

44

72

48

NCSPLv.1lE
WTOR ECB

NCSPLWRF
WTOR Reply Area

144

90

148

94

NCSPLRAD
RDTE PTR for Allocate/Deallocate
NCSIOCID
Current CIO ior OAF Lock Held

152

98

NCSPLWKA
NCS Work Area Address

156

9C

160

AO

NCSPLCVT
Pointer to VTAM CVT
NCSPLRPH
Pointer to RPH

11-112

NCSPL (15TNCSPL) (Continued)

\

)

Dec

Hex

164

A4

168

A8

172

AC

0

1

2

I

3

I

NCSPLEce
feB for Vary PGS
NCSPlf58
Address of USS-FSS FSB or RU
NCSPLRCR
Address ROTE for CR

176

180

80

B4

NCSPlfLl
Vary Flogs

NCSPlfL2
Vary Flogs

NCSDLRSN

NCSPlfL5
Flag Byte

Dial Reason

NCSPlfL3
Flog Byte

Cod",
lB4

88

NCSPLPl
Addr Vary PAS

188

BC

NCSPLP2
Addr D/l/R PAB

192

CO

NCSPLP3
Addr ERP PAe

196

C4

200

C8

204

CC

NCSPLSPL
Addr Assoc. NCSPL
NCSPLWEL
Addr Post RPH
NCSPLRRP
Addr Remote RN RDTE in local ROT

208

Do

NCSPLRUO
Addr O/B RU

11-113

NCSPlfL4

I

Flag byte

NCSPLOLN
Length O/B RU

NCSPL (ISTNCSPL) (ConHnued)
a

I

I

2

Dec

Hex

212

04

NCSPLRUI
Addr Buffer for J/S RU

216

08

NCSPLAPP
Add, NCSPL Appendage

220

DC

3

NCSRNAME
Rname=from Vary Activate

228

E4

NCSPLSQN
Sequonc:e::::i'lr. for Response

232

NCSPLGID

NCSPLPID

Binary Rep of
GID Value

Binary Rep of
PIO Value

E8
NCSPLMID
Logmode

240

Fa

244

F4

= 'Modenome'

NCSPLNSN
ROTE NSNEA at CLSDST
NCSSENSE
Sense

248

F8

NCSCPWPT
Address of CPWA

252

FC

NCSMGLPT
PTR to USS/FSS MSG Pa",m List

256

100

NCSUFMCB
Pointer to SSCP-LU FMCB

260

104

NCSPLRH
RequC$t RH

NCSPLRTY
Type from

RTGOH RU

11-114

NCSPL'ISTNCPSL)

)

Dec

Hex

264

108

(ConHnued)

I

0

I

I

2

NCSCRDTE
Pointer to RDTE being processed for -C/R I/O

268

NCSCRMSK

JOC

Flags for C/R Check Pointing

NCSPLSID
Message Routing Information

ORG@ NM00009

NCSPFX
Oueue Element Prefix

ORG NCSPFX

@NMOOOJO

12

NCSCRWKA

C

Pointer to Work Area for C/R I/O

11-115

3

I

NCSPl (ISTNCSPl) (ConHnued)
Dec

Hex

I
0'9 NCSPlVBF

18

12

19

13

60

3C

61

3D

144

90

148

94

0'9 NCSPlVBF+1

Org NCSPLCMD+l

0'9 NCSIOCID

NCSPlCID
Current C ID for Daf Lock held

I
0'9 NCSPlCID

148

94

NCSPLSAF

NCSPLDAF

Source Address

244

Destination Address

NCSSENS2

F4

User Sense Data

11-116

NCCSPL (ISTNCSPL)
Dec

Hex

(Continued)

I

I

ORG NCSCRMSK

268

NCSCHKPT

10C

F lags for Items check pointed

268

iOC

269

10D

270

iOE

ORG NCSCHKPT+I

ORG NCSCRMSK+2
NCSCRMOD
New values for
items checkpointed not
obtained from

RDTE
ORG NCSPLSID
271

10F

ORG NCSPLSID+I
272

110

272

110

276

114

I

NCSPLPHD
PO Header if NCSPlPO

=

01

ORG NCSPLSID+S
NCSPLPDB
Pointer to PO AeDEB Prefix

11-117

NCSPl (lSTNCSPl)

(Continued)

Alphabetical List of Fields in ISTNCSPL
Field

@NMOOO09
@NMOOOIO
@NMOOOII
NCSCHKPT
NCSCMDA
NCSCMDB
NCSCPWPT
NCSCRCMD
NCSCRDTE
NCSCRFlG
NCSCRMOD
NCSCRMSK
NCSCRPID
NCSCRWKA
NCSDlID
NCSDlRSN
NCSIOCID
NCSIORC
NCSLSCMD
NCSMGlPT
NCSMSGSP
NCSNCPEP
NCSPFX
NCSPLAPP
NCSPlCID
NCSPlCMD
NCSPlCVT

Dec

Hex

Field

Dec

Hex

Field

Dec

Hex

0000
0000
0016
0268
0060
0061
0248
0050
0264
0067
0270
0268
0051
0012
0044
0180
0148
0023
0144
0252
0063
0062
0000
0216
0148
0060
0156

0000
0000
0010
OIOC
003C
003D
00F8
0032
0108
0043
OIOE
OIOC
0033
OOOC
002C
0084
0094
0017
0090
OOFC
003F
003E
0000
00D8
0094
003C
009C

NCSPLDAF
NCSPlECB
NCSPlfll
NCSPlF12
NCSPlfl3
NCSPlfl4
NCSPlfl5
NCSPlfSB
NCSPlGID
NCSPILID
NCSPllPT
NCSPLMID
NCSPlNID
NCSPlNSN
NCSPlOlN
NCSPlPDB
NCSPlPHD
NCSPlPID
NCSPlPI
NCSPlP2
NCSPlP3
NCSPlRAD
NCSPlRCD
NCSPlRCR
NCSPlRH
NCSPlRID
NCSPlRPH

0150
0164
0176
0177
0178
0179
0181
0168
0230
0036
0056
0232
0272
0240
0182
0276
0272
0231
0184
0188
0192
0144
0145
0172
0260
0028
0160

0096
00A4
OOBO
OOBI
OOB2
0083
00B5
OOA8
00E6
0024
0038
00E8
0110
OOFO
0086
0114
0110
00E7
00B8
OOBC
OOCO
0090
0091
OOAC
0104
OOIC
OOAO

NCSPlRPT
NCSPlRRP
NCSPlRTY
NCSPlRUI
NCSPlRUO
NCSPlfSAF
NCSPLSID
NCSPLSPl
NCSPLSQN
NCSPLSTA
NCSPlUAD
NCSPlVBF
NCSPlVCD
NCSPlVFl
NCSPlVFI
NCSPlWEl
NCSPlWKA
NCSPlWRE
NCSPlWRF
NCSPRMRC
NCSRNAME
NCSRRNPT
NCSSENSE
NCSSENS2
NCSSNSI
NCSSNS2
NCSUFMCB

0052
0204
0263
0212
0208
0148
0271
0196
0228
0271
0064
0018
0017
0020
0021
0200
0152
0068
0072
0022
0220
0024
0244
0246
0244
0245
0256

0034
OOCC
0107
00D4
OODO
0094
OIOF
00(4
00E4
OIOF
0040
0012
0011
0014
0015
00C8
0098
0044
0048
0016
OODC
0018
OOF4
00F6
00F4
00F5
0100

11-118

NCSPL {ISTNCSPL) {Continued)
Flag Meanings (Continued)
Hex

Disp

00B2

00B3

OOBs

0012

0013

Flag Byte

NCSPlFL3

NCSPLFl4

NCSPlFLs

Contents

Flag Byte

Flag Byte

Flag Byte

First Byte of
NCSPLVBF

Second Byte of
NCSPLVBF

11-119

Bit
Pattern

Pattern
Nome

Pattern
Meaning

...... 1.

NCSPLVIS

••.•••. 1

NCSPLVIT

Vary IMM Start
Caller of CVP
Vory IMM Term
Caller of CVP

1. ......

NCSPLMOM

.1. .....

NCSEPP

.. 1. ....

NCSPlANS

.•. 1 ..••

NCSGID

.... 1. ..

NCSPID

..... 1..

NCSANS

...... 1.
•..•.•. 1

NCSFINAL
NCSEND

1•..•..•

NCSDlNID

.1. .....
.. 1. ....

NCSPLRSO
NCSPLVID

••. 1 ••.•
•••• 1•.•
..... 1..
•••••• 1.
•.••••. 1

NCSDSPE
NCSDSPA
NCSDSPI
NCSDSPN
NCSPL2AP

1. ......

NCSSCPPS

.1. .....

NCSSDLK

.. 1. ....

NCSFORCE

..• 11111

@lNMOOOI3

1. ......
.1. .....

NCSVBFOI
NCSMSG

.. 1.
.•. 1 •..•
.... 1. ..
.1..
...... 1.
•..•... 1

NCSVBF03
NCSVBF04
NCSVBFOs
NCSVBF06
NCSVBF07
NCSVBFOB

1. ......
.1. .....
.. 1. ....

NCSVBF09
NCSVBF 10
NCSVBFll

II

ERP Caused by
Failure of Higher Node
l=EP Subchannel
Present
On f or Act in Answer
Mode Off for Act in
Non-Answer Mode
On for Path with GID
Perm
On for Path with PID
Parm
On for Activate with
ANS Parm
Final Parm Exists
End Parm Ex is ts
10 Present in
NCSPL - Off
Reset Only
Orig CMD was
Modify Dump
Display Every
Display Act
Display Inact
Display None
Second ACTPU to
320X
SSCP Work Area in
PVT Storage
On-SDlC link
Processed
Forced Dcact
in progress
Reserved
Unused
Modify IVIsg,
ID-oXXXXXXXX
Modify /V'SG sup
Type=VTAM
linetrace= 1
I/O Trace=1
Buffer Trace= 1
Modify Tprint
Modify Test
Modify Trace=No
Vay Internal Only &
Modify Trace =Yes

NCSPL (lSTNCSPL) (Continued)
Flag Meanings (Continued)

Hex
Disp

Flog Byte

Contents

Bit
Pattern

Pattern
Nome

Pattern
Meaning
Vary Immediate &.
Modify Netsol:Na
Modify Netsol=Yes
Vary Logon &
Modify Change
Vary Deactivate &
Vary Normal Close

... 1 ..•.

NCSVBF12

.... 1. ..
..... 1..

NCSVBF13
NCSVBF 14

...... 1.

NCSVBF 15

••••••. 1

NCSVBF 16

Vary Activate &. ERP
Request & Modify
DlJmp

1. ....•.
.1. .....
.. 1. •...

NCSVNCSA
NCSVDEl
NCSVSTAT

••. 1 ••.•
...• 1. ..

NCSDCONT
NCSABCON

..... 1..
•••••• 11

NCSDACU<

NCSPl is Active
Delete NCSPL
Indicate NCSPl was
not Getmoined
Do Disconact
Do Abandon
Connection
Do Activate line
Reserved

(ERP)

0014

NCSPlVFl

Command Flags

NCSRSV02

0015

NCSPlVF1

Special Proc Flogs

1. ......

NCSOVFMC

Purge on Iy Vary's

003C

NCSCMDA

RH Flags

1.. .....
.1. .....
.. 1. ....

NCSPLSYS
NCSPlCTl
NCSPLSYN

••• 1 •.••

NCSPLFlO

On-System Off-FM
On-Control Off-Data
On=Synchr OffAsynch
On-with Flow
Off-against Flow
On=Unformatted
RU, Off=formaued
Reserved

FMCD

0043

NCSCRFlG

Miscellaneous C/R
Flogs

.... 1. ..

NCSPlUFM

•••.• 111

@lNMOOOlO

1..

NCSPlWRM

.1.. ....

NCSPlClD

.. 1. ....

NCSFMClD

... 1 ....

NCSFMERP

Command specified
warm parom, I=Yes
Command specified
cold param, 1 =Yes
370X responded cold
to ACTPU(ERP),

l"YES

11-120

370X responded ERP
to ACTPU (ERP),
f;;'Yes

NCSPL IISTNCSPL) (Continued)

)

F lag Meanings (Continued)

Hex

Flag Byte

Contents

Disp

Bit
Pattern

Pattern

Pattern

Nome

Meaning

.... 1 ...

NCSCROSE

O=(jR data ,et da",
not exist or is null

II

l=C/.R doto set
exists and is not null

..... 1..

NCSOPRQU

Operator requests

...... 1.

NCSUSRNF

Early warning purge
has already occurred,

....... 1

NCSSTCMO

REIPL, l=Y",
1=yes
Activate is a result

of Start VTAM
command, 1=Yes

OlOC

First Byte of
NCSCHKPT

1.......

NCSACTV

.1 ......

NCSPACTV

Active/Inactive
status changed

I=Yes
Port Act/Inactive
status changed
l=Yes
Poll Delay Value
changed, !=yes
Negative response

.. 1. ....

NCSPOW

... 1 ....

NCSNRPL

.... 1...

NCSESLM

..... 1..

NCSOTRlM

...... 1.

NCSLGAPL

Application Controller

....... 1

NCSLGMOO

Name (LOGAPPL)
changed, bYes
Logon Mode

1.......

NCSANSMO

Answer Mode Status
cl,anged, 1",Yes

CUA Value changed,
l=Yes
RNAME va rue changed,
l=Yes
Path Use/Nouse
Status changed,
l=Yes
Reserved

to Poll Limit Value

)

chan~ed, l=Yes
Session limit Value
changed, 1 =Yes
Device Transmission
limit Value changed,
l=Yes

(LOGMOD E) changed
1=Yes
0100

Second Byte of

NCSCHKPT

\

;

"

11-121

.1 ......

NCSCUA

.. 1. ....

NCSRNME

... 1 ....

NCSPTUSE

.... 1111

NCSRSVOI

NCSPL (lSTNCSPL) (Continued)
Flag Meanings (Continued)

Hex
Disp

F log Byte

Contents

Bit
Pattern

Pattern
Name

Pattern
Meaning

alOE

NCSCRMOD

New Values for
Iterns checkpainted
not obtained
from

1. ..

NCSAIMOD

.1..

NCSPTMCD

.• 111111

NCSRSVD2

Active/Inactive
Status, T=Active
Port Act/lnoct
Status, T=Active
Reserved

Status Flag
Byte

1111111.
... 1

NCSRSVD4

OlaF

NCSPLSTA

11-122

NCSPLPQ

Reserved
Q=:Console ID
follows,
l=Program Operator
Header follows

NCSPL (ISTNCSPL) (Cantinued)
Constants in ISTNCSPL (Continued)
Lobel

Value

Constants for Modify Command ,'y\odifiers-stored in NCSPLVBf
NCSMDUM
NCSMCHA
NCSMNSY
NCSMNSN
NCSMTRY
NCSMVTRY
NCSMVTRN
NCSMTRN
NCSMTPR
NCSMTST
NCSDPF
NCSDSTRT
NCSDOHI
NCSDOH2
NCSDDF
NCSDLKS
NCSDLKC
NCSDHU
NCSDLK
NCSDGIVE
NCSDINOP
NCSDLRST
NCSEERRA
NCSECLOR
NCSEDACT
NCSERSTR
NCSVFORC
NCSVRACT

X'OOOl'
X'0004'
X'OOOS'
X'OOIO'
X'0020'
X'2020'
X'2040'
X'0040'
X'OIOO'
X'OOSO'
X'OOOO'
X'OOOI'
X'0002'
X'0004'
X'OOIO'
X'OOOS'
X'0020'
X'0040'
X'OOSO'
X'OIOO'
X'0200'
X'0400'
X'OOOI'
X'0002'
X'0004'
X'OOOS'
X'OS02'
X'I002'

Purge Minor Return Codes

NCSAPABN
NCSCLDST
NCSDDISC
NCSSTHEX

X'05'
X'06'
X'OS'
X'09'

Dump 3705
Chang.
Netsol = Yes
Net,al = Na
Trace = Yes
Trace = No
Trace Print
Modify Test
Potential Foil
Dial Start
Offhook 1
OfFhook 2
Dial Failed
Link Start
link Completion
Hangup
Deallocate
Give
Inop
Recovery SW links after RN Fai lure
ERP Request
Vary Normal Close RequeST
ERP Deactivate Request
RSTRT Entry from DLR Proc
Forced Deact
Deact and React
Constan~s

- Stored in NCSPRMRC

Application Abend
Close Dest Occured
Dial Disconnect Occured - Conn no Longer Available
Buffer Threshold Exceeded

I/O or Restart Return Codes Constants-Stored in NCSIORC
NCSIOSUC
NCSIOERR
NCSIOPRG
NCSRSSUC
NCSRSERR
NCSVAIPl
NCSVANRA
NCSVAWMF
NCSVAIPF
NCSDS1A
NCSVAISZ
NCSIPLSC
NCSIOER
NCSNCPAC
NCSNCRPF
NCSCRIOS

X'OO'
X'04'
X'OS'
X'OO'
X'04'
X'OO'
X'lO'
X'OS'
X'OC'
X'14'
X'OS'
X'OO'
X'OC'
X'04'
X'70'
X'30'

I/O Successful
I/O Error
I/O Pu'ged
Restart Successful
Restart Error
IPl No Restart on Vary Actv
IPlSuccessful, no Restart Available on Vary Active
Warm Start Failure for Vary Activate
IPl Failed on Vary Activote
Invalid Address Specified on Display Storage Cmnd
NCP Size too large
IPlSuccessful
I/O Error on Remote IPL
Remote NCP already active
Remote Power Off
Successful 1/0

11-123

I

NCSPL (lSTNCSPL) (Cont;nued)
Constants in ISTNCSPL (Continued)

label

Value

Meaning

NCSCRION
NCSCRIOF

X'34'
X'38'

Failure on I/O

Null D.S. opened

Constants for 3600 Support

NCSES
NCSBF
NCSUF
NCSINIT
NCSTERM
NCSTPPST
NCSII
NCSIT
NCSIF
NCSDI
NCSDT
NCSDF
NCSCON
NCSDICON
NCSMSFMD
NCSSEND
NCSPURGE
NCSMSSUP
NCSCRDS
NCSCQUIS
NCSSNUSS
NCSNC
NCSLD
NCSNLD
NCSNCD
NCSNCE
NCSNFME

X'OOOI'
X'OOO2'
X'OOO4'
X'OOOI'
X'OOO2'
X'OOOI'
X'OOO2'
X'OOO4'
X'OOO8'
X'OOIO'
X'OO20'
X'OO40'
X'OO80'
X'OIOO'
X'0200'
X'0400'
X'0800'
X'2000'
X'3023'
X'F01A'
X'381F'
X'04'
X'OO'
X'OC'
X'08'
X'IO'
X'24'

End Session ~
Bind Fai lure:
Unbin~_ failure

TPPS'T Command

IPllnit Command
IPL Command

IPl Final Command
Dump Init Command
Dump Text Command
Dump Final Command

Contact Command
Discontact Command

Send FMD
Send
PAB Purge
Constants for MSG Sup
Record Dev Stats Command

Quiesce Command

Send USS Message
Not Contacted
Contacted loaded
Contacted Needs load
Not Contacted Due to Deact
Not-Contacted Due to ERP

Negative FME

Constants for IORC for Display Storage

NCSDSDEA
NCSDSFAL

X'OC'
X'04'

Prior Deoct

Foi I Other than Prior Deact

Type Codes for Configuration Restart

NCSCTRLM
NCSCNPOL
NCSCSESS
NCSCPOLL

X'OI'
X'02'
X'03'
X'04'

Change
Change
Change
Change

Dev Trans limit
Neg Poll Resp limit
Session limit
Line Serv Seek Pause

FM Data Command Codes

NCSAPU
NCSCDPU
NCSCALU
NCSCDLU
NCSCSDT

X'D001'
X'D002'
X'D003'
X'D004'
X'D005'

Act Phys
Deact Phys
Act Lag
Deact log

SDT

11-124

NCSPL (ISTNCSPL) (Continu",,)
Constants in ISTNCSPl (Continued)

Label

Value

Meaning

NCSCFME
NCSCEXCP
NCSCCON
NCSCDCON
NCSCIPLI
NCSCIPLT
NCSCIPLF
NCSCDUMI
NCSCDUMP
NCSCDUMF
NCSCACTL
NCSCDACL
NCSCSSV
NCSCNSP
NCSCSTD
NCSCSEP
NCSCSNC
NCSCLSD
NCSCDS
NCSCPWO
NCSSNFMD
NCSCDIAL
NCSCADIL
NCSCEANS
NCSCAANS
NCSCANA
NCSCFNA
NCSCACON
NCSCSCV
NCSCNCPPG

X'2006'
X'2007'

Send Pas Resp
Send Neg Resp

X'3008'

Contact

X'JOO9'
X'300A'
X'300B'
X'300C'
X'300D'
X'300E'
X'300F'
X'30lO'
X'3011'
X'3012'
X'3013'
X'3019'
X'9014'
X'90IS'
X'3016'
X'301?'
X'3018'
X'30IC'
X'30IA'
X'30IB'
X'30ID'
X'30IE'
X'30IF'
X'3020'
X'3021'
X'3022'
X'FFFF'

Discontoct

lPllnit
IPL
IPl Final
Dump Init
Dump
Dump Final
Act link
Deact link
Set State Vector
NS Prac Error
Set Time & Date
Switch to EP

Switch to NCP
Line Sched Porm
Display Storage
Remote Power Off

Send FMD
Dial
Abandon Dial
Enable Ans Mode
Abandon Ans tv\ode
Assign Net Address
Free Net Address
Abandon Connection
Set Control Vector
Purge

New Values for NCSPlCMD

NCSCLCND
NCSCUCND
NCSCRSRT
NCSDUCMD
NCSCERPP
NCSDOUT
NCSDCNT
NCSDABDN
NCSDENAS

X'0041'
X'0042'
X'OO43'
X'OO44 ,
X'OO4S'
X'0046'
X'0047'
X '0048 ,
X'OO49'

Load Conditionally
Load Unconditionally

Restart 370X or Clus
Dump 370X
Perform ERP Dump and Reload of 370X
Dial Out
Dial Contoct

Dial Abandon
Dial Enable Answer

Values for NCSCMDB

NCSBFME
NCSBEXC

X'06'
X'07'

Send POS Resp Command
Send Neg Resp Command

Constants for Diol Reoson Codes- stored in NCSDlRSN

NCSDIRRD
NCSDLRQT

X'OI'
X'02'

Redial
Quit

11-12S

I

NCSPL (ISTNCSPL) (ConHnued)
Constants in ISTNCSPl (Continued)

label

Value

New Values for NCSIORC

NeSLDAOK
NCSLDAeT
NCSlDeAN
NCSLDIOP
NCSlDNOG
NCSDUeOM
NCSHAlTD
NCSUNREe
NCSNOSTG
NeSDOS
NeSDOF
NCSDOP
NeSDCS
NCSDeF
NCSDAS
NCSDENSO
NCSDOFHR
NCSDENSF

X'CO'
X'04'
X'04'
X'OS'

Command Processed Success

x'oe'

Command Failed
Dump Complete
CMD Rejected, Halt in Prog
Command Unrecognized
CMD Reiected, Insuff Storage

X'14'
X'IS'
X'le'
X'20'
X'OO'
X'04'
X'OS'
X'CO'
X'OC'
X'CO'
X'CO'
X'04'
X'OS'

NCP Active-Load not Perf
Reload Declined by Oper

I/o Purged

Dial-Out Successful
Dial-Out Unsuccessful
Dial-Out Pending
Diol-Contact loaded
Dial-Contact Failed
Dial-Abandon Conn Complete
Enable Answer Successful

Offhook Required
Enable Answer Fai I

New values for NCSPRMRC

NCSFIRM
NCSEWRN

X'IO'
X'l1 '

Restart Successful Opendst Req
Con lost I Recov in Prog

Constants for Trace

NCSACTlT
NCSDAClT
NCSCAClT
NCSCDClT

X'OS20'
X'0840'
X'30ID'
X'30IE'

Activate Line Trace

Deactivate line Trace

ssep Act Line Trace
ssep Deact line Trace

Display Command Modifier Constants

NCSDPATH

X'OOOI'

Paths

11-126

NCSPL (NCSAPP)

Dec

-

NCSAPSA
Save area

72

48

76

4C

NCSAPECB
ECB

NCSAPTXT
Dump data
B4

54

NCSAPEND
High storage address

88

58

11-127

-r

NCSPL (NCSUSSRU)
Dec

Hex

0

0

I

2

I

I

3

NCSRULEN

0

Length of RU

NCSRUITS
Start of RU (Variable Length)

Alphabetical List of Fields in NCSUSSRU

Field

Dec

Hex

Field

Dec

NCSRUITS

0002

0002

NCSRULEN

0000 0000

Hex

Constants in ISTNCSPL
Lobel

Value

Command Values for C/R Field NCSCRCMD

NCSCRWR
NCSCROPN
NCSCRCLS
NCSCRDEL
NCSCROPQ
NCSDClD
NCSCRIO
NCSCRVIO

4
I

X'0800'
X'OCOO'

Write to C/R Doto Set
Open C/R Doto Set
Close C/R Doto Set
Delete C/R Doto Set Record
Operator OJery
Console 10 Indicator

Indicates requests for VSAM I/O for C/R
VSAM I/o Operation

General Constants

NCSWASZ
NCSRTGOH

2032
X'IOOO'

NCSPL Work Area size
VBF Value for Internal Command-RTGOH Recvd.

Constants for VERB Codes - Stored in NCSPLVCD

NCSPLVCO
NCSPLVCI
NCSPLVC2
NCSPLVC3
NCSPLVC4
NCSPLVC5
NCSPLVC6
NCSPLVC7
NCSPLVC8

X'OO'
X'OI'
X'02'
X'03'
X'04'
X'05'
X'06'
X'07'
X'08'

Error

Vary

Mod;fy
ERP
Display
Status to SM
Internal CMD

In it/Term Tusm
Dial

Constants for Vary Command Modifiers

NCSVACT
NCSVDEA
NCSVLON
NCSWPP
NCSVIMM
NCSVINT
NCSVALO
NCSVDEI
NCSVDII
NCSCNOTF
NCSVANON
NCSVANOF
NCSVPUSE
NCSVPNUS
NCSVINOP

X'OOOI'
X'OO02'
X'0004'
X'OO80'
X'OOIO'
X'OO20'
X'0005'
X'0012'
X'0032'
X'FFF8'
X'0008'
X'0040'
X'OIOO'
X'0200'
X'0400'

Activate
Deactivate
Logon

Vary Normal Cleanup Reqst
Immediate

Internal Only
Activate with logon

Deactivate Immediate
Deactivate Immediate Internal Only
Notify Request
Answer =On
Answer =Off

Path = Usable
Path = Not Usable
Inoperative

11-128

PAB (ISTPAB)
Dec

He.

0

0

I

1

0

2

I

PABWQCHN
CDS SWAP Field for NEQ&CHN

8

PABDVTA
DVT Address

PABOFFST

8

Offset from
Contro I Block

12

PABRPHFG
Sched Flogs ond RPH

C

O.g PABWQCHN

0

I

o

PABWEQA
Work Element Queue Address

O.gPABWEaA

0

0

O.g PABWEQA+l
PABWEQP
WKEL PTR

1

I
/
O.g PABWQCHN+4

4 41

PABCHAIN
APS Chain

O.g PABCHAIN

4 4
O.g PABCHAIN+l
PABCHNGP
PSS Chain PTR

11-129

3

I

PAB (ISTPAB) (ConHnued)
Dec

Hexl

12

C

13

D

O,g PABRPHFG+I
PABRPHA

RPH Address
Alphabetical list of Fields in ISTPAB
Dec

Field
PABCHAIN
PABCHNGP
PABDVTA
PABFLAGS

0004
0005
0009
0012

Hex

Field

Dec

Hex

0004
0005
0009
OOOC

PABOFfST
PABRPHA
PABRPHFG
PABWEQA

OOOB
0013
0012
0000

OOOB
OooD
OOOC
0000

Field

Dec

Hex

PABWEQP
PABWQCHN

0001
0000

0001
0000

Flag Meanings
Bit

Pattern

Pattern

Disp

F log Byte

Contents

Pattern

Name

Meaning

oeoc

PABFLAGS

Scheduling Flags

I. ......

PABAPYP

.1. .....
.. 1. ..•.

PABPRIOR
PABNORPR

Application is a
User !:)cit
Immediate Priority

••• 1 ••••

PABDYNAM
PABSSN
PABERLCK
PABERRLK
PABERLOK
PABINHBT

Hex

.... I. ..
..... 1..
..... 1..
..... 1..
.••.•. 1.

Normal PriorityRescheduoloble
Dynamic
System Services
PAS Error lock Flag
Error Lock
Error Lock

l=lnhibit
Traffic, O=No

0000
0004

••••••• 1

PABNODQ

First Byte of

I. ......

PABWEQA

.111 1111

PABWEQG
PABRSVOI

First Byte of

I. ......
.1. ••..•

PABCHNG
PABRESCH

.. I. ....

PABCDP

••• 1 ••••

PABUNCON

.... I. ..

PABRESET

••••• 1••
••••• 1••
•••••• 11

PABRUNNG
PABQUED
PABRSV02

PABCHAIN

Do not DEQ Work
Element

Gating Bit
Reserved

Gating Bit

Reschedule PAB ot
TPEXIT
Close DST!Change
in Progress

11-130

Unconditionally
Reschedule PAB at
TPEXIT
Reset Issued on th is
PAB
PAB running

PAS is qued on APT
Reserved

PAB (ISTPAB) (Continued)
Constants in ISTPAB

)

Label

Value

Meaning

PABWEQGO
PABWEQGl
PABCHNGO
PABCHNGI
PABRESCO
PABRESCI
PABCDPO
PABCDPI
PABERLKO
PABERLKI
PABUNCOO
PABUNCOI
PABPRIRO
PABPRIRI
PABRSTO
PABRSTl

X'7FFFFFFF'
X'80000000'
X'7FFFFFFF'
X'80000000'
X'BFFFFFFF'
X'40000000'
X'DFFFFFFF'
X'20000000'
X'FBFFFFFF'
X'04000000'
X'EFFFFFFF'
X'I0000000'
X' BFFFFFFF'
X'40000000'
X'F7FFFFFF'
X'08000000'

Tum
Tum
Tum
Tum
Tu",
Turn
Turn
Tum
Tum
Tum
Tum
Turn
Tum
Turn
Turn
Turn

PABWEQG Off
PABWEQG On
PABCHNG Off
PABCHNG On
PABRESCH Off
PABRESCH On
PABCDP Off
PABCDP On
PABERRLK On
PABERRLK Off
PABUNCON Off
PABUNCON On
PAS Prior Off
PAS Prior On
PABRESET Off
PABRESET On

)

)

11-131

I

PIB (ISTPIB)
Dec

PIBFLG
Flag byte

PIBCNCL
Cancel code

SYSLOG indentifier

PIBSAVE
Addl"O$S of SAVE area

PIBNOC

PIBORP

Number of
core blocks
C

3

PIBLOGID

PIBDATFL
Flags forVM
support

12

I

2

I

0

Hex

Origin of partition

PIBASS
Assign flags

PIBLUlID
User lub index

PIBLUBNO

,I

Nbr of user lubs

PIBFLG2
MOre flogs

ORG PIBORP
PIBUSAVE
For .Attn rtn, PTR to user save area

Alphabetical list of Fields in ISTPIS
Field

Dec

He.

Field

Dec

He.

Field

Dec

He.

PIBASS
PIBCNCL
PIBDATFL
PIIlFLG

0012
0001
0004
0000

OOOC
0001
0004
0000

PIIlFLG2
PIBLOGID
PI8LUBID
PIBLUBNO

0015
0002
0013
0014

OOOF
0002
OOOD
OOOE

PIBNOC
PIBORP
PIBSAVE
PI BUSAVE

0008
0009
0005
0009

0008
0009
0005
0009

Flog Meon ings

Bit

Pattern

Pattern

Pattern

Name

Meaning

He.
Disp

Flag Byte

0000

PI IlF LG

Flag Byte

1111111.
••••••• 1

0004

PI BDATFL

Flogs forVM

1•••••••

Contents

@NM00005
PIBIOCMP
PIBTRAM

PIBFLG2

I/O Completion
Partition in virtual

modo

Support

OOOF

Not used

.111 1111

@lNM00006

I. ......

PI BFLG20
PIBFLG21
PIIlFLG22
PIIlFLG23
PIBFEOJ
PIBTASK
PIIlFLG26
PIBFLG27

More Flags

.1. •....
•. 1. ••..
••• 1 ••••

.•.• 1. .•
••..• 1..
•••••• 1.
••••••• 1

Reserved

Reserved
Reserved
Reserved
Reserved

Fetch EOJ

Cancel Task
Reserved
Reserved

Constonts in 15TPl8

label

Value

~

DOSj\lS VTAM Cancel Code Values

PIBVFORC

X'40'

VTAM sympathetic forced cancel

PIEVSNOC

X141'

Cancel due to VTAMshould.not-oceur condition

APEOOOOO

X'COOO'

Cancel code TPEXIT with lock attempted

VTAM cancel"",hould not-accur function codes
1 denotes SNO in inbound code

o

denotes SNO in outbound code

PIE dono'.. DOS;VS TPIOS module

The hex yalue of the code is structured
11-132

PIB (ISTPIB) (continued)
(continued)

Constants

~

Value

tv\eaning

'Nhere B1T-0 represents 0

)

=inbound,

1 = outbound

BIT - 1 represents 0 "" TPIOS, 1 = non- TPIOS

BITS 2 - 3

00 = DOS,/VS
01 =VS/l
10 =VS/2
11 = Common

BITS 4 - 15 =fun.c:tion code value
PIE 11242

X'04DA'

RiN code·GT 0 from rest

ISTPICBA
None

)

ISTPICCA
PIEI20IO
X'07DA'
PIEI2015
X'07DF'
PIEI2020
X'07E4'
PIE 12025
X'07E9'
PIEI2030
X'07EE'
PIEI2035
X'07F3'
PIEI2040
X'07F8'
PIEI2045
X'07FD'
PIEI20SO
X'OB02'
PIE 12060
X'OBOC'
PIEI2070
X'OB16'
PIEI20BO
X'OB20'
PIEI2090
X'082A'

RC>O CIDCTL find
RC~O CIDCTL Hnish
RC~O CIDCTLfind
RC>O CIDCTLflnish
RC> 0 Relstere

RC>O CIDCTL finish
RC>O rolstore

RC>O CIDCTL finish
RC>O CIDCTL find
RC>O relstore

RC>O CIDCTlfind
Work element invalid
RC>8 reqstore

ISTPICCE
None

ISTPICa:
PIEI0230
X'OOE6'
X'OCfO'
PIEI0240
X'()(FA'
PIEI02SO
PIEI0260
X'Ol04'
PIEI0270
X'010E'

ROO TPLOCK
CIDCTl find error
CIDCTl finish error
REOsTORE failure
REISTORE failure

ISTPICCI
X'ODB6'
PIEI3510

LRA

ISTPICCO
PIEOOO20
X'B014'
PIEOOO30
X'BOIE'
PIEOOO4O
X'B020'
X'8032,
PIEOOO50

error

ROB reqstore
ROS reqstore

RC>B reqstore

ROB reqstore

11-133

I

PIB (lSTPIB) (conHnued)
Constants (continued)

label

Value

ISTPICCO (conHnued)
PIE00055
PIE00060
PIE00065

X'8037'
X'B03C'
X'8041'

ROB reqstore

PIEOD070
PIEODOBO
PIE00090
PIEOOlOO

X'B046'
X'B050'
X'B05A'
X'B064'

RC>B re«Store
CIDCn find error
CIDCn finish error
REQSTORE foilure

ISTPICCS
PIEOOl2O
X'B07B'
PIEOOI30
X'BOB2'
PIEOOl40
X'BOBC'
PIEOOI50
X'B096'

RC>B

reqstore

RC>8 reqstore

RC:>8 reqstore
RC> 8 reqstore
RC>8 reqstore
RC>8 reqstore

ISTPICCT
None

ISTPICCU
PIE 10420
X'0IA4'
PIE 10430
X'OIAE'
ISTPICDD
PIEI1910
X'0776'
PIE 11920
X'07BO ,
PIE 11930
X'078A'
ISTPICDR
PIEI0510
X'OIFE'
PIEI0520
X'0208'
PIEI0530
X'0212'
PIEI0540
X'021O'
PIEI0550
X'0226'
ISTPICEI
PIE 10610
X'0262'
PIE 10620
X'026C'
PIEI0630
X'0276'
PIEI0640
X'0280'
ISTPICES
PIEI3450
X'OD7A'
PIEI3460
X'OD84'
PIE 13470
X'OD8E'
ISTPICFI
PIE 10720
X'02DO'
PIEI0730
X'02DA'
PIE 10740
X'02E4'
PIE 10750
X'02EE'
PIEI0760
X'02F8'
PIE 10770
X'0302'
PIE 10780
X'030C'

RC >8 reqstore
CSOL FMCB not

found

RC >8 req:store

RC>O CIDCTl find
RC>O CIDCTl fi"ish
RC >8 reqstore
RC>O CIDCTLfind
RC:> 0 re Istore
RC >0 relstore

RC>O ClDCTl find
RC>8 reqstore
RC>8 getstor
RC>O relstore
RC>O relstore

Invalid input NCB

RC>8

reqstore

RC >0 relstore

RC>O CIDCTl find
RC>O CIDCTLfind
RC>O relstore

RC>O CIDCTl finish
RC>O CIDCTl finish
RC>O CIDCTl finish
RC>O relstore

11-134

PIB (lSTPIB) (continued)

Constants

label
)

i

(continued)

Value

ISTPICGI
PIEOO210
X'SOD21
X'SODe'
PIEOO220
PIEOO230
X'SOE6'
PIEOO240
X'SOFO'
PIEOO25IJ
X'SOFA'
X'SI02'
PIEOO260
ISTPICGP
PIEIOBIO
X'032A'
X'032F'
PIEIOBI5
PIEIOB20
X'0334'
X'0339'
PIEIOB25
X'033E'
PIEIOB30
X'0343'
PIEIOB35
PIEIOB37
X'0345'
PIEIOB3B
X'0346'
PIEIOB40
X'034B'
PIEIOB45
X'034D'
PIEIOB5IJ
X'0325'
PIEIOB55
X'0357'
PIEIOB60
X'035C'
PIEIOB65
X'0361'
PIEIOB70
X'0366'
PIEIOB75
X'036B'
X '0370 ,
PIEIOBBO
PIEIOBB5
X'0375'
PIEIOB90
X'037A'
X '03B4 ,
PIElOB95

Meaning

RC>O TPDVTS
RC>O TPDVTS
RC>O relstore
Re> 8 reqstore

RC>O C1DCTL finish
RC>O CIDCTLfini,h

RC>8 from reqstore

RC>O CIOCTl finish
RC>O TPDVTS
RC> 0 CIOCTl finish
Dsconnect cmmd. in error
RC>O elDen finish
RC>O CIDCTL find

RC>O CIDCTl finish
RC >8 from reqstore
RC>O CIDCTL finish
RC>O CIDCTL find
RC>O CIOCTL finish

RC>O
RC>O
RC>O
RC>O
RC>O

CIDCTL find
CIDCTl finish
CIDCTL find
CIDCTL finish
CIDCTLfind

RC>O CIDCTl finish
RC >0 CIDCTLfind

RC>O

from re Istore

ISTPICGR
X'03A2'
PIEI0930
PIEI0960
X'03CO'

RC>O TPDVTS
RC>O relstore

ISTPICIN
PIEOO330
X'BI4A'
PIE06340
X'BIS4'
PIEOO35IJ
X'BI5E'
PIEOO360
X'BI6B'

RC >8 reqstore
RC>8 reqstore
Invalid LCCW
RC>B relstore

ISTPICIT
X'BIAE'
PIEOO430
PIEOO440
X'BIBB'
PIEOO45IJ
X'81C2'

RC>8 reqstore
RC>O from TPDVTS
RC>8 from reqstore

ISTPICLA
PIEl1720
X'06BB'
PIEI1730
X'06C2'
PIEI1740
X'06Ce'
PIEI175IJ
X'06D6'

RC>O

re lstore

RC>O relstore
RC>8 reqstore
Unexpected LCPB

11-135

•

PIB (lSTPIB) (continued)

(continued)

Constants

label

Value

ISTPIClC
PlEOI220
X'S4C4'
PIEOI230
X'84CE'
ISTPIClT
PIEOO61O
X'S262'
PIEOO6lO
X'S26C'

loop in test channel program
RC>8 reqstore

RC>8 reqstare

RC>O TPDVTS

ISTPICMA
None

ISTPICNR
PIEI1I20
X'0460'
PIEI1125
X'0465'
PIEII130
X'046A'
PIEI1135
X'046F'
P1E11140
X'0474'
PIEI11SO
X'047E'
PIEI1160
X'04SS'
P1EI1170
X'0492,
PIEI1I80
X'049C'
PIEOO332
X'SI4C'
PIEOO334
X'SI4E'
ISTPICQP
PIE112lO
X'04C4'
PIEI1230
X'04CE'
PIEI1240
X'04DB'
PIEI12SO
X'04E2'
PIEI1260
X'04EA'
PIEI1270
X'04F4'
PIEI12S0
X'04FE'
PIEI1290
X'OSOS'
PIEI1295
X'OSOD'

RC>8 from reqstore

RC >0 CIDCTLfind
RC = 0o, 12 CIDCTl find
RC>O CIDCTl Hnish
RC >0
RC >0
RC> 8
RC>O
RC>O

from
from
from
from
from

relstore
relstore
reqstore
relstore
CIDCTl finish

RC>O CIDCTl Hnd
RC>O CIDCTl finish
RC>8
RC>O
RC>O
RC>O
RC>O
RC>O
RC>O
RC>O
RC>O

from
from
from
from
from
from
from
from
from

reqstore
relstore
relstore
relstore
relstore
CIDCTl for
CIDCTl for
CIDCTl for
CIDCTl for

ISTP1CRI
None

ISTPICRP
PIEI1320
X'052S'

RC>8 reqstore

ISTPICSC
P1EOO510
X'SIFE'
PIEOO520
X'SlOS'
PIEOO530
X'S212'
PIEOO540
X'S21C'
P1EOO5SO
X'S226'
PIEOO560
X'B230'
PIEOO570
X'S23A'
PIEOO580
X'S244'
PIEOO590
X'S24E'

RC >8
RC >8
RC>8
RC>O
RC >8
RC>O
RC>O
RC>O
RC >8

from
from
from
from
from
from
from
from
from

reqstore
relstore
reqstore
relstore
reqstere
relstere
relstore
relstore
reqstere

11-136

obtaining a
releasing a
releasing a
releasing a

lock
lock
lock
lock

PIS (ISTPIS) (continued)
(continued)

Constants

Value

Lobel

ISTPICSO
PIE01310
X'851E'
X'8528'
PIE01320
X'8532'
PIEOI330

RC>8

from reqstore

RC>O CIDCTL Hnd
RC>O CIDCTL Hnish

ISTPICSS
PIEOO71O
X'82C6'
X'82DO'
PIEOO720
X'82DA'
PIEOO730
X'82E4'
PIEOO740
PIEOO750
X'82EE'
X'B2FB'
PIEOO760

RC>8
RC>B
RC>O
RC>O

ISTPICST
PIEI3610
X'OEIA'
X'OE33'
PIEI3635

Unidentifiable completion status

ISTPICSU
X'OSS2'
PIEIl410
X'OSSC'
PIEI1420
X'0596'
PIEIl430
X'OSAO ,
PIEIIMO
X'OSAA'
PIEI1450
X'05B4'
PIEIl460
X'05BE'
PIEI1470
X'05CB'
PIEIl480

)

Meaning

RC>8

RC>8

from
from
from
from

reqstore
reqstore
reqstore
reqstore

from CIDCTl for obtaining a lock

from CIDCTl for releasing a lock

LRA error

RC>O from relstore
RC>O from relstore

RC>S from reqstore
RC>8 from reqstore
RC>O from TPDVTS
RC>O from CIDCTL Hnd
RC>O from (lDerL finish
RC>O from relstore

ISTPICTA
PIEIl620
X'0654'
PIEIl630
X'06SA'

RC>O relstore

ISTPICTC
PIEOlO30
X'8406'
PIEOlO40
X'B4lO'
PIE01050
X'B4IA'
PIEOlO60
X'B424'
PIEOlO70
X'B42E'

RC>O from CIDCTL Hnd
RC >8 from reqstore
RC>O from CIDCTL finish
RC>O from CIDOL finish

RC>8

reqstore

RC>8 reqstore

ISTPICTF
None

ISTPICTH
X'0712'
PIEIl810
PIEIlB20
X'07IC'
X'0726'
PIEIlB30
PIEIl840
X'0730'
PIEIlB50
X'073A'
PIEIlB60
X'07M'

RC>8 from reqstore
RC>O from relstore
RC>O from relstore
RC>8 from reqstore

RC>8 from reqstore
RC>O from TPDVTS

11-137

•

PIB (ISTPIB) (conHnued)

(continued)

Constants

label

Value

ISTPIOTO
PIE00820
X'8334'
PIE 00830
X '833E'

RC>8 reqstore
RC >0 relstore

ISTPICTR
PIE00930
X'83A2'
PIE00940
X'83AC'
PIE00950
X'83B6'

Invalid LeCW
RC>8 reqstore
RC>O relstore

ISTPICXP
PIEI3660
X'OE4C'
PIEI3670
X'OE56'

lRA error
Invalid CB input

UABERVI
None
UABERV2
X'OEBO'
PIEI3760

Valid CB not found

$$ABERV3
PIEI3810
X'OEE2'
PIE 13820
X'OEEC'

LRA error
CCB not found in ICNCB

$$ABERV4
PIEI3880
X'OF28'
PIEI3860
X'OFI4'
PIE 13870
X'OFIE'
$$ABERV5
X'OF46'
PIEI3910
PIE I 3920
X'OF50'
$$ABERV6
PIEI3960
X'OF78'

Failing CON not found

CCB not found in LONCB.
CC and 0 APPR LRA
LRA error
CCB not found in f(NCB
LRA error

$$RASTI4
None
$$RASTl5
None

SMS
None

11-138

PIB (ISTPIB) (conHnued)

Constants

(continued)

Label

Value

PIEIOl92
PIEI0534
PIEI0625
PIEI0627
PIE00202
PIEOO204
PIEI0904
PIEIIOIO
PIEII144
PIEI1l45
PIEII146
PIEI1l47
PIEOO555
PIE00557
PIEI3615
PIEI3620
PIEI3625
PIEI3630

X'OOCO'
X'0216'
X'0271'
X'0273'
X'BOCA'
X'BOCe
X'03BB'
X'03f2'
X'047B'
X'0479'
X'047A'
X'047B'

X'822B'
X'B22D'
X'OEIF'
X'OE24'
X'OE29'
X'OE2E'

RC>O TPDVTS
RCO>O TPDVTS

RC>O CIDOl finish
RC-= 0112 CIDCTL Hnd

RC>O TPDVTS within linkx
RC>O TPDVTS

RC>O TPDVTS within linkz
ISTPICMA-relstore failed for MTA association FSB
RC>O from CIDOL find
RC>O from ClDCTL finish
RC>O from CIDCTL find
RC>O from CIDCTL finish
RC >0 from ClDCTL find
RC >0 from CIDCTL finish
CCW at head of buffer not read/write/WRBP
NOP preceded by write, not write BP
Insufficient read CONS or data-chained read
Unchained write CCW

ISTPICXO
PIE00224
X'BOEO'

RC>O CIDCn Hnd

ISTPIEIR
PIE04000
X'SFAO'

TPDVTS faiture

ISTPLlEPB
PIE04005
X'SFA5'
PIE04006
X'SfA6'
PEI04007
X'SfA7'

Reqstore RC>8
CIDCTL find error
CIDCTl finish error

TPDVTS failure
ISTPIEIS
PIE040l5
X'SfAf'

Reqstore RC>8

ISTPIESA
PIEI4017
X'OfB I'

Reqstore return CDE>8

ISTPIEIF
ISTPIETT
PIE04020
X'BfB4'
PIE04025
X'BfB9'

CIDCTL f;nd RC-= 0

CIDCTLrelese DAF look RC·::::O

ISTPIECP
PIEI4020
X'OfBO'
PIEI4025
X'DfBS'

ClDCTL fjnd error
CIDCTL finish error

ISTPIELO
PIE04030
X'SfBE'

Reqstore RC>8

11-139

PIB (lSTPIB) (continued)

Constants

Lobel

~continued)

Value

ISTPIELf
PIE 14035
X'OFC3'

Reqstore RC>8

ISTPIELS
PIE04040
X'8FC8'

Reqstore>8

ISTPIERO
PIE04045
X'8FCD'

Reqstore>8

ISTPIERF
PIEI4050
X'8FD2'

Reqstore>8

ISTPIESI
PIE04055
X'8FD7'

Reqstore>8

ISTPIESG
PIE04060
X'8FDC'
PIE04061
X'BFDD'

Reqstore RC >8
Reqstore RC>O

11-140

RDT (ISTRDT)

Dec

72

-;-

RDTPRE
Entry prefix

48

RDTPLEN
Priority and length field

76

RDTFORW

4C

Foreword pointer

80

RDTBACK

50

Backward pointer

84
88

RDTCTSNT

RDTFLAGS
Segment flags, unused/reused

54

58

I

RDTMAXID

RDTNODID
Node'IO for
this segment

Max node ID
for network

Count of SNT entries for segment

RDTLGCT

Count of 1090ns

92

5C

96

60

100

64

RDTDPAB
Address of dump/load/res tort PAS

104

68

RDTTPA8
Toltep SSCP PAB

RDTVPA8
Address of vary PAS
RDTEPAB
Address of ERP PAS

)
108

I

outstanding

RDTVYRPH

6C

@ of Vary RPH Waiting for Restart Completion
112

70

RDTSINCNT
Active Subnode

I

@lNMOOIXll

Reserved

Count
116

74

RDTCRSDS
C/R Data Set Identifier Blank implies not specified

124

7C

.

c/R Data Set

RDTCRSPW
Password Blank implies not specified

11-141

RDTFLAGB
Flag byte

RDT (lSTRDT) (Continued)
Dec

Hex

132

84

72

48

73

49

I

I

I

RDTVSRPL
C/R Pointer to VSAM RPL

ORG RDTPLEN+l
RDTLEN
Length of ROT

RRNVYRPH

108

Q of Vary RPH waiting for Restart completion

112

70

Alphabetical list of Fields in ISTRDT
Field

@NM00006
RDTBACK
RDTCRSDS
RDTCRSPw
RDTCTSNT
RDTDPAB
RDTEPAB
RDlFLAGB

Dec

Hex

Field

Dec

Hex

Field

0113
0080
0116
0124
0086
0100
0096
0091

0071
0050
0074
007C
0056
0064
0060
005B

RDlFLAGS
RDlFORW
RDTLEN
RDTLGCT
RDTMAX1D
RDTNOD1D
RDTPLEN
RDTPRE

0084
0076
0073
0090
0088
0089
0072
0000

0054
004C
0049
OOSA
0058
0059
0048
0000

RDTPR10R
RDTSTCNT
RDTTPAB
RDTVPAB
RDTVSRPL
RDTVYRPH
RRNSTCNT
RRNVYRPH

Dec

Hex

0072
0112
0104
0092
0132
·0108
0112
0108

0048
0070
0068
005C
0084
006C
0070
006C

F lag Mean ings

Hex

Bit

Pattern

Disp

Flog Byte Contents

Pattern

Name

0048

RDTPRIOR Determines Segment
Type

111. ••••

@lNMOO005
RDTPRIAP
RDTPR1LC
RDTPRIRN
RDTPRISW
RDTPRILS

••• 1 ••••
•••• 1. ••
••••• 1..
•••••• 1.

••••••• 1
0058

RDlFLAGB Flag Byte

1. ••••••
.1. •••••
•• 1. ••••

••• 1 ••••

RDTOUERP
RDTPRGDN
RDTCTPGD
RDTCTCFL

•••• 1. ••
••••• 111

RDT8HSET
RDTRSVOI

11-142

Pattern
Meaning

Not Used
Application Segment
Local Segment

RN Segment
Switched Segment
Local Subarea Segment

I = Repeat ERP

1 = Purge Iss ued
1 = Contact Purged
Higher FailureContact Flushed
BHSET Required
Reserved

)

RH (lSTRH)
Dec

Hex

II

F legs and masks

Disp.

~

Contains

Mask

Value

Means

0(0)

RH1

Firs! RH byte

RHOS
RHTYPE
RHSCI
RHDIRI
RHFORMAT

X'SO'
X'40'
X'20'
X'lO'
X'OS'

o - request

RHSENSE

X'04'

RHCHAIN

X'03'

I
1 - response
0- dota, 1 - control
0- FM, 1 - system control
a - with, 1 - against
o - unformatted,
1 - formatted
o - not included,

1 - included

)
1(1)

RH2

Second RH byte

RHFME

X'SO'

RHPE

X'40'
X'20'

Chaining control
1 - last,
2 - first, 3 - only
FME requested,

o - middle,

a-

S - FME
RHRRN

Q - PE requested, S - PE
0- RRN requested,

S - RRN
X'IO'
X'OS'
X'OS'
X'04'

S - busy

RHSUSY
RHRSVD1
RHNIOP
RHRSVD2

2(2)

RH3

RHPACE
RHSS
RHFS
RHCDIR

Third RH byte

RHRCD1R
RHRSVD3

RHLOG
RHRSVD4
RHRSVDS

11-143

a-

RHEXCEPT
RHRETRY

exception responses
only,S -error

a - retry

Q - reserved

X'04'

S - inoperative

X'02'
X'Ol'
X'SO'

Q - reserved,S - reserve
pacing
Begin sequence

X'40'

End sequence

X'20'
X'IO'
X'OS'
X'04'
X'02'

Reserved

X'Dl'

Reserved

a-

Change direction
Request change direction

Log
Reserved

RH (ISTRH) (continued)
Constants in ISTRH

Label

Value

i\l\eaning

RI-FIRST
RHMIDLE
RHIAST
RHONLY
RHRfSP
RHREQ

B'IO'
8'00'
8'01'

First in chain
Middle of chain
Last in chain
On Iy one in chain

B'll'
X'938000'
X'030000'

RH response mask
RH request mask

11-144

RPH (lSTRPH)
Dec

Hex

o

o

4

4

1

0

I

i

I

RPHCNTL
Control Information

)
RPHRPHA
Address of next RPL Header

RPHTSKID
Task Identification or Address of APS Table

12

RPHDVTA

C

Address of Current DVT

16

10

20

14

24

18

RPHRESMA
TPWAIT -Post Information
RPHPABOf
Offset of PAB
in Control BLK

RPHMAJCB
Address of M.ajor Contro 1Block

RPHWEA
Address of Work Element

28

lC

RPHSRPRM
Service Routine Porm. Field

)

32

20

RPHCRR
Address of Component Recovery Area

36

24

40

28

RPHPABWD
PAB Word Address

RPHWORK
16 Word Work Area

104

6B

RPHNEXPO
Address Next RPH to be Posted

11-145

3

I

RPH (ISTRPH) (ConHnued)
Dec

Hex

0

RPH (ISTRPH) (ConHnued)
Dec

Hex

I

0'9 RPHWORK

)

40

28

40

28

I

RPHSAVEI

42

RPHSHALf
Half Word Save Area

0'9 RPHWORK + 4
44

2C

RPHSAVE2

48

30

RPHSAVE3

52

34

RPHSAVE4

56

38

RPHSAVE5

60

3C

RPHSAVE6

64

40

RPHSAVE7

68

44

RPHSAVE8

72

48

RPHSAVE9

76

4C

RPHSAVEIO

80

50

RPHSAVEII

84

54

RPHSAVEI2

88

58

RPHSAVEI3

92

5C

RPHSAVEI4

11-147

RPH (ISTRPH) (Continued)
Dec

Hex

I

0

I

I

96

60

RPHSAVEI5

100

64

RPHSAVEI6

I

2

3

Alehabetical list of Fields in ISTRPH
Field
@lNMOOO02
RPHCNTL
RPHCRR
RPHCSPA
RPHDVTA
RPHFLAGS
RPHFLGB
RPHLNGTH
RPHMAJCB
RPHNEXPO
RPHPAIlfG
RPHPA80F
RPHPABOA
RPHPA8QP
RPHPABWD
RPHRESMA

Dec

Hex

Field

Dec

Hex

Field

Dec

Hex

0008
0000
0032
0024
0012
0002
0003
0001
0021
0104
0036
0020
0037
0037
0036
0016

0008
0000
0020
0018
OOOC
0002
0003
0001
0015
0068
0024
0014
0025
0025
0024
0010

RPHRESUM
RPHRPHA
RPHRPHAP
RPHSAVEI
RPHSAVE2
RPHSAVE3
RPHSAVE4
RPHSAVE5
RPHSAVE6
RPHSAVE7
RPHSAVE8
RPHSAVE9
RPHSAV10
RPHSAVII
RPHSAVI2
RPHSAV13

0017
0004
0005
0040
0044
0048
0052
0056
0060
0064
0068
0072
0076
0080
0084
0088

0011

RPHSAV14
RPHSAV15
RPHSAV16
RPHSBITS
RPHSBYTE
RPHSHAlf
RPHSRFRM
RPHSRP12
RPHSRP34
RPHTIK
RPHTSKID
RPHTYPE
RPHWEA
RPHWORK
RPHWPFLG

0092
0096
0100
0041
0040
0042
0028
0028
0030
0011
0008
0000
0024
0040
0016

OOSC
0060
0064
0029
0028
002A
ODIC
OOlC
ODIE
OOOB
0008
0000
0018
0028
0010

0004
0005
0028
002C
0030
0034
0038
003C
0040
0044
0048
004C
0050
0054
0058

Flag Meanings

Hex
Disp

Bit

Pattern

Pottern

Flog Byte

Contents

Pattern

Name

Meaning

0002

RPHFLAGS

System Dependent

1. ..••.. RPHOGIND

Open Gate Indicator

Flags

.1.. .... RPHSPGIN

Special Gate Open
Indicator
APS is a User Exit

• . 1. •••. RPHAPTYP
••• 1 •••• RPHSMQ
••.• 1. .. RPHSMTYP

· . .. . 1.. RPHSMCLR
...... 1. RPHMLTCP
••••••• 1 RPHFSTLC

Indicator if RPH is
to be Queued
Request Type is Buffer

or Double-Word
Indicator if Buffer
to be Cleared
U,ed by Local 3270
Support when building
Multiple Chan Program
Used by Local 3270
Support to Indicate

First LCCW
• •••••• 1 RPHFNFLG

LCCW Set Function

Flo..
0003

RPHFLGB

Second Flag Byte

11-148

1. •••... RPHLOCK

Locking Option

.1 •••••• RPHBSSP

System Services
Progress

RPH (ISTRPH) (ConHnued)
Flag Meanings (Continued)
Bit
Pattern

Hex
Disp

Flag Byte

Contents

Pattern
Name

.. 1. .... RPHBA.PS
... 1 1111 RPHNRSAV

Pattern

Meaning

Activate

0004
0010

RPHRPHA

1. ...... RPHGATE
.111 111I@NMoool

Reserved

Wait-Post Flogs

1111 .••. RPHRSKEY

Storage Protect Key

.... 1... RPHWT
..... 1.. RPHPT
•••••• 11@lNMOOOO3

Wait Bit
Post Bit
Reserved for Wait/Post

First Byte of

RPHWPFLG

•

STG. Obtained by AP$
Do not Save on
Gating Flag

to Resume Processing

0018

First Byte of

1. ...... RPHWEGT

0024

RPHPABFG

Flag Byte

Gate for Work
Element Proe.

RPHCSPA
1 ••. ...• RPHDEACT

RPH has been

De-activated VS/l
only

.1. ..... RPHLKFRE

Lock. held by Abended
Process hove been

F,.ed (VS/l only)
.1 ...... RPHPGCMP

Purge Complete

.. 1..... RPHRLCRA

Indicates that ISTAPC64
should free the eRA

.•• 1 .••• RPHAUTEX

••••• 111@lNMOOOO4

Exit to Authorized
User VS/2 on Iy
RPH Flogged by
Recovery to be purged
by PSS VS/2 on Iy
R",.eved

1. ...... RPHSBITl
.1. ..... RPHSBIT2
.. 1. .... RPHSBIT3
••• 1 •••• RPHSBIT4
.... 1... RPHSBIT5
..... 1.. RPHSBIT6
...... 1. RPHSBIT7
••••••• 1 RPHSBITB

lst Save Field
2nd Save Field
3rd Save Field
4th Save Field
5th Save Field
6th Save Field
7th Save Field
8th Save Field

(VS/2 only)

.... 1... RPHPURGE

0029

RPHSBITS

Save Field for
Flog Byte

Constants in ISTRPH

Label

Value

RPTYPE
RPHWTO
RPHWTl
RPHPTO
RPHPTl
RPHPABQl

X'O!'
X'F7FFFFFF'
X'OBOOOOOO'
X'FBFFFFFF'
X'04000000'

X'OOOOOO'

Type Code for RPH
Turn RPI-fflT Off
Turn RPI-fflT On
Turn RPHPT Off
Turn RPHPT On
Turn RPHPSQ Gate

11-149

RPL (lSTRPL)
Dec

Hex

o

0

4

()

@NMOOO05
RPLID

4

I

2

@NMOOOO6
RPLSubtype
Field

@NMOOOO7
Reserved

3
RPLLEN2
RPL Length

RPLPLHPT
RPLH Pointer

@NMOOa08
CID or NIB Pointer RPIARG
12

C

@NMOOOO9
Pointer to Area RPLAREA

16

10

@NMOOOIO
Record Length RPLRLEN

20

14

@NMOOOll
Area Length RPLBUFL

24

18

@NMOOO12
Pointer to ACB RPLDACB

28

32

IC

20

@NMOOOI3
Reserved

@NMOOO14
Request Code
RPLREQ

~~MOOO17
RPLOPTI

36

24

~NMOOO26
Reserved

40

28

@NMOOO.l5

@NMOOOI6

Reserved

Reserved

@NM00021

RPLEXTDS

@NMOOO!5

Reserved

Exit Definition

Reserved

@NMOOO27
Feedback RC RPLFDBK
RPLAAREA
Alternate Area Pointer

44

2C

RPLECB
ECB or Pointer too ECB/EXIT

48

30

RPLAARLN
Alternate Area Length

II-ISO

RPL (ISTRPL) ( Continued)

\

0

2

1

Dec

Hex

52

34

RPLARCLN
Alternate Record Size

56

38

RPlfDBK2
Feedback Word

60

3C

RPLUSFLD
User Field

64

40

)

3

RPLOPTC2
Additional Option Codes

68

RPLOPTC3

44

Move VT AM Options

72

76

48

4C

RPLRH3
Third RH

RPLSRTYP
Send or

RPLVTFL1
VTAM

Byte

Receive Type

Flags

RPLVTFL2
'{TAM
Flags

RPLCNTRL
PU Control Code

RPLCHN
Position in

HU Chain

,

80

50

84

54

RPLIBSQV
STSN Inbind. Seq. Nr.

RPLOBSQV
STSN Outbnd. Seq. Nr.

)

88

RPLOBSQ
STSN Outb.

RPLlBSQ
STSN Inbound

Action Code

Action Code

58

RPLSEQNO
Sequence Number

RPLOSENS
Sense Output Data

92

5C

RPLACTIV
Subtype-X'FF I
= Active,
X'OQ'

96

60

RPLRSV1

= Inact.

RPLSIGDA
Signal Data

11-151

•

RPL (ISTRPL) ( Continued)

Dec

.Hex

---L_ _ _ _

LI_ _ _ _- J L -_ _ _ _"O"""_ _ _ _

~

O,g@lNMOOOO8

8

~1

R_P~

R_P~

____ __
Af___________L____ __Af__________

r

O'g RPLEXTDS
34

22

LEXTD1

O'g @NMOOO27
37

25

39

27

O'g @NMOOO27+2

r~) NMl10030
RPLFDB3

O,g RPLECB

44

2C

47

2F

~~~'f>31
O'g RPLEC&+J

56

56

56

56

11-152

~

RPL (ISTRPL) ( Continued)

Dec

Hex

0

3

Or9 RPLDSB+I
57

39

)

0,.
57

39

58

3A

58

3A

I

RPLDSB2

Org RPlfDBK2+2

Org RPLUSNSI

64

Org RPLOPTC2+1

)

65

41

66

42

67

43

Org RPLOPTC2+2

Org RPLOPTC2+3

6B

)

Org RPLOPTC3+1

69

45

11-153

RPl (lSTRPl) ( Continued)

Dec

Hex

70

46

71

47

77

40

78

4E

79

4F

88

58

I

Org RPlOPTC3t2

Org RPLOPTC3t3

Org RPlCNTRl

Org RPlCNTRl+l

Org RPlCNTRl+2

Org
System Sense Output

88

58

89

59

90

54

Org RPLSSNSO+I

Org RPlOSENS+2
RPlUSNSO
User Sense Output

11-154

RPL (ISlRPL) IOm.;nued)
AlphabeUoal LOt of FI.ids ;n ISTRPL
\

)

Field

Dec He.

Fjeld

@N/v'OOOO5
~ NMOOOO6
N/v'OOOO7
@ N/v'OOOOB
~ N/v'OOOO9
NMOOOIO
NMOOOIl
NMOOOI2
NMOOOI3
NMOOO14
~ NMOO015
NMOOO16
@NMOOOI7
~ NMOOO21
NMOO025
@NMOOO26

0000
0001
0002
OOOB
0012
'0016
0020
0024
0028
0029
0030
0031
0032
0033
0035
·0036
0037
0037
'0038
0039
0044
0047
0040
OO4B
0092
0052

RPLCHN
0076
RPLCNTOC 0078
RPLCNTOF 0077
RPLCNlRL 0077
RPLCNTSC OD79
RPIDAF
0010
RPIDSB
0056
RPIDSBI
0056
RPIDSB2
0057
RPLECB
0044
RPLESRI
0058
0059
RPLESR2
RPLEXTDS
0034
RPLEXTol
0034
RPLFDBK2
0056
RPLlESQ
OOB5
RPLIESQV
OOB2
RPLLEN2
0003
RPLOBSQ
0084
RPLOBSQV OOBO
RPLOPTC2 0064
RPLOPTC3 0068
RPLOPTlO
0069
RPLOPTll
0070
RPLOPTl2
0071
RPLOPT5
0064

!

~NMOOO27
NMOOO2B
~ NMOOO29
N M00030
~ NM00031
NMOOO33
RPLMREA
RPLMRLN
RPLAVTIV
RPLARCLN

0000
0001
0002
OOOB
OOOC
0010
0014
OOIB
ODIC
00 I D
OOIE
OOIF
0020
0021
0023
0024
0025
0025
0026
0027
002C
002F
0028
0030

oose

0034

Dec

Hex

Field

Dec

He.

OO4C
OO4E
0040
0040
OO4F
OOOA
003B
oo3B
0039
002C
003A
003B
0022
0022
0038
0055
0052
0003
0054
0050
0040
0044
0045

RPLOPT6
RPLOPT7
RPLOPTB
RPLOPT9
RPLOSENS
RPLPLHPT
RPLRH3
RPLRSVI
RPLSAF
RPLSEQNO
RPLSIGoA
RPLSTVP
RPLSSEI
RPLSSEO
RPLSSMI
RPLSSMO
RPLSSNSI
RPLSSNSO
RPLUSFID
RPLUSNSI
RPLUSNSO
RPLVTFLi
RPLVTFL2

0065
0066
0067
0068
OOBB
0004
0072
0093
oooB
00B6
0096
0073
0056
OOBB
0057
OOB9
0056
OOBB
0060
0058
0090
0074
0075

0041
0042
0043
0044
0058
0004

I

004B
0050
oooB
0056
0060
0049
0038
0058'
0039
0059
0038
0058
003C
OOJA
OOSA
004A
OO4B

0046

0047
0040

Flag Meanings
He.
Disp

Bit

Flag Byte

002E
0020

0022

@NMOOOI7

Pattern

Pattern

Contents

Pattern

Name

Meaning

Third Byte of
RPLECB

I •••••••
.111 1111

RPLPOST
oNMOOO32

Event Complete

RPLOPTI

1111 ••••
•••• 1•••
••••• 11.
••••••• 1

@NMOOOIB

~NMOOOI9

Reserved
RPLASY

NM00020
RPLECBIN

Reserved
1 = Extemal ECB

I. ......

RPLEXSCH

Exit Scheduled

.1 ••••••
•• 1•••••
••• 1 ••••
.... I. ..
••••• 1..

RPLNEXIT
RPLEXIT
@NMOOO22
@NM00023
RPLNIB

RPLEXTDI

Reserved

Indicator

\
)

11-155

•••••• 1.

RPLBRANC

No Exit Specified
Exit
Reserved
Reserved
I = ARG Has NIB
Pointer
1 = Branch Entry

••••••• 1

@NMOOO24

to Macro
Reserved

RPl (lSTRPl) (Continued)
Flag Meanings (Continued)

0026

@lNMOO029

RPLFDB2

1. ...•.•
.1. .....
.. 1. ....
••• 1 ••••
.... 1. ..

RPLERLK
RPLRVID
RPLATND
RPLDVUNS
RPLIOERR

•.... 1..

RPLDLGFL·

.••••• 1.
.••.••. 1

RPLCUERR
RPLSTSAV
RPLUINPT
RPLTSV32
RPLREOB
RPLREOM
RPLREOT
RPLLGFRC
RPLRLG

Error lock Set
RVI Received
Attention Received
Device Unuseable
I/O Error Type
(O-Input, I-Output)
Dialog Initiation
Failed
Control Unit Failure
Sense Bytes Present

0027

@lNMOO030

RPLFDB3

I •••••.•
.1. .....
.. 1. ....
•.. 1 •..•
•.•• I •.•
..... 1..
• • •• •• I •

••••••• 1

RPLRDSOH

Unsolicit,ed Input
Reserved
End of Block
End of Message
End of Transmission
logoff Received
leading Graphics
Received
SOH Received

0038

RPLSSEI

Sys .Sns Err. Codes

I. ......

SSENSEI
SSENSEI
SSENSEI
SSENSEI
SSENSEI
Reserved

Reserved
SWITCHC
O=APP/I=System
Reserved for VTAM

••••• 111

RPLPATHI
RPLCPMI
RPLSTATI
RPLFII
RPLRRI
@lNMOOO34

004A

RPLVTFLI

VTAM Flags

1. ......
.1 ••••••

@lNM00045
RPLVTUSE

•. 11 1111

@lNMOO046

OO4B

RPLVTFL2

VTAM Flags

1111 •••.
I •••••••
.111 •••.
•••• 1111
.... 1. ..
..... 1..
..•••• 1.
••••••• 1

RPLOSTV
RPLSCHED
@lNM00047
RPLRESP
@lNM00048
RPLEX
RPLNFME
RPLRRN

.1. .....
.. 1. ....
••. 1 .•••
.... I. ..

Path
CPM
State
FI
RR
for VTAM

Post O=RESP/J ==Sched
Reserved for VTAM
Reserved for VTAM
Respond O=NEX/l=EX
Respond O=FME/I=NFM
Respond O=NRRN/
I=RRN

OO4C

RPLCHN

Position in HU Chain

1. ......
.1. .....
.. 1. ....
••• 1 ••••
•..• 1111

RPLFIRST
RPLMIDLE
RPLlAST
RPLONLY
@lNMoo049

Chain First
Chain Middle
Chain last
Chain Only
Reserved far VTAM

oo4D

RPLCNTDF

Data Flow Cntd
Codes

1. ......
.1. .....

RPLDATA
RPLCNCEL
RPLQC
RPLQEC
RPLCHASE
RPLRElQ

Control
Conlrol
Control
Control
Control
Control

.. 1. ....

••• 1 •••.
.... 1. ..
..... 1..

11-156

Data
Cancel
QC

QEC
Chose
RElQ

RPL (ISTRPL) (Coo"n,od)
Flag Meanings (Continued)

Hex

£!!P..
004E

Flog Byte

RPLCNTDC

Contents

0010 Flow Control

CTD

004F

RPLCNTSC

Session Control

Cod ...

0040

RPLOPT5

Fifth Byte of Options

•

Bit
Pattern

Pattern

Pattern

Nome

Meaning

...... I.
....... 1

RPLQI
@NMooOSO

Reserved for VTAM
Reserved for VTAM

1.......
.1 ......
.. I. ....
... 1 ....
.... 1111

RPLBID
RPLRTR
RPLLUS
RPLSIGNL
@NMOO051

Control BID

I. ......
.1. .....
.. I. ....
... 1 ....
.... I. ..
..... 1..
...... I.
....... 1

RPLSDT
RPLClEAR
RPLSTSN
RPLSHUTD
RPLSHUTC
RPLRQR

Control Shute
Controt RQR

RPLRSHUT
@NMOO052

Control RSHUTD
Reserved for VTAM

I. ......

RPLDlG1N

Dialog Indicator

.1. .....
.. I. ....
... 1 ....
.... I. ..

@NMOO035
RPlPSOPT
RPLNERAS
RPlEAU

Reserved

Control RlR
ContrallU5
Control Signal
Reserved for VTAM

Control SOT
Control Clear

Control STSN
Control Shutd

I=CS,O=CA

0041

0042

RPLOPT6

RPlOPT7

Sixth Byle of Options

Seventh Byte of
Options

11-157

Pass Option
Write No Erase
Write Erase
Unprotected
Write Erase
Node Indicator
1 = Any, 0 = Spec

..... 1..

RPlERACE

. . . . . . 1.

RPLNODE

....... 1

RPlWROPT

Write Option,
l=Conv,O=
Nconv

RPLEOa

End of Btock

RPlEOM
RPlEOT

End of Message
End of Transmission
Reset Conditional
Reset Unconditional
Reset lock
Reserved
Reserved

I. ......
.1. . ....
.. I.
... 1 ....
.... 1...
..... 1..
...... 1.
....... 1

RPLNCOND
RPlLOCK
@NMOO036
RPlRSV6B

1. ......
.1. .....
.. 1. ....
... 1 ....

RPlCNNAll
RPlCNANY
RPlCWYMM
RPlQOPT

.... 1. ..
..... 1..
...... 1.
.... ... 1

RPLTPOST
RPlRLSOP
RPlRSV77
RPLRSV7B

RPLCOND

Connect AlI
Connect Any
Connect Immediate
Open Destination
QOpt
1 = Already under
Release Option
Reserved
Reserved

RPL (ISTRPL) (Cont;nued)
Flag Meanings (Continued)

Hex
Disp

Bit

Pattern

Flag Byte

Contents

Pattern

Name

Meaning

0043

RPLOPT8

Eigth Byte of Options

I. ......

RPLODACQ
RPLODACP
@NMOOO37
RPLPEND
RPLSESS
RPLACTV
RPLUNCON
RPLRSV88

Acquire

.1. .....
•• 1•••••
••• 1 ••••
•••• 1•••

..... 1..
...... 1.
••••.•• 1
0044

RPLOPT9

Ninth Byte of Options

I. ......

RPLLOGON

.1.. ....
.. 1. ....

RPLDEVCH
RPLTERMS
RPLCOUNT
RPLAPPST
RPLRNNM
RPLCIDE
RPLTOPL

••• 1 ••••
•••• 1•••

....• 1..
...... 1.
••••••• 1
0045

RPLOPTlO

Tenth Byte of Options

I. ......

••••••• 1

RPLSSCID
RPLDSPLY
RPLSPARM
RPLRSV12
RPlRSV13
RPlRSV14
RPLRSVI5
RPLRSVI6

I. ......

RPLQUIES

.1. .....
.• 1. ....

RPLSTART
RPLSTOP
RPLRSVE4
RPlRSVE5
RPlRSVE6
RPLRSVE7
RPlRSVE8

.1. .....
.. 1. ....
••• 1 ••••

.... 1. ..
.•... 1..
...... 1.
0046

RPLOPTlI

Eleventh Byte of

Options

••• 1 ••••

.... 1. ..
..... 1..
...... 1.
••••••• 1
0047

RPLOPTl2

Twelvth Byte of

I. ......

Options

.1. .....
.. 1. ....

••••••• 1

@NMOO038
RPLKEEP
RPLTRUNC
RPLNIBTK
$NMOOO39
NMOO040
@NMOO041
RPlfMHDR

I. ......

RPLBB

.1. .....

RPLEB

••• 1 ••••

.... 1. ..
..•.• 1..
...... 1.

Pattern

Accept (Default)
Reserved

Pend (Default)
Session
Active

Uncondl
Reserved

INa I.ogon MSG
(Default)
INa Device Char
INQ Terms

INO Counts
INQAppstat
INQ Rnname

IN Q Cidxlote
INQ Teplegon

INQ SSC 10
INQ Display
INa Session
Reserved
Reserved
Reserved
Reserved

Reserved
Set logon Quiesce
(Default)
Set logon start
Setlogon Stop
Reserved
Reserved
Reserved

Reserved
Reserved

Reserved
Receive Keep
Receive Trunc

Receive NIBTK
Reserved
Reserved
Reserved

o =NFMHDR
1 = FMHDR

0048

RPLRH3

Th jrd RH Byte

11-158

Bracket 0 = NBB
1 = BB
Bracket 0 "" NEB
1= EB

RPl (ISTRPl) (Continued)
Flog Meanings (Continued)

Hex
Disp

0049

Pattern

Pattern
Nome

Pattern
Meaning

.. 1. ....

RPlCMD

... 1 •..•

RPlCHREQ

•••• I •••

RPlCSI

CHNGDIR
0= NCMD,
1= CMD
CHNGDIR
0= NREQ,
1= REQ
Code Selection
Indicator 0 :: Basic
Code/I = Alternate
Code
Reserved for VTAM

Bit

Flog Byte

RPLSRTYP

Contents

Send or Receive Type

••.•. 111

@NMOO()l2

1111 ....
1. ......

RPLSTYPE
RPLSRESP

.111 •..•
..•• 1111
.... 1. ..

@NMOO()l3
RPlRTYPE
RPlRRESP

..... 1..

RPlNfSYN

...... 1.

RPlDfASY

II

....•.. 1

@NM000l4

Send Type
Stype 0 = REq/
I = RESP
Reserved for VTAM
Receive Type
Rtype 0 = NRESP/
I = RESP
Rtype
0= DfSYN/
1= NDfSYN
Rtype
0= NDfASY/
1= DfASY
Reserved

0054

RPlOBSQ

STSN Outb. Action
Code

1. ......
.1. .....
.. 1. ....
•.. 1 ••..
.... 1. ..
..... 1..
...... 1.
.•.•••• 1

RPlOSET
RPlOTST
RPlORSET
RPlOIGN
RPlOPOS
RPlONEG
RPlO1NV
@NMOOIl53

OBSQAC Set
OBSQAC Testset
OBSQAC Reset
OBSQAC Ignore
OBSOAC Testpos
OBSQAC Testneg
OBSQAC Invalid
Reserved for VTAM

0055

RPlIBSQ

STSN Inbound
Act. Code

1. ......
.1. .....
.. 1. ....
.•. 1 ..•.
.... 1. ..
..... 1..
...... 1.
•.•.•.• 1

RPlISET
RPLITST
RPlIRSET
RPlIlGN
RPLIPOS
RPLINEG
RPLIINV
@NMOOO54

lBSQAC
IBSQAC
IBSQAC
IBSQAC
IBSQAC
IBSQAC
IBSQAC
Reserved

0058

RPLSSEO

System Sense
Err.CD/S

1. ......
.1. .....
•. 1•.•.•
.•. 1 .•••
.... 1. ..
•.•.. 111

@NMOOO55
RPlCPMO
RPLSTATO
RPlflO
RPlRRO
@NMOOO56

Reserved for VT AM
SSENSEO CPM
SSENSEO State
SSENSEO fl
SSENSEO RR
Reserved for VTAM

11-159

Set
Testset
Reset
Ignore
Testpos
Testneg
Invalid
for Vi AM

RPL (ISTRPL) (Continued)
Constants in ISTRPL
Label

Value

The following Equates are for the Various Request Codes that may be set

RPLWRITE
RPLRESET
RPLOO

X'12'
X'13'

RPLQUISE
RPLSMLGO
RPLOPNDS
RPLCHNG
RPLINQIR
RPLINTPT
RPLREAD
RPLSLlCT
RPLCLOSE
RPLCLACB
RPLSNDCD
RPLRCVCD
RPLRSRCD
RPLSSCCD

X'IS'
X'16'
X'17'
X'19'
X'IA'
X'IB'
X'lO'
X'IE'
X'IF'
X'21'
X'22'
X'23'
X'24'
X'25'

X'lI'

Write
Reset

Do
Ouiesce
Simulated Logon
Open Destination
Change
Inquire
Interpret

Reod
Solicit
Close Destination

Close ACB (lntomol Only)
Send
Receive
Resetsr
Sessionc

The following are possible- Return Codes to be mapped against RPLRTNCD

RPLAOK
RPLCBLKE
RPLLOGIC
RPLPHYSC
RPLNGRCC
RPLSPECC
RPLCMDRT
RPLPURGE
RPLVTMNA
RPLSYERR
RPLDEVDC
RPLLlMEX
RPLEXRQ
RPLEXRS
RPLNOIN

X'QQ'
X'04'
X'OS'
X'OC'
X'lO'
X'14'
X'IS'
X'IC'
X'20'
X'24'
X'28'
X'2C'
X'JO'
X'34'
X'38'

Operation successfully completed
Invalid REQ or CTL Block
Logical Error
Physical Error
Neg Response to Cond CMD
Special Condition
Command Reset
Command Purged
VTAM Not Active
System Error
Device Disconnected

NIB Resplim Exod.
Except. REQ. Received
Except. Resp. Received
No Input Available

Reason Code equates for'RPLFDB2 if RPLRTNCD

RPLCBERR
RPLRNORT
RPLCLSIP
RPLSTEAM
RPLCIDNG
RPLILDOP
RPLILSEQ
RPLWANCR
RPLSANOD
RPLSANDA
RPLSTOOD
RPLSDE

X'OI'
X'02'
X'03'
X'03'
X'OS'
X'06'
X'07'
X'OS'
X'OC'
X'OD'
X'OE'
X'OF'

= X'OS'

Invalid Control Block
No Rtype Specified
CLSDST in Progress
Sess. Team in Proc.
Invalid CIO

Sod LOO OP Code

Bad LOa Sequence
Read not Chained
SOL Any + No Dev Conn
SOL Any + No Dev Avail
SOL to Output Only
SOL + Data Already Expected

11-160

RPL (STRPL) (ConHnued)
Constants in ISTRPl (Continued)

)

label

Value

Meaning

RPLRTOOD
RPLWTOI
RPLEVvNS
RPLEWAU3
RPLCWTOO
RPLCWB
RPLCCCPY
RPLIDA
RPLLlLDOA
RPLJTOJ
RPLM255
RPLRI LCP
RPLCRIRT
RPLRIOCC
RPLEWBLK
RPLCRSDC
RPLDOFOD
RPLIREST
RPLINVAC
RPLINVEX
RPLWBT32
RPLRMOBN
RPLCTN32
RPLWCNVR
RPLRNFT3
RPLRCINV
RPLlNVRM
RPLATSFI
RPLlIINA
RPLlCNDN
RPLILSIN
RPLIICBE
RPLOLIPT
RPLINTNA
RPLRCLCK
RPLSDQT
RPLSDEX
RPLSDNP
RPLSCEM
RPLSCEF
RPLSNQC
RPLSINVC
RPLSDFR
RPLSNOS
RPLSNOUT
RPLSNMC
RPLSSEQ
RPLSINVS
RPLSINVR
RPLOCEOl
RPLOCE02

X'lO'
X'll'
X'12'
X'13'
X'14'
X'15'
X'16'
X'17'
X'lB'
X'19'
X'lA'
X'lB'
X'lC'
X'lD'
X'lE'
X'lF'
X'20'
X'21'
X'22'
X'23'
X'24'
X'25'
X'26'
X'27'
X'2B'
X'29'
X'2A'
X'2B'
X'2C'
X'2D'
X'2E'
X'2F'
X'JO'
X'31'
X'32'
X'32'
X'33'
X'34'
X'35'
X'36'
X'37'
X'3B'
X'39'
X'3A'
X'3B'
X'3C'
X'3D'
X'3E'
X'3F'
X'40'
X'41'

Read to Output Only
Write to Input On Iy
Era se to Non 2265/3270
EAU to Non 3270
Write Cony to Output On Iy

Erase + Conv
Copy LDO W/CCOR CD
Invalid Data Area or length
Invalid lOO Address

Jump to Jump
Over 100 LDOS
Reset LOO + Other
Invalid Request Type

Read LDO W/CC
Erase + Block
SOL LDO W/CD
Device Offline or Discon
Invalid Reset Type
Invalid ACB

Invalid Exist
Write Block to 3270
Read Mod or Buf Non 3270
Copy to Non 3270R
VVRT CNV. Data Expec.
Read Not First to 3735

Reset Cand Illegal
Invalid Read Mode
Area too smal for I + I
I Info not Available
Int could not DET Name
Invalid logon SEQ Int
CB Error in I + I
Over length 'Input' (Trune)
Int Info not Available
Reset Cand with lock

DFSYN Attempt Ouies.
Resp. = Ex in RPL
Prey Sched Unpost.

Chain Err Mid. Lst.
Chain Err 1st On Iy
Quis. send not Req.
Inv. Cntr. of Option
Send in DF Reset
Send in DF Ctl.lnv.
Resp with 0 Outstn.
Chose but cnc I Exp.
Seq Nr not Expect.
Resp Option Error
Inv. Resp for Post
Type not Support list
Type Invalid

11-161

I

RPL (lSTRPL) (Continued)
Constants in ISTRPL (Continued)
Label

Value

RPLOCE03
:.RPLOCE04
RPLOCEOS
RPLOCE06
RPLOCE07
RPLOCEOS
RPLOCE09
RPLOCEIO

X'42'
X'43'
X'44'
X'4S'
X'46'
X'47'
X'48'
X'49'

RPLOCEII
RPLOCEI2
RPLOCEI3
RPLOCEI4
RPLOCEIS
RPLOCEI6
RPLOCEI7
RPLOCEIS
RPLOCEI9
RPLOCE21
RPLOCE22
RPLOCE2S
RPLOCE26
RPLOCE27
RPLOCE2S
RPLOCE29
RPLOCEJO
RPLOCE31
RPLOCE32
RPLOCE33
RPLOCE34
RPLOCE3S
RPLOCE36
RPLOCE37
RPLOCE38
RPLOCE39
RPLOCE40
RPLOCE41
RPLVACIN
RPLlNVRT
RPLRNOEL
RPLRNONA
RPLRNOSE
RPLRNOIA
RPLRNOCL

X'4A'
X'4B'
X'4C'
X '40 ,
X'4E'
X'4F'
X'SO'
X'SI'
X'S2'
X'54'
X'SS'
X'58'
X'S9'
X'SA'
X'SB'
X'SC'
X'SO'
X'SE'
X'5F'
X'60'
X'61'
X'62'
X'63'
X'64'
X'65'
X'66'
X'67'
X'68'
X'69'
X'6A'
X'6C'

RPLRNOCE
RPLlNVL
RPLlNVCF
RPLIECMO
RPLLGCNT
RPLESCNT
RPLCPCNT
RPLINOAT
RPLVTAME
RPLlLRS
RPLROIP
RPLUSELE

X'6D'
X'6E'
X'd"
X'7Q'
X'71'
X'SO'
X'SI'
X'S7'
X'SS'
X'S9'
X'SA'
X'97'
X'AO'
X'AI'
X'A2'
X'A3'

Meaning

Acquire Invalid Parm
Appl Never Accepts
No Preempt Auth

Preempt has Invalid OPT
Invalid Nib Option

Dest Unknown
Dest Unopenable
Not Auth to Opndst or Installation Provided Subroutine
Failed to Provide Appl Name to Interpret

Dest Unavail - Offline
Dest Unavail - In Use
No logon Found Accept

Opndst Canceled
Device/Mode Incomp.

Invalid Mode Name
Bhset Name Unknown
Bhset not on Local

Multi Bhsets Specified
Invalid Request Type
Appl is Guiescing

Inva lid logon Addr or len
Bhset 10 Rejected
Duplicate Nodes

VTAM is Halting
VTAM not Active
Source Addr of ero
CID not Resoluable
CIO OST not Opened
No Auth for Pass
Passer not Own Resource

Resource not Owned
Preempt Unopened Device

Restore of Preempt Failed
Bh.et 10 Rejected by NCP
Invalid Set logon
Chnge Inv. for Sas.
Opndst/Bind Fail.
Invalid Action
Inv. Response Type
Exceeded limit of outstanding RCVCMDS allowed
Application not authorized, POI inactive
Reply rejected due to SYNTAX error
Program Operator Interface inactive
RCVCIJD rejected because program operator application
is closing
Commond rejected due to SYNTAX error
ASE Invalid LCCW Code
ASE Invalid Chaining LCCW
ASE Invalid Escape CMD
leading Graphs over 15
ASE Escape CMD Count
Copy LCC Count NE 3
Inv. Area or Length
ASE Miscellaneous
Incompatible Sysgen
Reset in Progress
Miscellaneous User Error
11-162

RPL (lSTRPL) (Continued)
Constants in ISTRPL (Continued)

)

label

Value

RPLCTLCF
RPLMOLTF
RPLCDITS
RPLCRNF
RPLNUTRM
RPLELNV
RPLNELNV
RPLLCH
RPLNORD
RPLlNVBS
RPLSEQER
RPLERNR
RPLOLlPX
RPLCPYE2
RPLRELNP
RPLCPYEI

X'A4'
X'AS'
X'A6'
X'A7'
X'AB'
X'A9'
X'AA'
X'AB'
X'AC'
X'AD'
X'AE'
X'AF'
X'BO'
X'Bl'
X'B2'
X'B3'

Meaning

ASE Control Command
ASE Oltt Failure
ASE Conflicting Dialog

Conv. Reply not Possible
ASE no Uterm Rdte

ASE Escape LCCW
AS E Non-Escape lCCW
ASE LCCW Count G255
Read not First to sse Dial in
ASE Invalid BTU Resp
ASE RSP SEQ Err
ASE Expected RSP not Received
Overlength Input (Trune)
Copy Wrong Cluster
Reset Lock not Allowed

Copy Unopened from Device

Equates fo, RPLFDB2 ;f RPLRTNCD = X'lO'
RPLRCWNP
RPLYTCTN
RPLYADIF

X'OO'
X'BO'
X'B4'

Reset C was Noop
Yielded to Contention
Yielded + Dialog Init Failure

Reason Code equates for RPLFDB2 if RPLRTNCD

RPLSTALF

X'Ol'

Reason Code equates for RPLFDB2 if RPLRTNCD

RPLUSRES
RPLRSTSR
RPLSSTRM
RPLUNTRM

X'OO'
X'OO'
X'Ol'
X'02'

= X'14'

Storage Allocation Failure
=

X'lS'

User Reset
Resertsr

Successful TRM Reset
Unsuccessful TRM Reset

Reason Code equates for RPlfDB2 if RPLRTNCD == X'lC'

RPLNCPAO
RPLNCPAN
RPLPCF
RPLANS
RPLAPPAB
RPLCLOCC
RPLVOFOC
RPLDISCO
RPLBTHEX
RPLCLRED
RPLCPAOL

X'Ol'
X'02'
X'03'
X'04'
X'05'
X'06'
X'07'
X'OS'
X'09'
X'OA'
X'Sl'

NCP
NCP
Perm
Auto

Abend == Restart OK
Abend == Restart NOK
Channel Failure
Network Shutdown

ASE Appl Abended
CLSDST Occurred
Vary Offline Occurr ed
Disconnect Occurred
Buffer Threshold Exceeded
Register Cleored
last Operation Purged for N CP Abend - Restart OK

Reason Code equates for RPLFDB2 if RPLRTNCD :::: X'24'

RPLOCSOI
RPLOCS02
RPLOCS03

X'Ol'
X'02'
X'03'

ASE Unexpected Error
ASE Srt not Present
ASE Controlling Mode Offline

11-163

RPl (lSTRPl)

(CanHnued)

Constants in ISTRPl (Continued)

Label

Value

Meaning

RPLOCS04
RPlOCS05
RPlOCS06
RPLOCS07
RPLOCSOS
RPLOCS09
RPLNFMLK
RPLOCSIO
RPlOCSll

X'04'
X'05'
X'06'
X'07'
X'OS'
X'09'
X'OA'
X'10'
X'l1'

ASE Rdt ;110901
ASE no process lock
ASE no ROT lock
ASE no allocation lock
ASE no device lock
ASE could not disconnect

ASE, noFME lock
Could nat obto;n EPTjDVT lock
ASE, SDTsess.fail.

Reason Code equates for RPLfDB2 if RPLRTf\lCD= X'28'

RPLDIDOL
RPLDIDIL

X'SO'
X'90'

Disconnect on Dial-Out line
Disconnect on Dial-In line

Inquire equates for.RPlfDBK

RPLIACT
RPlliNA
RPLINA
RPllTNA
RPLIQUIE

X'QQ'
Z'04'

X'OS'
X'OC'
X'IO'

APPl active
APPl inactive
APPl never accepts
APPl temp not accepting
APPL quiescing

11-164

SNT (JSTSNT)

Dec

I

0

Hex

I

1

2

I

3

SNTNENTS

I

Number of entries in this SNT

SNTRSRVD
Reserved to force DWORD BOY

SNTENTRY
5NT entry
ORG SNTENTRY

I

SNTWORD1
Flag and pointer field

ORGSNTWORD1+1r------------~S~N~TC~B~~~R~------------,

I

PTR

to

ONCS, ICNCB, LONCS, ETC

ORG SNTENTRY + 4
C

)

C

SNTLOCK
This will be snt oddr when add is done by
SSe? for Dummy ROTE

Alphabetical List of Fields in ISTSNT
Field

Dec

Hex

Field

Dec

Hex

Field

Dec

Hex

SNTCBPTR
SNTENTRY
SNTFLAG

0009
0008
OOOB

0009
0008
OOOB

SNTLOCK
SNTNENTS
SNTRSRVD

0012
0000
0004

OOOC
0000
0004

SNTWORD1

OOOB

0008

Flag Meanings
Bit

Pattern

Disp

Flag Byte

Contents

Pattern

Nome

Pattern
Meaning

0008

SNTFLA.G

Flog Byte

1... ...

SNTRDTFG

ROT Entry Flag,

Hex

.1.. .•••

.. t. ....

1 = RDTE, 0 = NCB
This SNT Entry Contains
a Pointer to an SNT
Entry
SNTDUtv'lFG This is SNT for (I Dummy
ROTE it is never locked
SNTSN1FG

••• 1 11 t 1 SNTRSVFG

Ji-165

Reserved

TH (lSTIH)

Dec

Hex

I

0

I

2

I

THRLAGI

THDAF
Destination address

TH flag byte

THSNF

THOAF

4

3

Original address

Sequence number

THDCF
Doto count

Org THFLAG I

o
Org THFLAGi-1

Alphabetical list of Fields in ISTIH

Dec

Hex

Field

Dec

Hex

THDAF
0002
THDCF
0008
THF LAG I 0000

0002
0008
0000

THFLGB
THOAF
THSNF

0001
0004
0006

0001
0004
0006

Field

Flag Mean ings
Hex

Disp

Flag Byte

Contents

Bit

Pattern

Pattern

Name

Meaning

THFID
THFLGA
THMPF
THRHI
THCMPLI
@NMOOO02
THAFI

Forniat 10

First Byte of THFLAG 1 1111 ..••

0000

.••• 1111
•••• 11..
•••• 1. ••
••••• 1..
•••••• 1.
••••••• 1

Pattern

Header Bit Flogs

Mapping Field
RH Included Indicator
RU Complete Indicator
Reserved

Expedited Flow

Indicator
0001

THFLGB

Header Flag Fields

1111 ••••
•••• 11..

••••.• 11

11-166

THPYF
THSEF
THCDF

Priority
Securi~y

Reserved

)

Dec

j

0

Hex

2

1

TH2DAF

TH2FtAGl
Flog Bytes

Destination
Address

3
TH20AF
Origin Address

I

TH2SNF
Sequence Number

Alphabetical List of Fields in ISTTH2
Field

Dec

Hex

Field

TH2DAF
TH2ftAGl

0002
0000

0002
0000

TH20AF
TH2SNF

Hex

0003
0004

0003
0004

F log Meanings

)
/

Hex
Disp

0000

0001

Bit
Pattern

Contents

First Byte of TH2FLAGI 1111 ....
.... 11..
.... 1. ..
..... 1..
...... 1.

Second Byte of
TH2FLAGI

B'0010'

Mopping Field
RH Included Indicator

TH2AFI
TH2PYF
TH2SEF
TH2CDF

Priority Field
Security Field
Reserved

Value

B'OOOO'
B'OOOI'

Format ID

••••••• 1

Values for Format ID Field

THFIDO
THFIDI
THFID2

TH2FID
TH2MPF
TH2RHI
TH2CMPLI
TH2PSI

1111 ..••
.• ,_ 11..

Constants in ISTTH2

)

Pattern
Meaning

RU Complete Indicator
Primary-Secondary
Indicator
Expedited Flow Indicator

•.•••. 11

lobel

Pattern
Nome

FID 0
FID 1
FID 2

11-167

TH (lSTIH2) (ConHnued)
Constants in ISTTH2 (Continued)
Values for Mapping Field

THCNOSEG
THONLY
THF IRST
THMIDLE
THlAST

B'll '
B'll'
B'IO'
8'00'
B'OI'

No Segmenting
Only Segment
First Segment

Middle Segment
Last Segment

Values for Primary-Secondary Indicator

THCPTOS
THCSTOP

B'I'
B'O'

Primary to Secondary Flow
Secondary to Primary Flow

Values for Priority Field

THCNOPYF

B'OOOO'

No Priority

Values for Security Field

THCNOSEF

B'OO'

No Security

Values for Code Definition Field

THCNOCDF

B'OO'

No Code Definition

Standard Volues for Flog Bytes

THSYNREQ
THASYREQ
THSYNRES
THASYRES

X'ICOO'
X'IDOO'
X'IEOO'
X'IFOO'

Normal Request

Expedited Request
Normal Response
Expedited Response

11- 168

TIE (ISHIEl
Dec

1

2

TlELNGTH

TIERETCD

0

Hex

TlETYPE

)

Control block

length in

type code

bytes

Return code from

3
TlEREQ
Tie usage code

TOLlEP
TlETIEA

Address of next tie

TlESNA
Address of symbolic name

12

C

TlERPHA
Address of RPl header

or

TlESNA
TlEPTRI
First Pointer

0'9 TIERPHA

12

C

TIEPTR2
Second Pointer

Alphabetical list of Fields in ISTTIE

)

Field

Dec

Hex

Field

Dec

Hex

field

Dec

Hex

TlELNGTH
TIEPTRI
TIEPTR2
TlEREQ

0001
OOOS
0012
0003

0001
OOOS
OOOC
0003

TlERETCD
TlERPHA
TIESNA
TIETIEA

0002
0012
OOOS
0004

0002
OOOC
OOOS
0004

TlETYPE

0000

0000

Flag Meanings

Bit

Pattern

Pattern

Disp

Contents

Pottern

Nome

Meaning

0004

First Byte of TIETIEA

1. ......

TlEGATE

Gating Flag

Hex

Constants in lSTilE

label

Value

Meaning

TlTYPE

X'IS'

Type Code for TIE

11-169

TIE (ISHlE) (ConHnued)
Constants in ISTTIE (Continued)
Label

Value

TIE Usage Codes
TlEREQO
TlEREQI
TlEREQ2
TlEREQ3
TIEREQ4
TlEREQ5
TlEREQ6
TIEBASIC
TlERCRD

o
I
2
3
4

RFT REQ Passed to TOLTEP
Vory Passed FSB to TOLTEP
Vory Possed NCSPL to TOLTEP
Req. for on End-CTl to Vary
Req. for Freeing Buffers

5
6

TOLTEP REQ Info f'om SSCP
TOLTEP Poss LCPB to Vo'y

4

Record Support for Device RFT Received for

o

Basic Support for Device RFT Received for

11-170

SERVICE AIDS
The following service aids are available for VTAM.:.
Buffer Trace

I/O Trace
line Trace

NCP Dump
VTAM Dump Facility
A complete description of these and other relevant service aids can be found in the

DOS/VS VTAM Debugging Guide, GC27-0021.

/

I

11-171

•

CHAPTER III
VSAM CONTROL BLOCKS

)

I

",--,

,--/

'~,

VSAM CONTROL BLOCK STRUCTURE FOR A KEY-SEQUENCED DATA SET

I

User's record management request:

VSAM user:
..... nl" ..

GET,PUT,POINT,ERASE,o, ENDREQ

-

--------1

-

ISAMuser:

RI

AMDTF

r---<

, DTFlS

DTFlS

1

X'90' ACBAD

I<-I~

X'9B' RPLAD
X'9C' DTFISAD

X'll' LOGMODAD
X'2C' AMDTFAD
X'30' CIPROCAD

f--

Note: Present only if
using liP

IIPPRCPR

4

Bronch vector

Address table

DoS/VS - - - - -

1

ANCHTAB

I

-I

l~

RI

I,

t

I

RPL

~

X'IB'

I,

' Index AMOSS

X'OC'
! PLH',
X'14'
t ACB

1

Not used

t ACB

lKQVSM

rl

ACB

~
;:;

I,
I

I
I I,

X'OB'

RPL

Describes the VSAM
record processing
request

-------'l

COMREG

,---. X'04'
t Data AMOSS

Describes the VSAM

EXLST

data sct

X'04'

t AMBL

X 'OB'

t

r-"

t

Record

management

I--

load module

X'30'

I

t EXLST

OAL
X'OC'

User exit routines

~

I

EODAD

t SYNAD
~

lERAD

t

EXCPAD

! JRNAD

III

See figure:
Data and index
control block
~

---

DATA AND INDEX CONTROL BLOCK STRUCTURE
AMBl

X'04'

Describes a disk extent
(lEeS for each extent)

infa"rmation

X'CO'
INex' EDB
X'14'

X'24'

t

tLPMB

X'DC

AROB
X' C'

t

IARDB

X'14'
+Ace

BCB
X'B4'
I CeN build area

t Index AMOSS

+PlH',

X'54'

,

Statistical

X'CO'
I EDB

t 00'0 AMDSB
X'08'

EDB's

EDB

00'0 AMOSB

Describes an opened
cluster

2

Space allocation info
(RBA) for each key

•

t PU'is of bose cluster,
X'58'
• .
i USB
:

Doto ARDBs
.an e
f!X~""'IO",,------I
f,.,,-';.-;:-EOJD
Open ecco, ,etum code, ,
This ACe is already open
The symbolic unit in the
DLBlstotement is invalid
No job information blocks
(JIBs) are available from
the label information
cylinder.
The address in the
ASSIGN statement for the
logical unit was IGN
(assignment ignored).
The address in the

ASSIGN

I

ACBOCEXT

X'22'

ACBOCDLD

X'32'

ACBONMNT

X'SQ'

ACBONCRA
ACBOIERR
ACBOUEMP
ACBOTMST

X'5C'
X'60'
X'64'
X'68'

ACBOTIME

X'6C'

ACBOEMPT

X'6E'

I

statement for

the

logical.unit was UA
{logical unit unassigned}.
The volume serial numbers
specified in the EXTENT
statement do not match

those specified in the
catalog entry.

111 - 10

Unable to load VSAM
modules via a CDLOAD
macro instruction.
Attempt to mount two
volumes on the same drive
when direct or keyed
processing w~ specified.
Or the operator failed to
mount the volume.
eRA volume not mounted
Unusable input data set
Empty upgrade AIX
The time stamp of the
volume on which a data
set is stored doesn't match
the system time stamp in
the volume catalog entry.
The system time stamp of a
data set and its index do
not match, this indicates
that the dato has been updated separately. This
test is greater than or
equal, i.e., no warning
is given if the index time
stamp is greater than the
data time stamp.
Open empty data set for
read only.

ACCESS METHOD CONTROL BLOCK lACS)

Displacement

De,

Bytes

( ... Continued)

Field Name

Hox
Digit

Description

ACBODSNC

X'74'

ACBODEVT

X'75'

Data set was not closed the
last time it was processed
The symbolic unit specified

Hex

ACBONDLB

X'BO'

ACBOIOER

X'B4'

ACBONVRT

X'BB'

ACBOIOCA

X'90'

in the EXTENT statements
is not a valid VSAM
device type.
The DLSL statement is
missing or the filename in
the DLBL doesn't match the
ACB.
A permanent I/O error
occurred while VSAM was
reading lobel information
from the label information
cylinder.
Not enough virtual storage
space is available in the
partition for work areas,
control blocks, or buffers.

A permanent I/O error
occurred while VSAM was
reading or writing a
calalog entry.

ACBONCAT

X 94

ACBOSECU

X'9B'

ACBOPARC

X'AO'

ACBOKBUf

X'AI'

ACBOIOVL

X'M'

ACBONAVA

X'AB'

)

J

III - II

N. ENTRY found in the
catalog for this ACB.
Secvrity verification foiled;
the password specified in
the ACB for a specific level
of access doem't match the
password in the catalog for
that level of access.
The operands specified in
the ACB are inconsistent
with each other or with the
information in the catalog
entry, for example, an open
of an ESDS for keyed
processing.
User-specified buffers with
keyed access (user buffers
can be specified only with
CNVaccess).
A permanent 1/0 error
occurred while VSAM was
reading the volume label of
the volume the data is set on
The data set is not available
because it is being updated
by (under the exclusive
control of) another ACB or
has been exported by
Access Method Services.

ACCESS METHOD CONTROL BLOG< (ACB)

Displacement

Dec

Bytes

Field Name

( ••• ConHnued)

Hex

Description

Digit

Hex
ACBONOCT

X'B4'

The VSAM catolog is not
connected to the system

on logical unit SYSCAT.

ACBOACT
ACBOOERR
ACBOPEMP
ACBODSCB
AC~OCNVP

X'BC'
X'CO'
X'C4'
X'C8'
X'EO'

ACBONRST
ACBOCTER

X'E8'
X'FF'

or insufficient virtual
storage avoi lable for OPEN
ACB was active
Unusable output data set
Access via empty path
DSCB format 4 error
Invalid control interval

procedure
Non-reusable is not empty
Unexpected return from

catalog locate function.
Close error return codes:

X'02'
ACBCALR
ACBCNVRT

X'04'
X'88'

Invalid control block or
ACB address not in CAL
ACB already closed
Insufficient space availobl
in user's partition for
work area

ACBCIOCA

X'90'

Permanent I/O error

occurred while VSAJ.A was

ACBCNCAT
ACBCIOER

X'94'
X'B8'

reading or writing a
cota I 09 entry.
No cotalog entry found
Permanent I/O error

occurred wh i Ie VSAM was
completing outstanding
I/O requests.

ACBCBUSY
ACBAMBUF
ACBDDNM
ACBPRTCT
ACBUAPTR
ACBBFPL

24
2B
36
40
44

18
IC
24
28
2C

4
8
4
4
4

48
52
56
57

30
34
38
39

4
4
I
1

ACBEXLST
ACBNXT

58
60
64

3A
3C
40

2
4
4

ACBMSGLN
ACBMSGAR

X'BC'

ACB busy
length of buffer pool
DDname

Pointer to password
Po inter to user work orea

Pointer to first data buffer
in buffer pool
User exit list pointer
Reserved

Reserved for BSTRNO
RESERVED

Message area length
Message area

RESERVED

111-12

ACCESS METHOD CONTROL BLOCK STRUCTURE BLOCK (AMCBS)

Bytes

Field Nome

Hex
Digit

Description

0
1

1
1

X'OO'

AMCBS identifier

2
4
B
C

2
4
4
4

CBSID
CBSfLAGS
CBSJCAT
CBSSIZ
CBSCRACB
CBSACB
CBSCRAPL

Displacement

Dec

Hex

0
1
2
4
8
12

AMCBS flogs
X'80'

Job catalog not present

Length of the AMOS
Pointer to

eRA ACB

Pointer to ACB (Master)
Pointer to AWtS

CRMP list
Pointer to job catalog

16

10

4

CBSSYSUC

20

14

4

CBSCAXCN

Pointer to CAXWA

24

18

4

CBSCBMM

Pointer to control

ACB
chain

Block Monibulation
Macro Load Module

III - 13

I

ACCESS METHOD DATA STATISTICS BLOCK (AMDSB)

Displacement

Dec

Hex

0
0
I

0
0
I

Bytes

Field Name

Hex

Description

Digit

96

I
I

AMDSBCOM
AMDSBID
AMDATTR
AMDATTRI
AMDDST

X'60'
X'SO'

Common part
AMDSBidentiFier

Attributes of the data set
Attributes (first byte) :
Key-sequenced data
set 1•.• ....
Entry-sequenced data

set 0 ...

AMDWCK

X'40'

AMDSDT

X'20'

AMDREPL
AMDORDER

X'IO'
X'OS'

AMDRANGE

X'04'
X'02'
X'OI'

....

Check each record when
it is written
Sequence set is stored
with the data
Replication
Use the volumes in the
same order as the
volume list
The data set is divided
into key ranges
Relative record data set
Spanned records

2

2

2

AMDRRDS
AMDSPAN
AMDLEN

4

4

2

AMDNEST

Number of Entries in

4

4
6

S
10

8
A

AMDAXRKP
AMDRKP
AMDKEYLN
AMDPCTCA

Rei. Key Position, AIX

6

2
2
2
I

II

S

I

AMDPCTCI

12

C

2

AMDCIPCA

14

E

2

AMDFSCA

16

10

4

AMDFSCI

20
24
2S

14
18
IC

4
4
4

AMDCINV
AMDLRECL
AMDHLRBA

Length of AMDSB in the
cotolog
Index S ecHon

ReI. key Position, BASE
Key length
Percentage of free
control interve Is in
control area
Percentage of free bytes

tre

in the control interval

28

IC

4

AMDNSLOT

32
32

20
20

4
4

AMDSSRBA
AMDMAXRR

36

24

4

AMDPARDS

iii - 14

Number of control
intervals in a control
area
Number of free control
intervals in a control
area
Number of free bytes in
a control interval
Control interval size
Maximum record size
RBA of the high-level
index record
Number of relative
record slots
RBA of first seq. record
Max. relative record
number
Pointer to first ARDB

Acass METHOD DATA STATISTICS SLOCK (AMDSS)

)

Displacement
Dec
Hex

Bytes

Field Name

40

I

AMDATTR3
AMDUNO

41

28

29
2C

3
4

48
48
56
58
58

30
30
30
38
3A
3A

4
8
8
2
2
2

AMDSTAT
AMDSTMST
AMDSTSP
AMDNIL
AMDNEDS
AMDNEXT

60

3C

4

AMDNLR

64
68
72

40
44

AMDDELR
AMDIREC
AMDUPR
AMDRETR

44

Hex
Digit

X'8O'
X'4O'
X'2O'
X'IO'
X'08'
X'04'
X'02'
X'Ol'

( ... ConHnued)

Description

Attributes
O=unique; l==non-unique
Reserved

Reserved
Reserved

Reserved
Reserved
Reserved

Reserved
Reserved
Reserved

Statistics

48

76

4C

4
4
4
4

80

50

4

AMDASPA

84

54

4

AMON CIS

88

58

4

AMON CAS

92

5C

4

AMOEXCP

48

Statistics
System time stamp

System time stamp
Number of index levels

Number of EOBs
Number of extents in the
data set
Number of user-supplied
(logical) records in the
data set
Number of deleted records
Number of inserted records
Number of updated records
Number of retrieved
records

Number of bytes of free
space in the dato set
Number of times a control
interval was split
Number of times a control
area was split
Number of times EXCP was

issued by VSAM I/O
routines
AMOCOMM

Genera I Continue

97
101

61
65

4
3

AMOSHOPT
AMDSHRl
AMDSHR2
AMDSHR3
AMDSHR4
AMOCDSN
AMODSN

104

68

4

AMDHWRSA

96

)

60

1

Share option byte
X'80'
X'4O'
X'2O'
X'10'

Share option 1
Share option 2
Shore option 3
Shore option 4
Pointer to catalog ACB
Catalog control interval

number for data (index)

111-15

High-water RBA for the
data set

I

ACCESS METHOD DATA STATISTICS BLOCK (AMDSB)

Displacement
Dec
Hex

Bytes

Field Nome

lOB

1

AMDATIR2
AMDREL
AMDLOAD
AMDSPEED
AMDINDX
AMDSHR
AMDKR

6C

109
110

6D
6E

.1
•• 2

112
116

70
74

4
1

117
lIB

75
76

1
2

AMDCAT
AMDACT
AMDFILT
AMDPVOL
AMDAMS
AMDAIX
AMDPATH
AMDBASE

Hex
Digit

X'BO'
X'4O'
X'20'
X'10'
X'OB'
X'Q4'

X'Q1'

( ••• ConHnued)

Description

Attributes (second byte):
Re lease unused space
load mode
Speed option
Index option

Sharing
Key-range processing,
duplicate of
AMDRANGE

AMOSB for catalog
AMOSS test and set byte
User area (ISAM
compatibility)
Poin fer to volume list

AN!S flag byte
X'BO'
X'4O'
X'20'

Alternate index
Access via path
Access via base
Reserved

AMDAIRKP

AIX relative key
~osit'i'on

local Statistics
120

7B

4
2

AMDLSTAT
AMDLNIL

local statistics
local number of index
levels

122

7A

•• 2

AMDLNEST

124

7C

4

AMDLNLR

12B

BO

4

AMDLDELR

132

B4

4

AMDLIREC

local number of entries

in the index section
Local number of usersupplied (logical) records
Local number of deleted
records
Local number of inserted
records

136

BB

4

AMDLUPR

140

BC

4

AMDLRETR

144
148

90
94

4
4

AMDLASPA
AMDLNCIS

152

9B

4

AMDLNCAS

156

9C

4

AMDLEXCP

160

AO

B

AMDEXEXT

local number of updoted
records

Local number of retrieved
records

local bytes of free space
Local number of control
interval splits
Local number of control
area spli~
Local number of EXCPs
issued by VSAM I/O
routines
Exceptional Exit

111-16

Exception exit

ACCESS METHOD DATA STATISTICS BLOCK (AMDSB)

Displaceme'nt

Bytes

Field Name

Dec

Hex

'68

AS

2

AMDBCBNO

AA

2

AMDBFREE

( •.. ConHnued)

Hex

Description

Digit

Buffer Management Information
170

Number of buffers
Number of unassigned

buffers
172

AC

4

AMDFSBCB

176

BO

4

AMDFFBCll

1BO

B4

4

AMDCONA

Address of the first

BCB'
Address of the first
free

BCa

Pointer to CCW build
area

1B4

BB

8

Reserved
EDB Header

192
196
198

CO
C4
C6

4
2
.. 2

AMDFSEDB

Address of first EDB

AMDLEDB

Reserved
Length of EDB
* For LSR: Address of the BSPH.

III - 17

I

ACCESS METHOD DEFINE THE FilE (AMDTF) TABLE
Displacement

Dec

Hex

0

0

Bytes

Hex

Field Name

Digit

72

Description
~~

SAVARPP

Used to store register
program
ISAM interface

contents of problem

72

4B

72

SAVARCI

144

90

4

ACBAD

program save orea

Addre" of AC1 lhed

I~~OPE~

X'OA020000 '

148
152
156
156
160

94
9B
9C
9C
AD

4
4
4
4

RPlAD
EREPl
DTFISAD
EPlRECAD

164

A4

B

EPlDASDA

SVC 2
Address of RPL

to open
the ACB

Error exit parameter list

Address of DTFIS
Address of record in

error (not supported by

liP)
DASD address of record
in error (not supported

by liP)
172

AC

1

EPlRECID
EPlRECID

Record identification

X'BO'

Data record (VSAM
data set)

X'40'

EPlXREC

173

AD

1

EPlCXREC

X'20'

EPlMXREC

X'lO'

EPlREAD
EPLWRITE
EPlCMNDC

X'02'
X'OI'
X'DO'

Index record

(VSAM

sequence set)
Cylinder index record
(VSAM index set)
Moster index record
(VSAM i!,dex set)
Read

Write
Command code of
failing CON (not

supported by liP)

174
176

AE
BO

2

176
lBO

BO
B4

lB4

BB

lBB
lBB
189

BC
BC
BD

UNUSED

--

GENACB

GENeS information to
generate the ACS

4
4

GACBHAD
MACRFEAD

Address of header
Address of Jv\ACRF

4

FllENEAD

Address of filename

1
1

GACBH
GACBBTC
GACBFTC

element
element
Header

X'AO'
X'OI'

Block-type code (ACB)
Function-type code

(GENCB)

190

BE

2

GACBNOC

192

CO

4

GACBWAAD

X'OD01'

196

C4

4

GACBWAlN

Number of copies

(1 copy)

111-18

Address of work area
set to 0i VSAM obtains
space via GETYIS
length of work area

ACCESS METHOD DEfiNE THE FILE (AMDTF) TABLE

DisDlacement
Dec
Hex
200
200
204

CB
CB
CC

20B

DO

20B
212

DO
D4

220

DC

220
224

DC
EO

22B
232

E4
EB

( •••• Cont'd)

Hex
Digit

Bytes

Field Name

4
4

MACRFEL
MACRFKTC
MACRFVAL

4
B

FNAMEKTC
FNAMEACB

Description,

MACRF element
X'00120000'

Keyword-type code

Value supplied by
IIPOPEN
File name (DDname)

FNAMEEL

element

X'00090000'

Keyword-type code
File name (inserted

GENRPL

by IIPOPEN)
GENeS information

4
4

GRPLHAD
ARLNEAD

Address of header
Address of AREALEN

4
4

ACBEAD
KEYLNEAD

to generate the RPl

element

Address of ACB element

Address of KEYLEN
element

Address of RECLEN

236

EC

4

RECLNEAD

240
240
241

FO
FO
FI

I
I

GRPLH
GRPLBTC
GRPLFTC

X'CO'
X'OI'

Block-t.ype code (RPL)

242

F2

2

GRPLNOC

X'OOOI'

Number of copies

244

F4

4

GRPLWAAD

Address of work area
set to 0; VSAM obtains
space via GETVIS

248

FB

4

GRPLWALN

Length of work area
set to

252
252
256
260
260
264
268
26B
272
276
276
2BO
284

FC
FC
100
104
104
lOB
10C
10C
110
114
114
llB
I1C

284
2B8
292
292
293

I1C
120
124
124
125

4
4
I
I

SHHAD
SHEAD
SHH
SHBTC
SHFTC

294
296

126
12B

2
4

SHOTC
SHBAD

element
Header

Function-type code

(GENCB)
(I copy)

4
4
4
4
4
4
4
4

ARLNEL
ARLNKTC
ARLNVAL
ACBEL
ACllKTC
ACllADI
KEYLNEL
KEYLNKTC
KEYLNVAL
RECLNEL
RECLNKTC
RECLNVAL
SHOWCB

a

AREAlEN element
X'002DOOOO'

Keyword-type code

Area Length
ACB element
X'002BOOOO'

Keyword-type code

Address of ACB

KEYlEN
X'00300000'

element

Keyword-type code
Key length

RECORDLEN element
X'00350000'

X'OO'
X'03'

Keyword-type code
Record length
Information to show
ACB or RPl
Address of header
Address of element
Header
Block-type code
Function-type code

(SHOWCll)
X'OOOO'

111 - 19

Object-type code
Address of block to be
shown

ACCESS METHOD DEFINE THE FILE (AMDTF) TABLE
Displacement

Bytes

Field Nome

( •••• Cont'd)

Hex

Description

Digit

Dec

Hex

300
304
308

12C
130
134

4
4
4

SHARAD
SHARLN
SHAR

Address of orea

312
312

138
138

4

SHEL
SHKTC

Element
Keyword-type code

316

13C

MODRPL

316
320
324
328
332
332
333

13C
140
144
148
14C
14C
14D

4
4
4
4
1
1

MRPLHAD
OPTCDEAD
AREAEAD
ARGEAD
MRPLH
MRPLBTC
MRPLFTC

MODCB information
to modify the RPl
Address of header

334
336

14E
150

2
4

MRPLBAD

Length of area
Area where information

is to be placed

(,et by liP)

352

154
154
158
15C
15C
160

356
356
360

164
164
168

364
364
380
384
392
398
403
412
417
426
430
435
455
460
464
468

16C
16C
17C
180
188
18E
193
19C
lAI
1M
lAE
lB3
lC7
ICC
lDO
ID4

340
340

344
348
348

Address of OPTeD element

Address of AREA element
Address of ARG element
Header

X'CO'

X'02'

Block-type code (RPL)
Function-type code
(MODCB)
UNUSED
Address of b lock to be

modified (supplied by

4
4

OPTCDEL
OPTCDKTC
OPTCDVAL
AREAEL
AREAKTC
AREMD

4
4

ARGEL
ARGKTC
ARGAD

4
4

X'00340000 '

IIPOPEN)
OPTeD element
Keyword-type code

Bit pattern (supplied by liP
AREA element
x'002COOOO'

Keyword-type code

Address of orea (supplied

by liP)
X'002EOOOO'

ARG element
Keyword-type code
Address of ARG parameter

(,vpplled by liP)
16
4
8
6
5
9
5
9
4
5
20
5
4
4
1

MSGOUT
MSCCS

Header

MSCON

CCW

ERRCDE
ISAMCM
ISCM
VSAMCM
VCCM
CRCM
CRCI
SHOWCBF
CRC2
CRSCM
CRSC
BRKT

Error code of message

CCB
Zeros

111-20

'ISAM'

ISAM command area
'VSAM'

VSAM command area
'RC='
Return code area

Area if SHOWCB failed
Return code from SHOWCB

'EC='
Error code area
Closing bracket

ADDRESS RANGE DEFINITION BLOCK (ARDB)

Displacement
Dec

Hex

0
I

0
I

Bytes

Field Name

Hex

Description

Digit

I
I

ARDID
ARDTYPE

X'AD'

Control block identifier

Identifies the type of
space defined by the

ARDKR

X'80'

ARDHLI

X'40'

ARDB,
One key range of a keyrange data set

The total index of a

key-sequenced data set
that does not have the
sequence set with the
dato, or
The non-sequence set

levels of a key-

2
4

2
4

2
I

ARDSS

X'20'

ARDUOVFL

X'IO'

ARDEOD
ARDLGCC

X'08'
X'04'

ARDLEN
ARDPRF

X'BO'

sequenced data set's
index, when the
sequence set is stored
with the doto
The sequence set of a
key-sequenced data
set I when the sequence
set is stored with data
Use overflow volumes

for this key
End of data ARDB
Device contains more
thon 256 cylinders

length of the ARDB
Address range definition
preformat byte (this
byte is a literal copy
of the catalog byte
called ITYPEXT)

ARDPRFMT

5

5

8

12

X'40'

No preformat done
indication
Reserved
Address of the next

8

3
4

ARDNPTR

C

4

ARDHRBA

16

10

4

ARDEDBA

Pointer to the active

20
24

14
18

4
4

ARDPREL
ARDERBA

Pointer to related ARDB

ARDB in the ARDB
chain
The RBA of the nexl
free-space control
interval at the end of
the dota set (RBA of

VSAM SEOF)
EDB
The RBA of the highest
control interval
allocated to the key
range

III - 21

ADDRESS RANGE DEFINITION BLOCK (ARDB) ( .... Cont'd)

Displacement
Dec
Hex

Bytes

Field Name

28
32

IC
20

4
4

ARDPKEYS
ARDHKRBA

36

24

2

ARDVOLNM

Hex
Digit

Description

Pointer to ARDKEYS
The RBA of the data set
control interval
containing the key
range's high-key value
Number of volumes in
list

The following ten-byte entry, called an ARDB volume group, repeats for each volume

in this ARDB.
10

ARDVOLGP

Volume serial

26

6

ARDVOLSR

The seriol number of the
volume containing the

44

2C

2

ARDRELRP

Catalog relative
replication number

46

2E
2E
2F
Variable

2
I
I
Variable

ARDSYMU
ARDSUCLS
ARDSUNUM
ARDKEYS

Symbolic unit

38

26

38

(VOLSER) Hst

highest RBA allocated
to the key range

46

47

Symbolic unit class
Symbolic unit number
Space reserved for the

key range's low and
high key values. The
length of this field

(ofter last
volume group)

equals twice the key
length

III - 22

BUFFER CONTROL BLOCK (BCB)

Bytes

Field Name

0

4

BUFNBCB

4
8
8

4
20
2

BUFCBAD
BUFRIODR
BUFCURRU

Displacement
Hex
Dec
0

Hex
Digit

Description

Address of the next

BeB entry
4
8
8

Buffer address

va

Read
driver block
Read symbolic unit
number

10

A

2

BUFCURU
BUFBKSTR

12

C

8

BUFRSEEK

12
13
15
17
19
20
24
28
28
30
30

C
D
F
II
13
14
18
lC
lC
IE
IE

I
2
2
2
1
4
4
20
2
10
2

BUFRM
BUFRBB
BUFRCC
BUFRHH
BUFRR
BUFCRRBA
BUFRLFMB
BUFWIODR
BUFCURWU
BUFCKIN
BUFBKSTW

32

20

8

BUFWSEEK

32

20
21
23
25
27
28
2C
30
30

1
2
2
2
1
4
4
2
1

BUFWM
BUF'MIB
BUFWCC
BUFWHH
BUFWR
BUFCWRBA
BUFWLPMB
BUFF LAG
BUFFLAGI
BUFCMW
BUFCFMT
BUFCRRD
BUFRDAHD
BUFPFMT

Current logical unit
Number of physical
blocks to reod

Computed DASD
address for read
M
BB
CC
HH
R
RBA for the read
Address of the read LPMB
Write
driver block
Write symbolic unit number
Write check initialize area

va

Number of physical blocks
to write

)

33
35
37
39
40
44
48

48

Computed DASD address
for write
M
BB
CC
HH
R
RBA for the write
Address of the write LPMB
Flog bytes

X'BO'
X'40'
X'20'
X'10'
X'08'

Flag byte 1:
Write indicator
Format write indic:ator

Read indicator
Recx::l ahead request

BUFCVAL
BUFSSRCD

X'04 1

Format remainder of control
area
Buffer contents are valid

X'02'

Buffer is a sequence set

BUFRESI
BUFFLAG2
BUFALL2
BUFALLl
BUFIOS

X'OI'

record

49

31

1

8UFPURGI
BUFPURG2
BUFRIXRD

x'FF'

Available
Flag byte 2 :

All Bits in BUFFlAG2

X'FF'
X'ESt

All Bit. in BUFFLAGI
BUFCMW + BUFCFMT +
BUFCRRD + BUFPFMT

X'80'

Purge - mU5t write or read
Purge - format
Replicated index read

X'4()I
X'20'

111-23

I

BUFFER CONTROL BLOCK (BCB)

Displacement

Dec

Bytes

( •••• Cont'd)

Field Name

Hex
Digit

Description

BUFF REP
BUFWRINV

X'08'
X'IO'
X'07'

Return buffer by REPBUF
Control interval was
written - another string
Available

Hex

50
50

32
32

!O
2

BUFRES2
BI..fBKTWI
BUFBKTCK

52

34

8

BUFWCKSK

Write initialize area
Number of physical
b locks to check

Computed DASO
address for check (not

52
53
55
57
59

34

60
60

35
37
39
3B
3C
3C

64

40

I
2
2
2
I
4
4
I

BLFCM
BUFCBB
BUFCCC
BUFCHH
BUFCR
BUFVCCHH
BUFVCCB
BLHRFLG
BUFERALI
BUFEIOER
BUFESRCH
BUFESEEK

IBB~F~~~
BUFERBCK

used in release I)
M
BB
CC
HH
R

CCHH for index read
CCB address
I/O error indicator

X'Fe'

All Bits in B.\..IFERFLG
Minus: BUFEDSK BUFGENTCM

X'BO'

I/o error on buffer

X'4O'

X'2D'
X'IO'
X'08'
X'04'

I/O error on search 10

I/o error on seek
I/o error on read

I! 0 error on write
,,0 error on reedback
check

65

41

I

BUFENTCM
BUFEDSK
BLfSTRID

66

42

2

BUFCNOI

68

44

X'02'
X'OI'

I/o operation complete
2314 seek incorrect
String ID of this set of
buffers

4

BUFNABCB

No. of blocks in control
interval to process
Next SCB in AMOSS chain

BCB Extension for local Shared Resources
BUFMDBTS

48

4

76

4C

4

BUFUCHUP

80
84
88
90
91

4
4
2
I
I
7

BUFUCHDN
BUFBSPH

92

50
54
58
5A
5B
5C

99
100
104

63
64
68

I
4
4

72

BUFFLAG3
BUFUSE
BUFHDSID

BUFAMDSB
BUFACB
III - 24

Modification Mask (One
Bit per Transaction-See
BSPH)
Address of previous BCa in
Chain
Address of next BCB in Chain
Address of BSPH
RESERVED
RESERVED
Buffer use Byte (X 'FF' = in use)
Catalog~s ACB Address//CI No
of the Catalog Record for this
Data on Index Component
RESERVED
Pointer to AMOSB
Pointer to ACB

BUFFER HEADER (BHD)

Displacement.
Dec

Hex

0

0

2
4

2
4

Bytes

Field Name

Hex

Description

Digit

i

)

2
2
2

BHDNO

Number of buffers

BHDLEN

Length of control block

BHDRMAX

Maximum number of

buffers ova; lob Ie
Minimum number of

6

6

2

BHDRMIN

8
10

8

2
I

BHDBRC
BHDHFIAG
BHDRAHOK
BHDIXREP

X'80'
X'40'

BHDNSKD

X'08'

A

buffers available
Read-ahead count
Buffer header flag 1

Reed-ahead OK flag
Replicated index read
indicator
I/O with wait for noschedule queue

BHDSKD

X'04'

(BC8NSKDQ)
I/O ~ith wait for

schedule queue
(BCBSKDQ)

II
12
16

B
C
10

I
4
4

BHDMVBCB
BHDFIAG

X'02'

Free buffer is a move

Buffer header flag 2
Reserved

Address of chain of

BHDISTF

free buffers

20

14

4

BHDSKDQ

Address of BCB chain

24

18

4

BHDNSKDQ

Address of BCB chain

28

IC

4

BHDISTW

with pending 1/0
Address of first BCB

32
33

I
I
2

BHDID

34

20
21
22

36
38

24
26

2
2

BHDWMIN
BHDTRACT

with I/O scheduled

requiring

)

X'77'

BHDIOCNT

1/0

BHD identification
Reserved
I/O count of no-schedule

queue (BCBNSKDQ)

Write threshold
Temporary reacl-ahead
count

40
42

28

Number of BCBs on queues

2C

2
2
4

BHDQNO

44

BHDCCHH

CCHH of lost held control

48

30

4

BHDCCBCH

2A

Reserved
area

III - 25

eCB

chain pointer

I

BLOCK POOL HEADER (BKPHD)

Offset
Hex
Dec

Hex
Digit

Bytes

Field Name

BKPLENG

length of the pool of

BKPHDECB

Available
Control allocation of

0

0

2

2
4

2
4

2

4
6

4
6

2
1

Description

blocks
blocks
BKPHDCOM
BKPHWAIT
BKPHDTS

7

7

I

B

8

32

BKPHRSAV

B

8

4

BKPHRS13

12

C

4

BKPHRSI4

16

10

4

20

14

4

BKPHRSOO

24
28
32
36
40

18

4
4
4
4
4

BKPHRSOI

20
24
2B

44

2C

4

BKPHIBHD

48
52

30
34

4
4

BKPSPCHN
BKPERCCB

56
60
60
62

38
3C
3C
3E

4
4

BKPFSTBK
BKPSTECB

X'80'

Not used
Communications byte
Woit flog
Test and set byte
allocation
Space for saving
registers-steal

IC

Save register 13, swap
PLH
Save register 14 during
steal
Save
steal
Save
steal
Save
Save
Save
Save

register 15 during
BCB
register 0 during
BCB
register 1
register 2
register 3
register 4
Save doto buffer headersteal
Save index buffer header steal
Address of next area of blocks
Address of CO chain of errors
(first error ~CB in VSAM

BKPHDBHD

error queue

63

3F

2
1
1

BKPSTCOM
BKPSWAIT
BKPSTTS

111 - 26

Address of first avai I. blocks
ECB-steol BCB, other string
Available
Communications byte

X'BO'

Wait flag
Test and set block

BLD,VRP Parameter List (VRPPL)

Ofh,t
Dec

0

Hex
Hex

Bytes

Field Name

0

4

VRPBFLST

4

4

1

VRPKEYlN

5

5

1

VRPSTRNQ

6

6

6

Digit

Description
Address of buffer list
Maximum keylength in VSAM
Resource Pool
String number of VSAM
Resource Pool
Reserved

VRP Buffer List
The following

12
16

a bytes are

C
10

17
18

11
12

repeated for each subpool specified.

4
1
1
2

VRPBFSZE
VRPBFIND
VRPBLEND

X~O'

VRPBFCNT

Size of buffers in subpoal
Indicotor byte
End of buffer list
Reserved
Number of buffers in subpool"

Buff " Subpool Header(BSPH ')

Hex

Offset

D,c

Hex

Bytes

Field Name

Digit

0
1
2

1
1
2

BSPHID

xlnl

8
12

0
1
2
4
8
C

4
4
2

BSPHLEN
BSPHNM
BSPHNBSP
BSPHBFNO

14
16

E
10

2
4

BSPHMDBN

20

14

4

BSPHFRBN

24

18

4

BSPHBCB

28

lC

4

BSPHMDBT

32

20

4

BSPHBSZ
BSPHCPLH

4

)

36

24

4

40
56

28
38

16
4

BSPHUTOP

60

3C

4

BSPHUBTM
BSPHIST

64

40

4

68

44

'2

70

46

71

47

I:

32-BIT

BSPHECB
BSPHCQM
BSPHWAIT
BSPHTS

x lao'

Description
Control block identifier
Reserved
Length of BSPH
Name BSPH
Pointer to next BSPH in pool
Number of buffers in this
subpool
Reserved
Number of modified buffers in
this sUbpool
Number of free buffers in this
subpool
Address of first BCB in the
subpool
Modification Mask. Each bit
correspond to a transaction
which has modified the buffer
Length of each buffer in this
subpool
Address of the PLH currently in
control of the BSPH
Reserved
Pointer to the top of the use
chain*
Pointer to the bottom of the use
chain *
Address of the first BSPH in the
buffer pool
Control bytes for changing use
chain
Communications byte
Wait flag
Mask byte for test and set

The use chain IS a cham of all BCBs In the subpool. The least recently used BCB
is at the bottom of the chain and the most recently used BCa is at the top.

111-27

I

CATALOG AUXILIARY WORK AREA (CAXWA)

Dec

Offset
Hex

Bytes and Field Name
Bit Pattern

Description

I
3
4
I
I .......
.1 ......

Control Block identifier X"CA"
Reserved
Address of the next CAXWA in the chain
Flags:
Build request

CAXID

... 1 ....
.... I ...
..... 1..

CAXCHN
CAXFLGS
CAXBLD
CAXOPN
CAXCLS
CAXEOV
CAXCMP
CAXMCT

...... I.

CAXCMR

.. I. ....

The catalog is being opened
The catalog is being closed
An end-oF-volume routine is in control
Open /ClosejEOV processing is
l=Master Catalog
O=l)ser catalog
Catalog management has been called by

a catolog management routine
....... 1
I
I .......
.1 ......

.. I. ....
... 1 ....
.... I ...
..... 1..
.... .. x .
.... ... 1
I
I
4
4
4
4
4
4
12
3

CAXSCR
CAXFLG2
CAXF2DT
CAXF2NDD
CAXF2CCR
CAXF2CRA
CAXF2REC
CAXF2EOV
CAXF2CA

ID
II
12
16
20
24
24
28
32
32

A
B
C
10
14
18
18
lC
20
20

35

23

CAXNFCI

38
41

26
29

CAXCDCI
CAXFDCI

44
46

2C
2E

48

30

52
96
96

34
60

97

61

60

CAXACT
CAXATIOT
CAXSCHWA
CAXDRWP
CAXACB
CAXCRACB
CAXUCB
CAXCCR
CAXHACI

CAXRPLCT
4

CAXRPL

44

CAXCNAM
CAXOPLST
COPTS
CENLST

4
1
1.......

COPACB

III - 28

Reserved for OS
Flogs:
The cata log has been de leted

No DlBL file nome found
O=CCR needs to be read

J=CCR has been read
CAXWA for eRA
Recoverable catalog
End of volume flog
Reserved
Free CAXWA if error
Reserved for OS
Cato log acHy ity count

Reserved for OS
Reserved for OS
Address of the catalog's DRWA
Address of the cata log's ACB
Add,ess of CRA (ACB)
Address of the COMREG
Catalog control record information
Catalog interval number of the highest
allocated control interval in the catalog
Control interval number of the next
free control interval in the catalog
Number of deleted control intervals
Control interval number of the first
deleted control interval in the catalog
Reserved
Number of RPLs associated with the
CAXWA
Address of the first RPL in the CAXMlA's
RPL chain
Catalog name
Open/Close paramater list:
Option flags:
End-of-list indicator
Reserved
Address of the catalog's ACB

CATALOG AUXILIARY WORK AREA (CAXWA)

Field Nome

Offset
Hex
Dec

Bytes and

100
104
108
112

64
68
6C
70

4
4
4
4

CAXOPEWA
CAXCCA
CAXJDE
CAXCAT

115

74
7A
7C
82
84
84
88

6
2
6
2
6
4
2

CAXVOLCR
CAXSYSCR
CAXVOLRM
CAXSYSRM
CAXOCPAR
CAXOCACB
CAXOCEOL

112
124
130
132
132
136

( ••• ConHnued)

Description

Bit Pattern

111-29

Reserved for

as

Address of the CCA
Reserved for

as

Address of the catalog's ACB
associoted with eRA
Volume serial of eRA volume
SYS-number of eRA volume

Volume Serial of REM volume
SYS-number of REM volume

o/e parameter

list

ACB address
End of list indicator (X'OA02')

I

CATALOG COMMUNICATIONS AREA (CCA)
Displacement

Dec

Hex

0
2
4
5

0
2
4
5

6

6

Description

Bytes Clnd Field Name
Bit Pattern

Identifier - set to X'ACCA'

2
2
I
1
1
1. ...••.
.1. .....
•. 1. ....

CCAID
CCASZ
CCACD1
CCACD2
CCAFLG1
CCAF1LPS
CCAF1ARA
CCAF1LRD

••• 1 ••••

CCAF1KEY

•••• 0 •••
.... 1. ..
....• 1..
••.•.. 1.

Retrieve the catalog record based
on a DSNAME value
Retrieve by CI number

CCAF1KGE
CCAF1CR
CCAF1UP

Retrieve the next catalog record

Size
Return code 1
Return code 2

Flag byte 1:
Stop the loop
Assign RPL to ARA
Catalog control record read into
virtual storage

A checkpoint of the CCR is required
GET macro instruction issued for
update

.•....• 1 CCAF1DK

When the caller is renaming a data
set, this flag indicates that the data
set's true-namo record is to be

deleted, but the data set's catalog
record is not to be deleted.

7

1
1. .•...•
.1. .....

CCAFLG2
CCAF2SYS
CCAF2NVC

.• 1. ....
••• 1 ....
.•. 0 ...•
.... 1. ..

CCAF2CCT
CCAF2XEQ

..... xx.
..... 1..
...... 1.
•.••••• 1
1
1. .•..•.
.1. .....

Flag byte 2:
Reserved for OS
No validity check on the caller's
CTGFL or work area is required
Single catalog search

Exclusive enqueue
Shared enqueue
When a catalog management routine

CCAF2RHS

CCAF2COB
CCAF2CO
CCAF2CB
CCAF2SMO
CCAFLG3
CCAEXGR1
CCAGC4

calls the VSAM Open routines to open
a newly created catalog, and the Open
routines call VSAM Catalog
Management routines to obtain
information about the catalog to be
opened, the situation is called a
"recursive callI!. The catalog cannot
be dequeued when the Catalog
Management routines return to the
caller (VSAM Open routines),
Combination of catalog open and build:
Catalog" being opened
Reserved for as
Search master catalog only

Flag byte 3:
Exit indicator
The catalog reeord contains a password
group occurrence (identified by Group

Code 4) (detected during IGGPSCNC
processing)

.·1 •...•
••• 1 .••.

CCAGDSP
CCAEXGR2

GENDSP
Exit indicator

111- 30

CATALOG COMMUNICATIONS AREA (CCA) (.... Cont'd)
Displacement

Bytes and

Dec

Bit Pattern

Hex

Field Name

Description

.... 1. ..
.... .1..

CCANF
CCAELC2
.. 1. CCALFT
... 1 CCAEGREC
CCAFLG4
I
CCAF4DRQ
1. ..

The group occurrence cannot be found

Exit indicator
First time
Exit indicator
Flog byte 4:
The catalog must be de queued after
the request completes
Bypass the security verification
The required variable-length field is
not completely contained in the record
currently in the buffer
The group occurrence identified by the
caller-specified sequence number
cannot be found
There is no buffer space available to
contain on extension record
Exit indicator
The field does not exist in the located

....

....

10

A

.1 ......
.. 1.

....

CCAF4BYS
CCAGVNC

... 1 ....

CCAGVNF

....
....
....
....

1. ..

CCAGVNBS

.1. .
.. 1.

CCAGYEX
CCAGVNE

group occurrence

... 1 CCATCOMP

I
1. ..
.1. .
.. 1.
... 1 ....

....
....
....

CCAFLGS
CCAMEX2
CCAMEX
CCAMEXI
CCAMODPA

....

1. ..

CCATHIT

..... 1..
.. 1.
... 1
I
1. ......

CCATEX
CCATEXI
CCATEX2
CCAFLG6
CCAMCODR

....
....

CCAMNOSP

....
....
II

.1..
.. 1.

CCADELP

... 1 ....

CCAINIT

....
....

I. ..

CCASUPFD

.1. .

CCAREUSE

Test complete: all group occurrence
pointers have' been examined and all
designated fields have been tested
Flag byte 5:
Exit indicator
Exit indicator
Exit indicator
The catalog record's base record must
be written (using IGGPPAD) into the
catalog
Succe»ful test: a group occurrence
has be found that satisfies the test
conditions
Exit indicator
Exit indicator
Exit indicator
Flag byte 6:
The catalog must be dequeued when the
request completes
A deleted group occurrence pointer
was found
The catalog record's free space isn't
large enough to contain all the new
catalog information during the group
occurrence move operation
Insert switch for variable-length
field being retrieved
Suppress password field information
during field retrieval
The contents of the caller's record
areas (buffers) can be used by

IGGPEXT end IGGPMOD
111-31

I

CATALOG COMMUNICATIONS AREA (CCA) ( •.•• Conl'd)

Displacement

Dec

ex

Bytes and Field Name
Bit Pattern

...... 1.

Description

Set when a catalog management
routine calls the Extract routine

CCAEXT

(lGGPEXT)
Set when a catalog management
routine calls the Modify routine

.•••••• 1 CCAMOD

(IGGPMOD)

~

C
D
10
14
18
lC
20

4
4
4
4
4

CCALBLEN
CCALBCYL
CCADPL
CCACPL
CCAACB
CCANPCCB
CCAURAB

36

24

44

CCASRCH

CCASRID
CCASRCIN
CCARABO

12
1~

16
20
24
28

I
3

~
~

24
24

3
3

80

50

20

Count field in units of 128 bytes
Address field
Address of the DADSM parameter list
Address of the caller's CTGPL
Address of the catalog's ACB
Address of next pees
Address of the record area block

(RAS) currently in USB
Search argument (DSNAME of a
dwter, data, index, catalog, or non
VSAM data set, or a volume serial
number)
Control interval number
Control interval number
Record Area Block 0: Each record
area block describes the catalog

record contained in one of the six
catalog management buffers available
for the ,equest. RABs 1 through 5 are
identical in format to RAB o.
Note: "x" in each field name is
replaced by ''0'' through "5" to
indicate a particular RAB's field.

80

50

1

CCARxFLG

Flags'
The following flag is used by IGGPEXT

and IGGPMOD,
1. ......

CCARxUR

The RAB is in use. It cannot be used by

.1. ..•..

CCARxUI

.. 1. ....
••. 1 .••.

CCARxU2
CCARxWR

.... 1. ..

CCARxPA

The RAB is temporarily in use by
IGGPEXT or IGGPMOD. It cannot be
overlaid
(Same as CCARxUl)
The buffer must be written before
another catalog record can be read
into it
The buffer contains a new catalog
record - PUT -acid is required to add
the record to the catalog
Reserved
Update buffer not reused
Lest assign, RPL index
Reserved

IGGPEXT or IGGPMOD

.... . xx .

81
82
84

88

51
52
54
58

•..• : .• 1 CCARxUPD
I
CCARxRPL
2
4
12

CCACPEIX
CCARxSEG

Address of the record in the buffer
Addresses of segments

Inc32

CATALOG COMMUNICATIONS AREA (CCA)

Field Nome

Description

4

CCACPE2x

4
4

CCACPE3x
CCACPE4x

20

CCARABI

Address of the first byte after the
fixed-length header fields
Address of the first group occurrence
Address of the first free-space byte
in the record
Record Area Block 1 (See RAB 0
description)
Record Area Block 2 (See RAB 0
description)
Record Area Block 3 (See RAB 0
description)
Record Area Block 4 (See RAB 0
description)
Record Area Block 5 (See RAB 0
description)
Assigned RPL count
Index to RPL found

Bytes and

Displacement
Hex

B it Pattern

88

58

92

96

5C
60

100

64

Dec

( ••• Cont'd)

120

78

20

CCARAB2

140

8C

20

CCARAB3

160

AO

20

CCARAB4

180

B4

20

CCARABS

200
201
202
202

C8
C9
CA
CA

1
1
1
1

CCARPLK
CCARPLF
CCARPLX
LPINDX

202

CA

1

CCARPLX

Work byte for catalog RPL

202

CA

1

XIOOPT

I/O

1. ......
.1. .....
.. 1. ....

XIOGET
XIOERS
XIOARA

I=GET, O=PUT
ERASE

... 1 ....

XIOKEY

.... 1. ..
..... 1..
...... 1.

XIONU?
XIONCK
XIOTNE
XIOKGE
XIOSEQ
CCARPLT
CCARPLAA

Work byte for ARPL, RPlM
Loop indexing control (counter)

(mult.-use)
options

l=ouxilicry record area required
O=user record orea required

203
204
210
212
216

CB
CC
D2
D4
DB

....... 1
....... 1
1
6
2
4
132

216
217
218

D8
D9
DA

1
1
2

CCANDEXT
CCAIXEXT
CCASSVOL

220
220

DC
DC

128
2

CCAEXTDE
CCAEXTSS

CCARPLI
CCADESA

111 -33

l=keyed required
O=oddress requi red
No update required
No error check required
l=true name entry
O=narmal entry

GET NEXT (GET)
PUT SEQ (PUT)
Work byte for ARPL, RPLM
Indices to assigned RPLs
Reserved
Address of the RPL in use
Save area for the extent information
returned by VSAM DADSM and
Catalog Management: Suballocate
Number of extents
Extent index value
Sequence number of the data set
directory entry in the volume catalog
record
Sixteen 8-byte extent descriptors:
Sequence number of the Data Space
group occurrence'that this extent's
space is a port of

I

CATALOG COMMUNICATIONS AREA (CCA)

( ..• Coot'd)

Description

Hex
DE
DE
EO
E2
E4

Bytes and
Bit Pottern

Field Name

Dec
222
222
224
226
228

4
2
2
2
120

CCAEXTAD
CCAEXTCC
CCAEXTHH
CCAEXTTH

The extent's starting physical address:
Cylinder number CC

348

15C

I

CCAASCIK

349
350

15D
15E

I
I

CCACRRP
CCAASCIX

Displacement

Head number HH

Number of tracks in the extent
Spole for remaining 15 extent

descriptors
Number of control intervals required

to satisfy the caller's request

RPL used for reading CCR
Used by the ASSIGN functions - points
to the element in

351
352

15F
160

I
9

CCASRPLX
CCAASCI

361
364
364

169
16C
16C

3
16
I

CCAUPGD
CCAEQDQ
CCAEDXFF

365
366

16D
16E

I
I
I .......

CCAEDRLN
CCAEDOPT
CCAEDSHR
CCARl5EB

367
368
372
376
380

16F
170
174
17B
17C

I
4
4
4
4

CCAEDRCD
CCARTSAV
CCACOMRG
CCAEDUCB
CCAMLRET

384
384
388
392
393
394
396
400
400

IBO
180
184
IBB
IB9
18A
18C
190
190

12
4
4
I
I
2
4
8
4

CCAMSSPL
CCAMNLEN
CCAMNPTR

404

194

4

CCAEXCMS

.1. .....
.. xx xxxx

CCAMNSPL
CCARPRM
CCACMS
CCACMSWA

CCAAScr currently

being processed
Saved RPL flags
Number of each assigned control
interval
Control interval for UPG modification
Enqueue/Dequeue parameter list

End of parameter list, indicator byte
=X'FF' (if list is empty)
Length of minor name

Enqueue/Dequeue Options
I=Shared, O=Exlusive
Release control bit
Other options (set by macro)
Engueue/Degueue return code
Save area for CCAMLRET
COMRG pointer
Work area
Address of the caller's save area
used by IGGOCLAG
GETVIS/FREEVIS parameter Iist area
Number of bytes to process
Address of the return address
Reserved for
Reserved for
Reserved for
Return parameters
Catalog Management Services work area
Address of the CMS calling routine's
work area
Address of a secondary CMS work area

as
as
as

The following fields ore set and used by IGGPlOC, lGGPEXT, and IGGPTSTS,
and catalog management subfundions which these procedure call :

408
408
412
416
420
424
42B

198
198
19C
lAO
IA4
lAB
lAC

0
4
4
4
4
4
4

432

IBO

4

436

IB4

4

CCALUME
CCACPES
CCACPE51
CCACPE52
CCACPE53
CCACPE6
CCACPE61
CCARABSE
CCACPE7
CCAIDPT
CCACPE71
III - 34

Address of a selected group occurrence
(Same as CCACPES)
(Same as CCACPE5)
(Same as CCACPES)
Address of a selected group occurrence
(Some as CCAPE6)
Save extract caller URAB
Address of field value
Insert data address
Alternate address to field value

CATALOG COMMUNICATIONS AREA (CCA)

Displacement
Hex
Dec
IB8
IRA

440
442

Bytes and Field Nome
Bit Pattern
CCAGOPLN
CCASL

2
2

448

IBC
ICO

4
4

452
456

IC4
IC8

4
4

460

ICC

4

444

CCAILNG
CCAfLPT
CCATfLPT
CCARABPT
CCAOICT
CCAXCPL
CCAMCPL

464

100

4

CCARABB

468

104

4

CCARABf

472

108

4

CCARABL

476

10C

3

CCACBASE

479

IDf

I

CCAGC

4BO

lEO

2

482

IE2

2

484

IE4

CCALREL
CCALRELl
CCASN
CCASNI
CCAfLGB
CCARPUT
CCAL5TC
CCAEXTCR
CCABLDCR
CCASPUCO
CCASCAX

I

1. ......
.1. .....
.. 1. ....
•.• 1 •••.

.... 1. ..
..... 1..
...... 1.
485

IE5

•••••.. 1
I

1. ......
.1. .....
.. 1. ....
••• 1 ••••

..•. 1. ..

..... 1..

CCAUPG
CCABUf
CCAfLGA
CCAUPGRR
CCARGET
CCALBfVT
CCACCARD
CCAflLSV
CCACANIN

•••.•• xx
486

IE6

2

CCAIXfPL

488
490

IEB
lEA

2
2

CCAIXREL
CCATNREL

111 - 35

( ••• Cont'd)

Description
Length of the group occurrence pointer
Length of sequence number field
(RELREPNO) in the group occurrence
Length of the selected retrieved field
Address of the requested-fie Id CTGFl
Address of the CrGF L-for-tests
Address of the record area block
Dictionary information to describe the
field, based on its field nome
Address of the CTGPL built when

IGGPEXT and IGGPMOD are called, so
that information in the caller's CTGPL
is not altered
Address of the RAB that identifies the
base catalog record
Address of the RAB that identifies. the
first record area (buffer) that can be used
by IGGPEXT or IGGDMOD
Address of the RAB that identifies the
lost record area (buffer) that can be used
by lGGPEXT or IGGPMOD
The control interval number of the base
catalog record
Group code of the requested group
occurrence
Relative repetition number of a selecte
group occurrence
Sequence number of a selected group
accurrerce
CRA flags
Inhibit CRA PUT
List cat .equest
Extend CRA in process
Open request for CRA bui Id
Special UCAT
l=CRA CA><:NA search;
0= UCA T CAXWA search
1=upgrooe ; O=no upgrade
Output buffering flog
More flogs
RABl to be restored by upgrade module
Get record for compare before update
CRA
l=Multiple file porameter search at define
Indicate CCR for CRA has been reached
Save indicator flog CCAFllRD
Cancel inhibit
Reserved

Index to the current CTGFl being
processed
Index for CCATREl
The sequence number of the next group
occurrence to perform tests against if
CCATREl is full or if there are no buffers
available to contain the catalog record's
next extension

I

CATALOG COMMUNICATIONS AREA (CCA)

( •.• Cont'd)

Displacement

Bytes and

Field Name

Description

Dec

Hex

Bit Pottern

492

1EC

2

CCATNUM

494
526

lEE
20E

32
2

CCATREL
CCATNO

528
532
532

210
214
214

4
20
2

CCATEST
CCARBA
CCASS

Number of successful relative repetition
numbers (cannot exceed 16)
Successful relative repetition numbers
Totol number of successful relative
repetition numbers (might exceed 16)
Address of the test CTGFl
Work orea for extent descriptors

534

216

4

CCACCHHI

538

21A

4

CCACCHH2

542

552

21E
220
224
228

2
4
4
2

CCATT
CCARBA1
CCARBA2
CCATLNG
CCATLEN

554
556
558
560

22A
22C
22E
230

2
2
2
4

CCARBAL
CCACNIX
CCAREASN
CCAIDPT2

564

234

4

CCAIDPT3
CCARABSM

Sequence number of the Doto Space
group occurrence that contains the extent

Physical address -CCHH - of the extent's
track

fi~t

544
548

568

238

2

CCAGVCT

570

23A

2

CCANEVV

572

23C

3

CCAGVEXT

575

23F

1

CCANEFV

516
577

240
241

1
I

CCAGRGC

578

242

2

580
582

244
246

2
2

CCAGRHI
CCAGRHll
CCAIXTPL
CCADLEN

584

248

2

CCADIFF

586

24A

2

CCAREPCT

588

24C

2

CCADISP

590

24E

3

CCASVCI

593

251

3

CCASVCll

111-36

Physical address -CCHH - of the extent's
lost track
Number of tracks in the extent

Low relative byte address (RBA)
High relative byte address (RBA)
Total length of the extent information
that has been processed (CCATlNG) i
total length of the scanned field so for
(CCATLEN)
RBA extent ba lance
Combination name index
Reason code
Address of the available space in the
caller's work area or of the callersupplied update information
Address of the length-field of a
variable length field in the user's
return area
Number of group occurrence pointers
processed so far
If the requested variable-length field is
non-extent, this field is set to binary zero
Control interval number of the record's
next extension record (not yet in a buffer)
If the requested fixed-length field is
non-extent, this byte is set to X"FF".
Reserved
Group code of the requested group
occurrence
High relative repetition number
Index to test FPL
Number of bytes to be deleted from the
catalog record
The difference between the insert length
and the delete length (can be a negative
number)
Number of relative repetition numbers
processed so far
Displacement into variable-length field to
the delete/insert location
Save area for the control interval number
of the base catalog. record
$ave area for the control interval number

CATALOG COMMUNICATIONS AREA (CCA)

)

( .•• Cont'd)

Field Nome

Description

4
4
2
2
4
4

CCADTA
CCACDTA
CCADTCT
CCACDTCT
CCACWAP
CCAMNADR

Address of the dictionary

268
26C
270

4
4
4

CCAILNG3
CCAILNG2
CCAALPTR

274
278
27C

4
4
1

Displacement

Bytes and

Dec

Hex

Bit Pattern

596
600
604
606
608
612

254
258
25C
25E
260
264

616
620
624
628
632
636

Address of the index combination tcble
Number of dictionary entries
Number of index combination entries
Controller work orea
Address of the virtual storage obtained by
a

650
653
656
659
662

27D
280
284
288
28A
28D
290
293
296

CCALCPL
CCAFLG7
CCALSP
CCANRLSE
CCACKDEL
••• 1 ..•• CCASMFBR
.... 1. .. CCAONCE
..... 1.. CCAROREO
...... 1. CCAFEOV
.... ... 1 CCAEQOPN
CCARCI
3
CCALABSV
4
CCARABSV
4
2
CCAMODUL
CCACHAIN
3
CCACII
3
3
CCACI2
CCACI3
3
2
CCAVARLN

664

298

4

CCARRAB

668
672

29C
2AO

4
4

CCARBASE
CCAVARPT

676

2A4

2

CCADELN

678
698
718

2A6
2BA
2CE

20
20
3

CCAVAR
CCAVAR1
CCADELl

11.··
....
.1. .....
.. 1. ....

637
640

644
648

GETVI5 request

Save area for the insertion length
length of the user-supplied insert dato
Address of the space management work
area
Reserved
Reserved for

as

Flags:
Reserved for OS
Release Control Bit

De lete switch
Do GET for base record
Move only one occurrence
Read only request

Force EOV
Enqueued on SYSOPEN
eRA Record control interval number
Saved address of IKOLAB area

Saved address of RAB
Module name
Control interval number save area
Control interval number save are

(Some as CCAell)
(Same as CCACtl)
Number of bytes to he inserted into
the record
Address of the RAB containing the
group occurrence pointers where

delete/insert processing is to begin

(Some os CCARRAS)
Address of the information to he
inserted into the record
Number of bytes to be deleted from
the record

721

2D1

3

CCADEL2

724
764

2D4
2FC

40
4

768
770
772
774

300
302
304
306

2
2
2
1

CCAXLATE
CCAR14S
CCABMINP
CCABMTRK
CCABMLlM
CCABMMIN
CCABN'fLG

III - 37

Insert information save area

(Some as CCAVAR)
The control interval number

of the first

record in a series of records to he
deleted
The control interval number of the lost
record in a series of records to he
deleted
Translation work area
Register 14 save orea
Input parameters to IGGOClBR
Starting track
Check limit I nn for set
Conditional check minimum
State and function code

I

CATALOG COMMUNICATIONS AREA (CCA)

Displacement

Dec

Hex

( ..• Cont'd)

Bytes end
Bit Pattern

Field Name

Description

1. ......

CCABMST

• 1. .....
.. 1. ....

CCABMCHK
CCABMSET
CCABMCCK
CCABMLST

This bit can be 0 or 1 and is the state
for which an extent is to be checked
(if bit 1 is on) or the state to which
a map bit is to be set (if bit 2 is on) .
ON-Perform check
ON-Perform set
ON-Perform condition check
ON-last set request (write)
Reserved

•.. 1 .•..

.... 1...
. . . . . xxx

775
776
776
778
780

307
308
308
30A
30C

781
787
78B
792
796
800
802
804
806
808
BI2
BI6
B20
824
828
832
836
840
B44
B48
852

30D
313
314
318
31C
320
322
324
326
328
32C
330
334
338
33C
340
344
348
34C
350
354

B56

358

4

CCASCAXS

B60
864
868
876
884

35C
360
364
36C
374

4
4
8
8
8

CCASCAXA
CCADEVT
CCANMFI
CCANMF2
CCANMF3

I
0
2
2
I

1. ......

Reserved

CCABMOUT
CCABMONN
CCABMOTR
CCABMOFG
CCABMOST

• xxx xxxx
1 6
I
4
4
4
2
2
2
2
4
4
4
4
4
4
4
4
4
4
4
4

Output parameters from
Track number

IGGOCLBR

Starting track
Output flogs
State of bits
Reserved

CCAVOLCR
CCABMPAD
CCABMGOP
CCABMPTR
CCABMEND
CCABMBTl
CCABMBTL
CCABMBYT
CCABMSTR
CCABMWKI
CCABMWK2
CCABMWK3
CCABMWK4
CCABMRBI
CCABMRB2
CCACARWA
CCACRABF
CCASACB
CCAEXC
CCASR'L
CCAADBUF

eRA volume identification
Podding character
Current bit mask GOP
Address of current bit mask byte
End of current bit mask

Bit count I first byte
Bit count I last byte

Number of full bytes
Current bit mask, start track

Work field
Work field
Work field
Work field
Address of first bit map RAB
Address of second RAB
Address of eRA definition work area
Address of CRA buffer
Address of saved CCA, ACB field
Save address for CCA ACB
Address of saved CCA, RPL field
Address of cluster record buffer, cluster
record saved until CRA volume known
Address of search argument for CAXWA
chain search
Address of found CAXWA
CRA volume device type
Nome fie Id of variable open resource
Name field of variable open resource
Name field of variable open reSOurce

The following two fields are used by the no-upgrade/upgrade function, called by
ALTER, DEFINE or DELETE

B92
895
89B
B99
900
904
908

37C
37F
382
383
384
388
3BC

3
3
I
I
4
4
4

CCAXDCI
CCAXICI
CCACATIN
CCACO'TR
CCADEVA
CCAFARE
111-38

AIX data control interval number
AIX index control interval number
ClAH indicator
Reserved
CLCO work area
Address of device character return area
Address of file identification

CATALOG COMMUNICATIONS AREA (CCA) ( •.• Coot·d)

Offset

Dec

Hex

912
916
918
920
911J
911J
964
1308

390
394
396
398
3CO
3CO
3C4
SIC

Bytes and
Bit Pattern

Field Name

Description

4

CCAAREA

Pointer to address of label record area

2

CCAMDSAV

Save area for CCA module

2
40
348
4
8
0

CCARSSAV
CCATEMPS
CCAREGS

Save area for CCA

CCAMODNM
CCAEND

III - 39

Temporary area for Pl$

Save area for registers
Address of user save area
Load module name

Eod CCA

I

CONTROL INTERVAL WORK AREA (CIW)
Offset

Bytes and

Dec

Hex

Bit Pattern

0
0
4
6
12
16
20

0
0
4
6
C
10
14
16

46
4
4
4
4
4
4
24
4

Field Name

Description

Register Save Area for [KQCIS

~~

30

CIWAVE
CIWAVR14
CIWAVR15
CIWAVRO
CIWAVRI
CIWAVR2
CIWAVR3
CIWLNGTH

Register save cree (12 Reg.)
Register 14
Register 15
Register 0

Register I, RDF shift count on entry

Register 2, RDF modification offset
Register 3, RDF doto work area
Reserved
Length of work area

Space Manager Save Area

52
56
60

34
36
3C

4
4
4

64
66
72
76
60
64
68
92
94

40
44
46
4C
50

4
4
4
4
4
4
4
2
2

CIWSPA14
CIWSPAI5
CIWSPA03

Register 14

Register 15
Register 3

[KQPFO Work Area

54
58
5C
5E

CIWPF014
CIWPFOOO
CIWPFOOI
CIWPF002
CIWPF003
CIWPF004
CIWACB
CIWSVC

Register 14
Register 0
Register 1
Register 2

Register 3
Register 4

ACB pointer for TCLOSE call
sva in TCLOSE call list
UNUSED

1KQRRP Work Area
The work orea for IKQRRP overlays the work area for IKQPFO

64
66
72
76
60
64
88
92
94

40
44
48
4C
50
54
56
5C
5E

4
4
4
4
4
4
4
2
2

CIWRRP14
CIWRRPoo
CIWRRPOI
CIWRRP02
CIWRRP03
CIWRRBA
CIWRRPLN
CIWRSEOF

Register 14

Register 0
Register 1

Register 2
Register 3
Beginning of RBA in extent
Preformat length

SEOF indicator

UNUSED

rKQNCA Work Area

96
100
104

60
64
66

4
4
4

CIWNEWI4
CIWNEWOl
CIWNEW03

111-40

Register 14
Register 1
Register 3

CONTROL INTERVAL WORK AREA (OW)
Bytes and

Offset

(

... ConHnued)

Field Nome

Description
Low RBA of data control area
(new control orea)
Index RBA of old sequence set record

Dec
108

Hex
6C

4

CIWCARBA

112
116
120

70
74
78

4
4
4

CIWCIRBA
CIWNXRBA
CIWDARDBB

124
128
132
136
140
144
148
152
154

7C
80
84
88
8C
90
94
98
9A

4
4

4
4
4
2
2

CIWCAS14
CIWCAS03
CIWHINEW
CIWSPTR
CIWHIOLD
CIWEPTR
CIWAKEY
CIWEINC
CIWSRR

156

9C

4

CIWXBUFA

Bytes

Field Name

Bit Pattern

Index RBA of new sequence set record

Address of dotc ARDB

IKQCAS Work Area

Offset
D

~

diname

: control among device independence routines, message processing, control card processing;
DTFDAs for DPS fiI.s with verify, DTFCN, DTFDI,and DIMOD for SYSLST ond SYSIPT, DAMOD
diname 1 : DTFDAs for DPS files with verify specified
diname2 : DPS file initialization; DPS VTOe and volume processing, and documentation
diname3 : SAM file processing, DTFSDs, SDMODFO (forward)

diname4 : SDMODFI (backward only)

~

diname5 : DTFDAs, DAM processing

Z

diname6 : DTFlS (load), ISMOD (load), fo:DPS sector buffer port 1

CRBUFSC3

T

C~~

~T

ops sector buff."a,-,"'po"-,''''2=--_ _ _ _ _ _ _ _ _ _ _-'_

_

I

• For further explanation see the end of the table

IV - 39

DATA INTERCHANGE COMMUNICATION REGION FLAG BYTE LAYOUT

Displacement

Dec

Hex

Field

Bytes

16

C

CRHMSGN

2

24

18

CRHIMSGN

2

26

IA

CRHFLAGS
CRHTYI
CRHTYD
CRHTYA
CRHTYB
CRHTYC
CRHTYP
CRHTYS
CRHFlP2
CRHERMSG

I
10000000
01000000
00100000
00001000
00000100
00000010
00000001
I
00000010
00000001
I
10000000
01000000
00100000
00010000
00001000
I
10000000
01000000
00100000
00010000
00001000
I
I
10000000
01000000
00100000
00010000
I
10000000
01000000
00100000
00010000
3
2
2

27

IB

28

IC

29

ID

106
114
120

6A
72
78

CRHPRMSG
CRHSMSG
CRHSCVRY
CRHSCEOJ
CRHSCSKP
CRHSCIGN
CRHSCRTY
CRHREPl Y
CRHRPVRY
CRHRPEOJ
CRHRPSKP
CRHRPIGN
CRHRPRTY
CRHERTYP
CRGDEV20
CRGM2011
CRGM2014
CRGM2030
CRGM2040
CRGDEVDS
CRGDOSII
CRGDOSI4
CRGDOS30
CRGDOS40
CRCNEXPD
CRCTVNBR
CRCYlXVN

122

7A

CRCDFlVN

2

124

7C

CRCDElP

2

126

7E

CRDDELID

I

30
42

43

IB
2A

2B

IV - 40

Field description

Internal number of next priority J
message
Internal number of entry in message

directory
Message flags
Information

Decision
Action

Automati c EOJ
Another to be printed
Message on printer keyboard

Message on $VSLST
Flags for priotity 2 messages
[nvalid response to action or
decision message
HELP entered
Screening mask for message directory
Any reply is valid
EOJ is valid
SKIP is valid

IGN is valid
RETRY is valid
Reply mode by operator

Other than EOJ, SKIP I IGN, RETRY

EOJ
SKIP
IGN
RETRY
Contro I card error type

DPS device specified at generation

2311
23140,·2319
3330
3340
DOS device specified at generation

2311
2314 or 2319
3330
3340
New expiration date for M20 file YDD
Number of DPS volume to be processed
ISAM, DPS volume that contains the
cylinder index. Default value is one
[SAM, DPS volume that contains the
independent overflow. Zero if no
overflow area.
ISAM copy. Position of delete byte
in record zero if no record deletion
ISAM copy. Delete byte, X'FF' is
default.

DATA INTERCHANGE COMMUNICATION REGION FLAG BYTE LAYOUT ( •••• Cont'd)

Field

Bytes

Half byte
1000
0100
0010
0001

09

CRCOPT
CRCFWCY
CRCBWCY
CRCFDOC
CRCVDOC
CRCINDIC
CRCVRFY
CRUISF
CRDOSIA

9C

CRSMDFAI

4

Displacement

De c

Hex

127

7F

144

Half byte
1000
0100
4

Field description

Options

forward

Backward
File documentation
Volume documentation

Indicators
Verify specified

U!S Cord
A(DOS IOAREA) foe SAM and DAM
or

156

DOS WORKL for [SAM forward

ISAM,
A (OTF to process prime data area
extent)
Other file:
A (OTF to process the extent)

164

A4

CRSCYDFA

4

Non lsom fi Ie:
points to DFDA addressed by
CRSMDFAI
[SAM Multivolume:

A (DTFDA to process the cylinder index
extent) except if cylinder index and
independent overflow are on the same
volume

168

A8

CRSOVDFA

4

[SAM file:
A(OTFDA to process independent
overflow extent

A(DTfDA to process the independent
overflow extent and the cylinder index
extent)

254

FE

266

lOA

420

lA4

472

ID8

CRFVTOCF

2
X'8OO0'
X'4OO0'
X'2OO0'
1
00000100
00000010
00000010
1
10000000

CRFVTOCE
CRFVNOFI
CRFVNOF3
CRFVOLNB
CRVOLFI
CRVOLF3
CRINITSW
CRFVDIND
CRFVDR2H

01000000
00100000
00010000
00001000
00000100
00000010
00000001
1
10000000

CRFVDB2H

01000000

CRFVDBDH

00100000

CRFVDBDM

00010000"

r.,v,xIf

00001000
IV - 41

CRFILTYP
CRFISEQ
CRFSEQ
CRFDA
CRFEXTYP
CRCYLTYP
CROVTYP
CRPDTYP

---------

if they are on the same vo lume

File type

IS AM
SAM
DAM
Extent type
Cylinder extent
Overflow area
Prime data or consecutive aree
VTOC indicators
First half of DPS sector being processed
(bit 1=0 indicates second half)
End of DPSvrOC has been encountered
No format 1 lobel
No format 3 label
Incorrect volume number
Next f 1 label to be read
Next F3 label to be read
File to be opened (DPS file initializotion)
Documentation indicotors
DPS record size greater than track
capacity
DPS block size greater than track
capacity
DOS block size greater than track
capacity
DOS block siz.e i~ not a multiple of
DPS block size
No extent found in f 1 label

I

DATA INTERCHANGE COMMUNICATION REGION FLAG BYTE LAYOUT (Cont'd)

Displacement
Dec
Hex

Field

Bytes

474

CRFDASTN

2

ID4

Field description

Sector number beginning of data area

SAM=DPS cylinde,

}

DAM= DPS extent
ISAM::: DPS prime

data area

data cylinder
Error indicators from ERRBYTE DOS
DTFDA defining the M20 File
Error indicators from ERRBYTE DOS

488

IE8

CRMERBYT

2

490

lEA

CRDERBYT

2

500

IF4

CRFDKEY

8

Note:

GPR3 points to the data interchange communication region.

DTFDA defining the DOS file

Problem determination aids:

(DAM only)
DOS file key (DA copy) which is the
M20 ID (MBBCCHHR)

use the diagnostics facilities of DOS/VS

The 01 Program is not dependent on the Hardware compatibility feature,# 7520
and con run on any mode I supported by DOS/VS

IV - 42

CHAPTER V
14xx EMULATOR

I

1401/1440/1460 AND 1410/7010 COMPATIBILITY FEATURE INSTRUCTIONS
DIL
1400 fetch, address trans-

I~D1L

Assists in emulating 1400

branch operations

latfon and indexing

I

BlFLAG
Checks the AAR and BAR
rcgbtcn to malee sure

they contain valid
addresses

Error checking

r - - - - This instruction is treated

Branching to emulator
routines for execution
of. most 1400 operations

as a no-operation with
the high speed Feature

fo, Model 135HS
COMP

ANUM

Performs the 1400 compare
function, providing a
6-bit compare, for the
internal format used by

the emulator

;--

Performs 1400 arithmetic

operations (except
multiply and divide)

r----

This instruction is not
provided with the high
speed feature for Model

135HS
MCPU
Moves 1400 doto within
emu loted storage

~

Ml0
Assists in emulating 1400

input/output operations
by moving data between
r - buffers. System/370, and
emulated 1400 core storage

MULDIV (1401 only)
Performs the 1400 multiply
and divide instruction

Converts data. from EBCDIC
to internal code and
vice-verso

>--'

This instruction is provided
on Iy with the high speed
feature for Model 135HS

Compatibility Feature Instruction Set

I I
EA

High Speed Feature Instruction Set

;'

V-Ol

I

1401/1440/1460 AND 1410/7010
HOW DIL INSTRUCTION FETCHES 1400 INSTRUCTION

EMULATED

MR

1400
INSTRUCTION IN
EMULATED
STORAGE

I
..---........
A 5 0 3

__ ~~RULATED
-EJ

~------41~LI
926

I

yo
y-----

t

92_6_---,1

737

EMULATED
IAR

r

I

I
L

N
E

R
A
L

P
U

R
P

o
S

E

1400 LOCATION 730

I
I

G
E

----------------0] ~~~~i~~ION- ~
GBASE

R

CODE TABLE

I
S
T

E
R

XXX

REGISTER
FOR THE ADD
ROUTINE

S

ADD ROUTINE
Call the campotibiJity feature to
~ perform the add

function

ANUM /

Return to the compatibil ity feature

-t" for interpretation
DIL - - - -

V-02

of the instruction
located by JAR

1401/1440/1460 AND 1410/7010
TAPES IN SPANNED FORMAT AND 1400 FORMAT

II

TM

=

Tape mark

IRG<:: Inter-record gap

1400 FORMAT

V-03

1401/1440/1460 AND 1410/7010
EMULATED 1400 CORE STORAGE IN SYSTEM/370 MAIN STORAGE

FF

FF

FF

FF

FF

FF

FF

FF

IIQCPORG(1401)

IIRC~ORG(141~

EMULATED 1400
CORE STORAGE ~::::

~

~
FF

FF

FF

FF

FF

FF

FF

FF

IIQCPEND (1401)
IIRCPEND (1410)

SYSTEM/370 BYTE

1400 CHARACTER

o

bit B

1
2

bit 4
bit 2

3
4

bit
bit
bit
bit

5
6
7

J

B
A
W

bit always 0

V-04

EXAMPLE,
CWBA8421
in BCD format becomes:
8421BAWC
in internal format.

1401/1440/1460 AND 1410/7010 COMPATIBILITY FEATURE

REGISTER
2

BYTE 0

BYTES 1,2 AND 3

Zero

Zero

COMMENTS
Work register for

compatibil ity feature
3(COMREG) Zero for valid
address

Communication region
base register

Binary address of
communication region

4 (BAR)

Zero for"valid
address

B - address register

Binary address of
current 1400 B - field

5 (AAR)

Zero for valid
address

A- address register

Binary address of
current 1400 A - field

6 (lAR)

D1LCNT

7(BASOP)

Control byte

1400 instruction

Binary address of next

counter

1400 instruction to be
fetched

Emu lotion routine
base register

Binary address of
routine

e~ulation

Contents of GPR 2 through GPR 7 used by the compatibility feature

Emulator Unit Control Block

(ELCB)

One for each device to be emulated.
Created ot generation time, modified with emulator control
stotements.
SUB

For tope drive and UR device.

DUB

For each DA device.
Followed by a disk extent toble (DUBEXTPT) used
to locate 1400 disks in CS format on 5/370 disk pack

EMDTF

Interface between DOS logical or physical IOCS
and emulation routines of the emulator.
Contains: CCW and CCB or DTFPH for the file,
EOF indicator, parity, error indicator, data address.

Emulator Channel Control Block

(1410/7010 only) (ECCB)

For each emulated 1400 channel.
Contains: channel status indicator, device assignment table, EAR,
FAR, GAR, or HAR

V-05

I

1401/1440/1460 PROGRAM ORGANIZATION

Emulator program overlay tree:
IIQCROI
IIQURS
IIQURI'
IIQI4DEB
IIQINECB
IIQOJED
IIQSDR
IIQMWTR
IIQOACON
IIQOBCON
IIQINHF
IIQINEIO
IIQCCPRO
IIQCCCS
IIQCCMOD

IIQSTR
IIQCPA
IIOCPl
IIOCPC
IIQIDCS
IIQEIOCS
IIQEJR
IIQBFEIO
IIQTPMlU
IIQMTMOD
IIQNTDOS
IIQVTDOS
IIQDSDOS
IIQDSMOD
IIQDICS
IIQDKCS
IIOCN
IIOCNMOD
IIQIUDOS
IIQEPE
IIQMCE
IIQAPA
IIQMDM
IIOCFFET
IIQBR
IIOCFCAT
IIQBY
IIQURMOD
IIQINBF

The CSECTs below the horizontal
line on the left of the figure are
overlayed when the execution phase
is loaded into System/370 main
storage. Note that the order of the
CSECTs in the figure is the order
in which they appear in main
storage.

Emulator CSECTs (by function)
Initialization CPU emulation
IIQINENT
IIQINECB
IIQINHF
IIQINEIO
IIQINBF

IIQCPA
IIQCPl
IIQCPC
IIQEPE
IIQMCE
IIQAPA
IIQMDM
IIQBR
IIQBY

I/O-emulation
IIQURS
IIQIDCS
IIQEIOCS
IIQBFFIO
IIQTPMLU
IIQMTMOD
IIQNTDOS
IIQVTDOS
IIQDSDOS

IIQDSMOD
IIQDICS
IIQDKCS
IIQCN
IIQCNMOD
IIQIUDOS
IIQURMOD
IIQURI'

Emu!ator
5 rvices
IIQI4DEB
IIQOJED
IIQSDR
IIQMWTR
IIQOACON
IIQOBCON
IIOCCPRO
IIOCCCS
IIOCCMOD
IIQSTR
IIQEJR

Catalog and
fetch
IIOCFFET
IIOCFCAT

* Note: IIQURI is created if a carriage control tape is to be used on the S/370 printer
(CARRCTl=NO)

V-06

1401/1440/1460 DISK FORMAT

Format of a System/370 record representing a 1301 or 1311 track (sector mode)

TRACK

2980 bytes
Formot of a System/370 record representing a 1311 track (track mode)

TRACK
2543 bytes
Format of a System/370 record representing a 1301 track (track mode)

Format of a System/370 record representing a 1405 track

PP bb

: The first two bytes contain the length of the System/370 physical
record; the last two ore set to zero.

LL bb

: The first two bytes contain the length of a System/370 logical
record; the lost two ore set to zero.

EMUlCTl

: This 4-byte field is set to zero except for the first bit of the
first byte:
Bit a = 0 , move mode
Bit a = 1 , load mode

SECTOR AND TRACK: This field contains the 1400 data.

Disk format

1301 or 1311 sector

load mode

Move mode

90

100

2261
2682
176

2543
2980
200

mode

1301 track mode
1311 track mode

1405

Number of 1400 Characters in System/370 Disk Records
V-07

I

1401 /1440/1 460
1400 ADDRESSES AND CORRESPONDING MACHINE CODES
ADDRESSES
0000-3999

.
~

'"
~

"~
-

:::.

~

"

Z

ii"
~

ADDRESSES
4000-7999 A-bit
(O-Zone) over Units

ADDRESSES
BOOO-J1999 B-bit

(IT-Zone) over
Units Position
Addresses Codes

ADDRESSES
12000-15999 AB-bits
(l2-Zone) over

Position
Addresses

Codes

4000-4099
4100-4199
4200-4299
4300-4399

ODx-09Z
lOx-19Z
2Dx-29Z
30x-39Z

4400-4499
4500-4599
4600-4699
4700-4799
4800-4899
4900-4999

40x-49Z
5Dx-59Z
60x-69Z
70x-79Z
8Qx-89Z
9Qx-99Z

8000-8099
8100-8199
8200-8299
8300-8399
8400-8499
8500-8599
8600-8699
8700-8799
8800-8899
8900-8999

xOO-x99
/00-/99
500-599
TOO-T99
UOO-U99
VOO-V9
Woo-vm
XOO-X99
yoo-Yl>9
ZOO-Z99

5000-5099
5100-5199
5200-5299
5300-5399
5400-5499
5500-5599
5600-5699
5700-5799
5800-5899
5900-5999

xDx-x9Z
/Ox-/9Z
SOx-S9Z
TOx-T9Z
UOx-U9Z
VOx-V9Z
WOx-'W9
XOx-X9Z
YOx-Y9Z
ZOx-Z9R

9000-9099
9100-9199
9200-9299
9300-9399
9400-9499
9500-9599
9600-9699
9700-9799
9800-9899
9900-9999

2000-2099
2100-2199
2200-2299
2300-2399
2400-2499
2500-2599
2600-2699
2700-2799
2800-2899
2900-2999

pOO-p99
JOO-J99
KOO-K99
loo-l99
Moo-M99
NOO-N99
000-099
POO-P99
QOO-Q99
ROO-R99

6000-6099
6100-6199
6200-6299
6300-6399
6400-6499
6500-6599
6600-6699
6700-6799
6800-6899
6900-6999

pOx-p9Z
JOx-J9Z
KOx-K9Z
lOx-l9Z
MOx-M9
NOx-N9
OOx-09
POx-P9Z
QOx-Q9
POx-P9Z

10000-10099
10100-10199
10200-10299
10300-10399
10400-10499
10500-10599
10600-10699
10700-10799
10800-10899
10900-10999

pOp-p9R 14000-14099
JOp-J9R 14100-14199
KOp-K9R 14200-14299
lOp-l9R 14300-14399
MOp-M9 14400-14499
NOp-N9 14500-14599
OOp-09 14600-14699
POp-P9R 14700-14799
QOp-Q9 14800-14899
ROp-R9R 14900-14999

pOg-p91
JOg-J91
KOg-K91
109-l91
MOg-M91
NOg-N91
OOg-091
POg-P91
QOg-Q91
ROg-R91

3000-3099
3100-3199
3200-3299
3300-3399
3400-3499
3500-3599
3600-3699
3700-3799
3800-3899
3900-3999

gOO-g99
AOO-A99
800-899
COO-<:99
Doo-ll99
EOO-E99
Foo-F99
GOO-G99
Hoo-H99
100-199

7000-7099
7100-7199
7200-7299
7300-7399
7400-7499
7500-7599
7600-7699
7700-7799
7800-7899
7900-7999

gOx-g9Z 11000-11099
AOx-A9Z 11100-11199
BOx-B9Z 11200-11299
COx-C9Z 11300-11399
DOx-D9Z 11400-11499
EOx-E9Z 11500-11599
FOx-F9Z 11600-11699
GOx-G9Z 11700-11799
HOx-H9Z 11800-11899
[Ox-[9Z 11900-[1999

gOp_g9;115000-15099
AOp-A9R 15100-15199
BOp-B9R 15200-15299
COp-C9RI5300-15399
DOp-D9R 15400-15499
EOp-E9R 15500-15599
FOP-F~i5600-15699
GOp-G9 5700-15799
HOp-H9R 5800-15899
[Op-[9R 5900-15999

gOg-g91
AOg-A91
BOg-B91
COg-<:91
DOg-D91
EOg-E91
FOg-F91
GOg-G91
HOg-H91
[Og-[9[

Addresses

Codes

0000-0099
0100-0199
0200-0299
0300-0399
0400-0499
0500-0599
0600-0699
0700-0799
0800-0899
0900-0999

000-099
100-199
200-299
300-399
400-499
500-599
600-699
700-799
800-899
900-999

1000-1099
1100-1199
1200-1299
1300-1399
1400-1499
1500-1599
1600-1699
1700-1799
1800-1899
1900-1999

*'

Units Position
Addresses
Codes

OOp-oOR
10p-19R
20p-29R
30p-39R
4Op-49R
50p-59R
60p-69R
70p-79R

12000-12099
12100-12199
12200-12299
12300-12399
12400-12499
12500-12599
12600-12699
12700-12799
80p-89R 12800-12899
90p-99R 12900-12999

oog-091
109-191
20g-291
30g-391
40g-491
50g-591
60g-691
7Og-791
80gc891
90g -991

xOp-x9R 13000-13099 xDg-x91
/Op-/9R 13100-13199
SOp-S9R 13200-13299
TOp-T9R 13300-13399
UOp-U9R 13400-13499
VOp-V9R 13500-13599
WOp-WI 13600-13699

/0g-/91
5Og-S91
TOg-T91
UOg-U91
VOg-V91
WOg-WlI
XOp-)(9R 13700-13799 XOg-X91
YOp-Y9RI3800-13899 YOg-YI>I
ZOp-Z9R 13900-13999 ZOg-Z91

Note: The symbols I ! and? have been replaced by the letters X, p and g, respectively
since this is the method of disploy on the 1052 Printer-Keyboard.

V-08

1401/1440/1460
)

PROBLEM DETERMINATION AIDS

DY!,1;cmic Service Aids , format of emulator commands'

IDENTlFICATION

KEYWORD AND
OPERANDS

DISPLAY

CONFIG

Assignment of all I/O devices.

ADDR::::nnnnn

40 Characters of 1400 core storage from 1400 decimal
address nnnnn • WM are displayed as ona underscore
Word separator as 2 (--) •

XAOOR=nnnnnn

FUNCTION

4 Fullwords of 5/370 main storege doto from hex
address nnnnnn •

SENSE

Emulated sense switches from A to G •

INQUIRY

Inquiry indicator.

REG

IAR, AAR, BAR.

STATUS

Switches and IAR, BAR, AAR.

TAPE [=n1

Assignment of tope unit n. Default value is display all.

DISK [=n 1

Assignment of disk storoge n. Default is display all.

UR

Assignment of all UR devices

DEBUG

Emulates certain debugging functions. Only one is
active ot a given time. Next command cancels the
effect of the previous one. DEBUG=YES must be
coded in the EMSUP macro.

ACTI ON= tET ~ SET= enabl", TYPE=SET ar TYPE=TRACE
RESET RESET= disable TYPE action
nnnnn

TYPE= tAD STOP}
STEP
TRACE
DUMP

nnnnn= 1400 stop address
ADSTOP= 1400 stop address emulation
STEP:::: I/E Mode switch emulation
TRACE= lists on SYSlST all 1400 instructions
executed and MR, IAR, BAR.
Dumps onto SYSlST the 1400 core storage or the
S/370 main storage. Default value is all 1400 core
storage dumped. DEBUG=YES must be coded in the
EMS UP macro.

FROM=a, TO=b

1400 Core storage. a and b are decimal from 1 to 5
digits long. Default value is all core dumped.

XFROM=a, xrO=b S/370 N\:Jin storage. a and b are hex from 1 to 6
digits long. Dafaul t value is all storage dumped.

RETRY

Used to reread a card that has just been corrected.
May be used only if 1400 card are read on a 2540 or

a 3505.

V-09

I

1401/1440/1460 PROBLEM DETERMINATION AIDS ( ••.• Cont'd)
Emulator Routine in Error
If an emulator message has been issued, the message explanation should give some
idea as to the nature of the error. The Logic N.anual lists all the routines that can
issue a particular message.
Detennine which 1400 instruction was being emulated at error time.
JAR normally points to the next 1400 instruction to be emulated.
Use JAR, program listing or dump to locate the 1400 instruction to be emulated.

The last 1400 I/O instruction emulated (M, Lor U op-code) is stored at CCINSTSV.
Communication Region
GPR 3 should point to it which is on a 256 byte boundary (first 512 bytes are put on
the same page).

If GPR 3 does not point to the COMREG, locate IIQCR01 in the linkedit map.
The COMREG is located at the next 256 byte boundary address.
Emulated 1400 Core Storage
Beginning address: CRMAPORG

Ending addr... :

CRMAPEND

1400 care storage is bounded at each end by a double word containing X'FF'.
Control Blocks and buFFers
Buffers and DTF's can be located using pointers in the SUB or DUB of the
emulated device.
To find a SUB or DUB, find a displacement in the devjce auignment table at
CCASNDEV in the COMREG (displacement 800) and the address of the UCB
address list at CMUCBLST (displacement 888). Using the value from CCASNDEV
multiplied by 4, as an index, get the address of the corresponding SUB or DUB,
When control has been given to I/O emulation and DOS interface routines,
get the address of the SUB or DUB involved From GPR 9 ,
or: As the file name is in BCD in the SUB and DUB, find it in the dump between
the COMREG and emulated 1400 core storage.
1400 Registers
The IAR, BAR, AAR are maintained in 5/370 binary fonnat, use emulator commands
DISPLAY=REG or DISPLAY=STATUS to display the contents of those registers.

Note : COMREG stands for Communication Region.

V-JO

1401/1440/1460 TABLE OF REGISTER USAGE

ROUTINE REGISTER CONTENTS AT ENTRY EMULATOR ROUTINES

)

IIQEP

Same as IlQAP

IIQIO

3
4
5

6
7
13

---

Address of communication rogion

BAR
AAR
IAR

Base register for this routine
Save area address provided by this routine

lIaos

IIQIU

Same as

IIQMC

Samaas IIQAP

IIQMO
IIQMW

Samaas IlQAP

0
1
13
14
15

--

Address of variable text or zero
Message number of message to be issued
Address of caller's register save area

Return address
Entry point address

IIQNT

Same as IIQOS

IIQOA

0

-

Address of variable text or zero, or length of operator's

1

-

Messoge number of message to be issued or address of
operator's reply on return from IIQMW

IIQOB

0
1

IIQOC

0

th",

--

reply on return from IIQMW

length of the emulator command or control statement
Address of the emulator command or control statement
Address of a parameter list

IIQOK
IIQTP

/

3
9
13
14
15

IIQSO

3
13
14
15

IIQST

3

7
IIQUR

IIQURI

3
4
13
14
15
3
4
9
13
14
15

-----

Address of communication region

Address of SUB
Address of caller's register save area

Return address
Entry point address and DILCNT interruption indication
Address of communication region
Address of caller's register. save area
Return address
Entry point address
Address of communication region
Bose register for this routine
Address of communication region

BAR
Address of caller's register save area
Return address
Entry point address and DILCNT interruption indication
Address of communication region

BAR
Address of printer SUB
Address of caller's register save area
Return address
Entry point address

V-ll

I

1401/1440/1460 TABLE OF REGISTER USAGE ( •••• Cont'd)

ROUTINE REGISTER CONTENTS AT ENTRY EMULATOR ROUTINES
IIQVT

Same as IIQDS

IIQAP

3
4
5

7
IIQCN

3
4
9
14
15

/lQCP

3
4
5

7
3
4

/lQDI

5

9
14
15

-------

Address of communication region
BAR
AAR
Base register for this routine
Address of communication region
BAR
Address of SUB
Return address
Entry point address
Address of communication region
BAR
AAR
Base register for this routine
Address of communication region
BAR
AAR
Address of DUB
Return address
Entry point address

/lQDK

Samaas IIQDI

/lQDS

0 Code indentifying function to be performed
1 and 9 - Address of SUB
3
Address of communication region

/lQEI

0
1

-

Code indentifying function to be performed
Address of SUB or DUB

Note that the DILeNT, set by unit record and fape emulation routines
for overlapped I/o operations, is in the seven leftmost bits of GPR 6.

The compatibility feature OIL instruction sets GPR 4, GPR5, GPR 6,
and GPR 7 (BAR, AAR, fAR, and base register) before giving control
to an emulator program routine. The compatibility feature also uses
GPR 2 as a work register.
Register usage remains the same throughout the execution of a given
routine. In addition, note that GPR 15 is used for return codes by
/lQEI, /lQDS, /lQIU, /lQMW, /lQNT, /lQVT, ond /lQOC th",ugh
/lQOI.

V-12

1410/7010 PROGRAM ORGANIZATION

)

I

Emulator program overlay tree:

IIRINENT
IIRURS
IIRCRC2
IIRCRCI
IIR14DEB
IIRINECB
IIROJED
IIRMWTR
IIRSDROI
IIROACON
IIROBCON
IIRINHF
IIRINEIO
IIRCCPRO
IIRCCMOD

I

IIRSTR
IIRCP
IIRFP
IIRST
IIRPR
IIRISDCS
IlREIOCS
IlREJR
IIRBFEIO
IIRTPMLU
IIRMTMOD
IIRNTDOS
IIRVTDOS
IIRDSMOD
IIRDSDOS
IIRDCC
IIRDKO
IIRIUDOS
IIRMIM
IIRMIC
IIRIS
IIRURMOD
IIRDKI
IIRINBUF

The CSECTs on the left of the
figure, below the horizontal
line, are overlayed when the
execution phase is loaded into
System/370 main storage.

ElTWlator Program CSECT Layout

INITIALIZATION
II RI NENT
IIRINECB
IIRINHF
IIRINEIO
IIRINBUF

CPU EMULATION

I/O EMULATION
IIRURS
IIRIDCS
IlREIOCS
IIRBFEIO
IIRTPMLU
IIRMTMOD
IIRNTDOS
IIRVTDOS
IIRDSMOD
IIRDSDOS
IIRDCC
IIRDKO
IIRIUDOS
IIRIS
IIRURMOD
IIRDKI

IIRCP
IIRFP
IIRST
IIRPR
IIRMIM
IIRMIC

V-13

EMULATOR SERVICE
IIROJED
IIRMWTR
IIRSDR
IIROACON
IIROBCON
IIRCCPRO
IIRCCMOD
IIRSTR
IIR14DEB
IlREJR

1410;7010 DISK FORMAT

4 bytes

4 bytes

I

I

pp

I bb "1"
I

4 bytes

XTRK
NMBR

4~es

4 _bx.tes

.. ..

SGM

•• IL •
M

LGT

.. I

8

!!l!es

n £i1es

TRACK

REC

NUMBER INM

I

DATA

~BR

I

\

2 bytes
4 bytes

SG
MT

DATA

I ~~

,

.. IL •
1M

8 bytes

n bytes

I TRACK

I REC

.. !NUMBER I ~~

DATA
\

Each System/370 disk record represents one 1400 disk track.

PP

Length of the 5/370 physical record
1301 Mod 1 and 2 : 2,828 bytes

13020,2302 Mod 1 and 2 , 5,878 bytes
bb

Set to zero

XTRK

Hex number of the 1400 track (first trk is 0)

NMBR

First byte : bit

a =0

= 1

move mode
load mode

SGMT
LGTH

Sum of the length of the control information field
(14 bytes) and the 1400 data field

LM

Bit 0 :::: 0

TRACK
NMBR

Decimal number of the 1400 track

=1

move mode
load mode

REC

NMBR

Decimal number of the record (first record is 0)
Not used

DISK FORMAT

LOAD MODE MOVE MODE
CHARACTERS CHARACTERS

1301

2165

2800

4533

5850

Models 1 and 2

1302 or 2302

Model s 1 and 2
Number of 1400 characters in System/370 Disk Records

V-14

1410/7010 TABLE OF REGISTER USAGE

MODULE

REGISTER CONTENTS AT ENTRY

IIRCP

Address of the communication region

BAR
AAR
Base register

llRDK

3

Address of the communication region

4
S

AAR

9
10
14
IS

BAR
-

Address of the DUB
Address of the ECCB
Return address
Entry point address

11RDL

Same as IIRDK

IIRDS

a

Code indentifying the function to be performed
1 and 9 - Address of the Dua or the SUB
3
Address of the communication region

IIREI

Code indentifying the function to be performed

Address of Q DUB or SUB

IIRID

3
4
S

6
7
13

Address of the communication region

BAR
AAR
IAR
Base register
Save area address

IlRIU

Same as IIRDS

IIRMI

Same as IIRC?

IlRfDP

Same as liRe?

IIRPR

Same as IIRC?

IIRST

Same as IIRC?

llRMW

o
I
13
14
IS

IIRNT

Address of variable text or zero
Message number of message to be issued
Address of caller's register save area
Return address
Entry point address

Same as IIRDS

IIROA

Address of variable text or zero r or length of 68160r
operator's reply on return from IIRMIO
Message number of message to be issued or address of
an operator's reply on return from I1RMIO

I1ROB

Length of the emulator command or control statement
Address of the emulator command or control statement

II ROC
thru

Address of a parameter list

IIROK

V-IS

I

1410;7010' TABLE OF REGISTER USAGE ( •.•• Cont'd)

MODULE

REGISTER CONTENTS AT ENTRY

IIRTP

3

9
10
13
14
15
IIRSD

IIRST

3
13
14
15
3

7
IIRVT

-

Address of the communication region
Address of the SUB

Address of the ECCB
Address of caller's register seve area
Return address
Entry point address and DILeNT interruption indication
Address of the communication region
Address of caller's register save crea
Return address
Entry point address
Address of the communication region
Base register

Same as IIRDS

Note that GPR 15 is used for return codes by IIREI, IIRDS, IIRIU,
IIRMW, IIRNT, IIRVT, and IIROe through IIRQI and IIROK.
The compatibility feature DIL instruction sets up GPR 4, GPR 5,
GPR 6, and GPR 7 (the BAR, AAR, JAR, and entry point address
for the routine given control), before giving control to an emulator
program routine. The compatibility feature also uses GPR 2 as a
work register.

V-16

1410/7010 PROBLEM DETERMINATION AIDS

,,

" Servlee
" A"d
DxncmlC

f annat

IDENTIKEYWORD AND
flCATION OPERANDS
DISPLAY

0

emu It
a or cornman s :

COMMENTS
Displays on SYSLOG

SWITCH

Status of the inquiry indicator

REG

IAR, MR, BAR

STATUS

Switches and IAR, AAR, BAR

TAPE

Assignment of tope unit en (c=chonnel, n=unit)

[=cn]

Default value is display all
DISK[=cma]

Assignment of disk storage erna (c=channel,m-:omodule,

o=unit)
Default value is display all

UR

Assignment of all unit record devices

I/o devices

CONFIG

Assignment of all

ADDR=nnnnn

40 Characters of 1400 core storage from 1400 decimal
address 'nnnnn'. WM are displayed 0$ one underscore
Word separator as 2 (--)

XADDR=nnnnnn

4 Fullwords of 5/370 main storage data from

hex address 'nnnnnn'

DEBUG

Emulates certain debugging functions. Only one is
active ot a given time. Next command cancels the
effect of the previous one.
DEBUG=;YES must be coded in the EMSUP macro.

ACTlON~ {nnnnJ

'nnnnn' =; 1400 stop address
SET =; enable TYPE=SET or TYPE=TMCE
RESET = disable TYPE actio~

TYPE~ fDSTOP}

ADSTOP = 1400 stop address emulation
STEP = lIE f./K)de switch emulation
TMCE = lists on SYSLST 0111400 instructions executed

SET
RESE

STEP
TRACE

and MR, IAR, BAR
DUMP

Dumps onto SYSLST the 1400 core storage or the S/370
main storage. Default value is all 1400 core storage
dumped. DEBUG=YES must be coded in the EMSUP macn

FROMoa, TO=b

1400 core storage (a and b are decimal from 1 to 5
digits long. Default value is all core dumped.

XFROMoa, XTO=b

S/370 main storage (0 and b are hex from 1 to 6
digits long. Default is all storage dumped.

V-17

)

CHAPTER VI
BTAM

I

CONTROL BLOCK LINKAGES
DECB
ECB

F

-

Terminal list

--1r Offset Table

DTFBT

D

I

-

~D

_

~

I------=r.
LCB

Special Char.

I

I
CCB

LCB

~'::J: I\,I-:n_~'_,~_~_~_t:-l- - '
I

BTAM Module

I/O Executor
L-I--1----'
~~(E_X_C~P)__I4-______________~
I/O Interrupt

Handler

I/o Error
Routine

VI-OI

LUB

DTFBT TABLE

0

Lea

O( 0 )

I

lea

Count

4( 4 ) Flag Byte I

I

2

Size

Feature Flags

WRU

EOM

I

EOT

or lAM

8( 8 ) DTFBT Flags

3

Buffer Control Block Address

12(OC) Device Code

Address of CON Mode I Tab Ie

16(10) DTFBT Length

Address of ST NIl Logic

16
20(14 ) DTF Type +
Code

Flag Byte 2

24(18 ) Retry Count

Address of Table of specific characters

28(IC ) 2x Retry Count

Line Error Block Address

Message length

Of

Mondly

32(20 ) Address of Table of Offsets
36(24 ) Reserved
40(28 ) CCB-lea Area (See Line Control Blocks)

T

TaUffer Pool (if any)
DTFBT Tabl e Exp Iana ..Ion
Description

Byte(,)
Meaning

Q. (0)

Lea

Source

The number of LeB's in this DTFBT

Count

Generated by the DTFBl
macro by analyzing the

LINELST keyword operand

1(1)

Lea Size

2-3 (2-3)
Feature Flags

The number of bytes in each

this DTFBT

Describes device features:

Lea in.

Computed by DTFBT macro
expansion from the DEVICE and FEATURE operands
DTFBT macra operand

FEATURE

First byte (2)
Bit Configuration

Meaning

B'IOOOOOOO'
B'OIOOOOoo'
B'IIOooOOO'
B'OOIOOOOO'
B'OOOIOOoo'
B'OOIIOooO'
B'OOOOIOOO'
B'00000 100'
B '000000 10'
B'0000000 I '

SIX
SXW
SIW
RIX
RXW
RIW
SLY
BSC
Reserved

DIU

VI-02

DTFBT TABLE ( •••• Cont'd)
DTFBT Table Explanation

Description

Byte(s)
Meaning

\

,)

2_3 (2_3)
Feature Flags

(Cont'd)

Source

Second byte (3)
Bit Configuration

B'lOoooOOO'

Meaning

Station Control

(STC)
B'OIOOOOOO'
B'00 100000'
B'OOOIOOOO'
B'OOOOIOOO'

TransmitControl

(TRC)
Checking (CHK
PCI
Start-stop Auto

Poll
Bits 5-7 of the second byte are
reserved
~(4)

lAM or

----------Flag Byte 1

Describes WTTA device feature

DTfBT macro operand

FEATURE

----- - -- - - - ------- ----- --- - --------- -------local 2260/local 3270 Flags:
2260 local READ routine
Bit Configuration
Meaning
and Interruption handler/

B'lOoooOOO'
B'OOOIOOOO'

On-line Terminal Test Flag
local 2260 and
local 3270
RESTPllnhibit

sse Message Analysis
Routine

Flag
B'00001 000'

local 2260 and

B'OOOOIOOO'

Wait Flag
sse Valid First
Character Flag

local 3270 NO

B'OooOOIOO'
B'OOOooolO'

(used by IJLMARTN)
Local 2260 and
local 3270 Read
Wait Flag
loco 1 2260 and

loco 1 3270 ResB'OOoooOOI'

can Flag
loacl 2260 and
local 3270 En.able-Read-inAppendage Flag

The remaining bits are reserved.
When bit zero is on, the next three
bytes contain On-line Terminal Test
Information. For the local 2260 and
local 3270, the next three bytes
contain a pointer to the DECB

)

i

(5)

Describes WTTA device feature

WRU

.§. (6)

EOM

DTFBT macro operand

FEATURE
Character representing the end of a
message (WTTA)

VI-03

DTFBT macro operand

EOM

I

DTFBT TABLE ( •••• Conl'd)
DTfB T Tob Ie Exp lanotion
Description

Byte(s)
Meaning

Z (7)

Source

EOT

Character representing the end of a
transmission ('NTTA)

J!

Bit Configuration

Meaning

B'0000000 I '

DTFBT Open
Flag

(8)
DTFBT Flags

B'000000 I 0'

Non-partitioned
channe I program

flag

B'00000 100'
B'OooOlooO'

OTFBr

macro operand

EOT
The switched-network
flag, the multipoint flag
and the non-partitioned
channel program flag are
put in at assembly time.
The open flag is maintained

by the OPEN and CLOSE

Switched oetroutines.
work flag
Multipoint configuration (aSC)

The remaining bits ore reserved

2=.!.!

(09-0B)

Put in at assembly time

by the DTFBT macro

Buffer Control

Block Address
12 (OC)
Device Code

Numeric identifier of the type of
device attached to the lines of this
group
Devices

Equated to

1030
1060
2848
83B3
liSA
2260
1050
2740
TWX33
TWX35
1130
2780
wrTA
2020
3277

I
2
3
4
5
6
7
8
9
10
12
13
14
IS
17

Put in by the DTFBT macro

using the DEVICE keyword
operand

13- IS (OD-OF)

Put in by the Linkage
Editor

CON Model
Table Address

l§. (10)

Put in at assembly time

DTFBT Length
16
17-19 (11-13)

Put in by the Linkage
Editor

Address of
BTAl'A Logic
~

(14)
DTFfCU

Numeric identifier of the DTF type
and the control unit type

VI-04

Initialized at assembly
time from the CU keyword
operand

DTFBT TABLE ( ••.. Cont'd)

DTFBT Table Explanation
Description

Byte(,)

Meaning
20 (14)
DTF+CU
(Cont'd)

Source

The DTF code is X'40' for a DTFBT.

The following CU codes are OR'ed
into the low-order 4 bits:
Control Unit

----

Equated to

mo

1
3
4
5
6
7

2848
2701
2702
2703
3272

II

(15)
Flog Byte 2

F logs for ERP:
Bit Configuration

Meaning

B '00000 100'
B'000000 10'
B'00oo6001'

ERP requested
Read text retry
Write text retry

Flags are set by the
ERROPT operand

The remaining bits ore reserved
22-23 (16-17)
Message Length

OTFBT macro operand
MSGL

----------- --Number of pod characters (WTTA)

Qf_--------- ---- ---- ----

MONDLY

-- -- --- ------- ----DTFBT macro 'operand

MONDLY
,H(18)
Retry Count

sse Retry Ceiling

DTFBT macro operand
RETRY

25-27 (19-1B)
Address of

Put in by linkage Editor

Table of special
Characters
28 (1C)
~ Retry Count

2x

sse Retry Ceiling

DTFBT macro operand
RETRY

29-31 (lD-1F)

DTFBT macro operand

line Error
Block Address

LERBADR

32-35 (20-23)

Table of
Offsets

Pointers to the table of model
Generoted by the DTFBT
CON's corresponding to operation
macro from the DEVICE
types defined for a particular device operand
The displacement in the Table of
Offsets corresponds to the operation
code for the macro. An X'FF' at
displacement 07 in the table, for
example, means that optype X'07'
(READ Repeat-TP) is not available.
Operation Type Codes
Code

Macro

--

--

X'OO'
X'Ol'
X'02'

WR1TE D1SCONNECT
READ INITIAL
WRITE IN ITiAL

VI-OS

I

DTFBT TABLE ( ••.• Cont'd)
OTFBr Table Explanation
Description

Byte(,)
Meaning

32-35 (20-23)
Table of
Offsets

(Cont'd)

Code

-X'03'
X'04'
X'05'

X'OS'
X'06'
X'07'
X'OS'
X'OS'
X'09'
X'09'
X'OA'
X'OA'
X'OB'
X'OB'
X'OC'
X'OC'
X'OD'
X'OD'
X'OE'
X'OE'
X'OF'

X'TO'
X'IO'
X'II'
X'II'
X'12'
X'12'
X'12'
X'I3'

X'13'
X'13'

Macro

--

READ CONTINUE
WRITE CONTINUE
READ CONVERSATIONAL
READ CONTINUE WITH
GRAPHICS
WRITE CONVERSATIONAL
READ REPEAT
WRITE ACK
WRITE INIT TRANSPARENT BLOCK
READ INITIAL INQUIRY
READ SKIP
WRITE NAK
WRITE INITIAL TRANSPARENT TEXT
READ BUFFER
READ REPEAT WITH
GRAPHICS
WRITE AT LINE ADDR.
WRITE INIT TRANSPARENT CONVERSATIONAL
READ SHORT
READ INQUIRY
WRITE ERASE
WRITE INITIAL CONVERSATIONAL
READ CONTINUE WITH
IDENTIFICATION EXCHANGE(WT TELEGRAPH)
WRITE INVITATIONAL
WRITE TRANSPARENT
BLOCK
READ INTERRUPT
READ MODIFIED
WRITE TRANSPARENT
TEXT
WRITE INITIAL OPTICAL
WRITE UNPROTECTED
ERASE
READ CONTINUE WITH
LEADING ACKNOWLEDGEMENT
READ CONNECT
READ BLfFER FROM
POSITION

VI-06

Source

DTFBT TABLE ( .••• Coot'd)

DTFBT Tobie Explanation

)

Description

Byte(,)
Meaning

32-35 (20-23)
Table of
Offsets
(Coot'd)

--

X'14'

WRITE TRANSPARENT
CONVERSATIONAL
WRITE INVITATIONAL
OPTICAL
READ CONNECT WITH
TONE
WRITE EOT
WRITE CONVERSATIONAL OPTICAL
WRITE WACK
READ MODIFIED FROM
POSITION
WRITE INQUIRY
CONTROL INITIAL
CONTROL DISABLE
CONTROL MODE
CALL SEGMENT
ANSWER
WRITE CONNECT

-X'14'
X'15'
X'16'
X'16'
X'18'
X'19'
X'IA'
X'IB'
X'IC'
X'lD'
X'IE'
X'IF'
X'20'

Source

Macro

Code

36-39 (24-27)
Reserved

line Control
Blocks

Line control blocks describe the
One Lea is generated
particular line
at assembly time for each
(See Line Control Block for detailed line in the lINElST opedescription)
rand sub list

XX-XX ( .• - •.

(Optional)

40-XX (28- •• )

~ool

VI-07

I

LINE CONTROL BLOCK

I

I

0

J

2

3

CCB

O( 0)

DECB Address

16(10)

F lag Byte

20(14)

Relative Line No Send
: Reve
_~~~ 1_8~~
Local 3270

24(18)

ERP Message Code and Status Save Area

32(20)

CON Area reserved for ERP and Audio

40(28)

User Channel Program Area

104(68 )

Marker (SSC)

__-1

__

I

Remved

Mode Byle(BSC)

Flag Byte

Totcl User CON

I User CCW

Retries (SSC)

108(6C )
112(70 )

Retries (aSC)

sse F lag Byte 1 sse FlagByte 2 I sse Flag Byte 3
sse ERP CON Area (3 double-words)

I ERP CON Retries
(BSC)

I Reserved

T

T
Line Control Block Explanation

Description

Byte(s)
Meaning

0-15 (OO-OF)
CCB

Command Control Block

J..Q (10)

Used to indicate Lea Conditions
Bit Configuration Meaning

Source

Space is reserved by the
DTFBT instruction. The
contents of the block ore
maintained by the Supervisor/ ULCPGX and

IJLBTlH.

Lea

Flag Byte

B' 10000000'
8'01000000'

B'OIOOOOOO'

These flags are initialized
by the DTFBT macro instruction. UlCPGXr
last lCB in line
IJlBTlH and OPEN maingroup
tain them.
line error at
Open (except
for local 2260
and loco I 3270
loco I 2260 or
local 3270 Read
started from
Appendage

VI-OS

LINE CONTROL BLOCK ( .•.• Cont'd)
line Control Block Explanation

Description

Byte(s}

Source

Meaning

J.Q.

(10)
LeB F lag Byte

(Cont'd)

Bit Configuration

Meaning

B'00 100000'

Halt I/O req..es-

B'00010000'

ted
Lea Cancel flag
(ERP)

B'0000 1000'

Write at Line

Address (remote
2260), LCB Q-

flag (local 2260
or local 3270)
B '00000 100'

Attention flag
(loco I 2260 or

I

locol 3270),
Terminal Test

flog (OIU)
B '000000 10'

B'0000000 I '

Skip flag (local
2260 or local
3270), Frome
Change Test flog
(OIU)
Printer flag (lo-

cal 2260 or locol 3270),MesOIU

sage from

B'0000000 I '
B '0000000 I '

flag (OIU)
Re-read flag
(ViTTA)
Auto Poll channel program mo-

dified flag (SSC)
17-19 (11-13)

This field is set to zero
by the completion logic;
The address is supplied
by IJLCPGX

DECB Address

1Q (14)

Relative Line Number

RLN
21 (15)
Send ACK!
Rcve ACK

The relative line number
is inserted by the DTFBl
macro instruction

0' ------------------------ ------ --------local 3270
Flag Byte

Bit Configuration

Meaning

B'100oo0oo'
B '0 1000000'

Printer busy flag
Unreliable device buffer contents
RFT in progress
flag
Start original
READ flag (RFT
flag)
I/O request flag

B'OOIOOOOO'
B'OOOIOOOO'

B '0000 1000'

VI-09

----------

LINE CONTROL BLOCK (•.•• Cont'd)
line Control Block Explanation
Description

Byte(s)
Meaning

Source

22 (I6)
R;erved
23 (17)
~eByte

Used 10' Set Mode

24-31 (I8-IF)
ERP Code and

E,co, Message Code (byte 24)

Initialized at assembly

time; Updated via CONTROL
The hex value (l-byte)
of the error message num-

ber to be printed is inserted by the routine that
determined the error con-

dition
Status Save

CSW bytes 1-7 (but not byte 0)
(bytes 25-31)

The C~ is saved for the
lost user (non-ERP) CON
that completed

32-39 (20-27)
ERP CCN

CON is set up and execu
ted in on attempt to recover from the error con-

dition
40-103 (28-67) Channel Program Area

IJ LCPGX builds the

CON Space

channel program in this
space

104-107 (68-61 )
Marker and
Retry Bytes
108 (6C)
BSC
Flag Byte'

Bit 0: 1= ENQ can be legally received
0= ENQ on illegal response
to text
Bit 1: 1= Last response-ta-text was
NAK (i.e., NAK was sen
to remote station as the
response to the last received message)
Bit 2: 1= No response was received
to previous Write text
Bit 3: 1= No retry flag
Bit 4: 1= Error occurred on an ERP
CCN
Bit 5: 1= ERP in process (due to
Un;t Check)
Bit 6: 1= Error occurred on 0 Read
Response to text or a Read
text in a conversational
WRITE channel program
Bit 7: l=First retry of the error discussed for bit 6

VI-IO

LINE CONTROL BLOCK ( •••. Cont'd)
line ContTol Block Explanation
Description

Byte(,)
/

Meaning

/

Source

109 (6D)

For any READ/V{RITE macro other

Flag Byte 2

coded'S', the Operation flag byte 1
in the DECB is moved into the sse
flag byte 2 in the Lea

BSC:

Jlnitiolized by ULCPGX

than WRITE Inquiry (TQ) with entry

For WRITE Inquiry (TO) with entry
not coded '5' bit-2 (B'OOIOOOO-----cf')
of the sse flog byte 2 in the lea is
turned ON subsequent to the moving
in of the DECB Operation flag byte 1
Note:
For WRITE Inquiry (TQ) with entry

coded '5', the

sse flog byte 21i1

the Lea Extension will contain the
vo lue set by U lCPGX for the most
recently issued macro (normally an
initial-type WRITE for dial operation) that was not a WRITE TO with
entry coded '5'

.!.!Q.(6E)
BSC
Flag Byte 3

Bit
Bit
Bit
Bit
Bit
Bit

0: BTAIv\ initiates terminal test

1: LCB in test flag
2: X= 0 flag for on-line test
3: Invalid character in RfT
4: RE5ETPL flag for TERM test

5: Positive response to line bid
has been received
Bit 6: Remote 3270 RFT BSC flag
Bit 7: Reserved

!.!.l(6F)
Reserved

112_135(70-8
BSC ERP CON

sse ERP CON Area (3 double-words

VI-II

I

DATA EVENT CONTROL BLOCK (DECB)

I

1

0
O( 0)

Completion Code

4( 4)

Optype Qualifier Optype Code
bits

8( 8)

Response Informa- DTFBT Address
tian Byte

I

length

'I

Sense Byte

Seme byte foc
Diagnostic Read/
Write

Re,Jdual Count

J

20(14)

Command Code

List Address or Entry Address

24(18)

Flag byte

Relative Line
Number

Response to
1 Response to lRC
Addressing Field and/or VRC

28(IC ) TP Code

Error Information 1 Status Bytes

32(20)

Reserved

Addressing Pointer

36(24)

Reserved

Polling or Scanning Pointer

40(28)

Flag Bytes for
extended DECB

Reserved

44(2C ) Reserved

3

Input/Output Address

12(OC ) Mode Byte
16(10)

I

2

Reserved for DOS/SIAM internal use
(See explanantion of bit 6 of the flag byte)

,

I

Auxlength

a

1

Auxarea Address

Note: The first four (4) bytes of the DECB are called the Event Control Block
- - (EeB). The last eight (8) bytes of the DECB are called the DECS extension.
DECB Explanation

Description

Byte(,)

o (0)
Completion
Code

Meaning

Source

X'OO' Operation in progress
X'lF' Normal completion
X'4 J' I/O error
X'44' Terminal ID non-comparison
X'48' HALT I/O requested and
completed
X'50' Contention (BSC or WTTA)
X'S1' End-of-file condition
X'52' Wrong length record
X'54' Non-productive operation
X'58' Cancel condition detected
X'60' Wrong ACK-i received
0= 0 or 1)
X'61' WACK received or RVI received in response to selection on a multipoint line
X'62' ENQ received in response
to ENQ
X'64' Unreliable device buffer
contents

Maintained by JJLCPGX
and IJLBTIH

VI-12

DATA EVENT CONTROL BLOCK (DECB)

( •.•• Cont'd)

Description

Byte(s)
Meaning

.!.d

(1-3)

Reserved

Source

Reserved for DOS/SIAM internal use
(See explanation of bit 6 of the flog

byte)

± (4)

Flogs ore set according to the type
Optype Quali- of operation
fier bits
Bit Configuration Meaning

B' 10000000 I
B'0 1000000'
B'OOIOOOOO'

B'000 10000 '
B'000 10000'

Set by READ I WRITE and

CONTROL

Initial optype

Reset optype
2260 local lock
operation
Conversational flag
Skip buffer check
flag (local 3270 fOf

I

RFT)
B'00001000'

Start-stop; Auto

Poll used in current
operation

B'00000 100'
B'000000 I0'
B'0000000 I '

.2.

(5)

Optype Code

Entry'S'
Area '$'
Length '$'

Operation type code of the lost exe- Set by READ, WRITE and
cuted I/o macro instruction
CONTROL

(See DTFBT
Tobie)
6-7 16-7)

The amount of doto to be transmitted

Length operand of READ

length

or received

or WRITE macro instruct.

§. (8)

Bit Configuration Meaning

Response

B'OOOOOOIO'

Information
byte

2=.!.l (09-0B)

An RVI has been
received in response to selection

Specifies the line group

J1

(OC)

Operand of READ, WRITE

or CONTROL

DTFBT Address

Set by IJLCPGX

Used for Set Mode

Mode byte

U=li (OD-OF)

AIea

Input/Output
Address

WRITE or CONTROL

.l§. (10)
Sense byte

Bit Configuration Meaning

B'IOOOOooO'
B'0 1000000'
B'00 I00000'
B'OoolooOO'
B'0000 I 000'
B'00000 100'

Comnand reject
Intervention req'd
Bus-out check
Equipment check
Data check
Overrun or I for
local 3270, unit
specify

VI-13

operand of READ,

Stored by 1J1.BTIH when
an unit check has occurred

DATA EVENT CONTROL BLOCK (DECB)

( •••• Cont'd)

Description

Byte(,)
Meaning

!.Q(IO)
(Continued)

Source

Bit Confi-guration Meaning

B'OOOOOOIO'

Lost data or, for
local 3270, control check

8'00000001 '

Time out or, for

loco I 3270, opera-

tion check

!Z

(11)

Sense byte for
diagnostic

READ;WRlTE
18-19 (12-13) The remaining amount of doto which
Residual count

was not transmitted

fQ (14)
Command

Contoins the command code

Stored by IJLBTIH from
the CCB and CS'N
Stored by IJLBTIH when
completion has occurred

code
21-23(15-17)
Entry Address

Address of terminal list entry

Initialized from entry

operand of READ or

WRITEj maintained by
IJLBTlH
~(18)

Flag byte

Flag set to determine the type of
operation
Bit Configuration Meaning

B'IOOOOOoo'
B'OIOOOOOO'

PCI occurrence
EOT received

(BSC
B'oolooooo'

0' WTTA)

OLE EDT recei-

ved (BSC) o,WRU
(WTTA)
B'Oooloooo'
B'oooloooO'

Stop flag
Error status mes-

sage received

B'OooOlooo'
B'ooooOloo'
B'OOOOOOIO'

(BSC)
Enable flag
Indicates read
buffers on a conversctionclWRITE
Indicates ECB
bytes 1,2 and 3
contain address of
first unreleased
buffer not used at
completion of c

READ with o,eo 'Sj
B'0000000 I'

Terminal test
operation

VI-14

Set by IJLCPGX

DATA EVENT CONTROL BLOCK (DECB)

( •... Cont'd)

Description

Byte(,)

Source

Meaning

25 (19)

Position of line entry in list

from macro

in~frvc;tion

operand

Re"lative line
number
~(lA)

Response to
Addressing

fZ

Space reserved for response to oddressing

Channel program reads
into this field

(lB)

Read response
to redundancy

check

f.!l

(1C)
TP Code

TP code of last command

~(lD)
Error Informa-

ERP information
Bit Configuration

tion

Maintained by ULBTlH
and IJLCPGX

B'0 1000000'

Set by IJLBT1H
Meaning

Should-nat-occur
error

B'00100000'
B'000 10000'
B'000000 10'
B'0000000 1 '

Error in ERP

Diagnostic WRITE
READ failed
ENQ received in
text (BSe)

NAK

response to

text (BSe)
NAK or ID-NAK
response to IDENQ (BSe)
30-31(IE-1F)
Status bytes

Bytes ore set when an event occurs

Set by IJIlHIH from the
CSW

g(20)
Reserved

33-35 (21-23)

Address of terminal being addressed

Set by IJLCPGX

Address of terminal being polled or

Set by IJlCPGX

Addressing
Pointer

36 (24)
R;served

37-39 (25-27)

Polling or
scanned
Scanning poin-

ter
40 (28)
Flags ore set according to the type
extension of operation using the DECB extenflag byte
sion
Bit Configuration Meaning

DECB

B' 10000000'

Auxoreo 'S'

VI-IS

READjWRITE

I

DATA EVENT CONTROL BLOCK (DECB)

( •••• Cont'd)

Description

Byte{s)
Meaning

Source

41 (29)

~erved
42-43 (2A-2B) The amount of dota to be transmitted
or received by operations using the
Auxlength
DECB extension

READ/WRITE

~ (2C)

Reserved

45-47 (2D -2F)
Auxorea

Address of dota to be transmitted or
input area for operations using the
DECB extension

VI-16

READ/WRITE

INDEX
CHAPTER I POWERiVS
A

ACB (account control block) 1-74, 1-75

BCA (buffer control qrea) 1-80 to 1-82

BCYV (buffer control word) 1-63
BSe (line manager TCB fields) 1-85
buffer control area (see BCA)
buffer control word (see BON)

C
CAT (control address table) 1-28 to 1-34
class chain 1-04
command processor control block (see CPB)
control address table (see CAT)
CPB (command processor control block) 1-60
D

disk management block (see OMS)
DMB (disk management block) 1-39 to 1-48

dump, file 1-99, 1-100

free queue set 1-03

interfaces and tcsk structure 1-05 to 1-09

JECL (job ebtry control language)
overview 1-23
commands 1-24 to 1-27

LeB (line control block) 1-76 to 1-79
LOA (logical doto record) 1-63
line control block (see leB)
logical data record (see LOA)

M
MCB (module control block) [-64, [-65
message control block (see MMB)
MMB (message control block) 1-38
module control block (see MCB)

INDEX (continued)
CHAPTER I POWER/VS (continued)

o
open 3540 Diskette Work Space 1-83

operator command language (see POCL)
operator command longuoge, remote (see

ROeL)

page control block (see PCB)

partition control block (see POB)
PCB (page control block) ·1-67
POB (partition control block) 1-69, 1-70

phases to be cataloged 1-01
physical work space (see PWS)
POeL (power/vs operator command language)
miscellaneous commands 1-16
queue management commands 1-14, 1-15
task management commands 1-11 to 1-13
programming requi.rements 1-01

PWS (physical work space) 1-61
Q
QRA (queue record area) 1-71, I-n
queue entry 1-03
queue record

1-03

queue record area (see QRA)
queue set 1-03, 1-04

remote operator command language (see

requirements, programming I-OJ
RJE VO trace 1-94
ROel (remote operator command

ROel)

language)

miscellaneous commands 1-22
overview 1-17, 1-18
queue management commands 1-19 to 1-21
task management commands 1-18, 1-19
terminal commands 1-18

SCB (storage control black) 1-36, 1-37
service aids
file dump program 1-99, 1-100

RJE VO trace 1-99
SLI Work Space 1-73
SNA control block 1-86

SNA remote control block 1-87
SNA unit control block 1-91

SNA work area 1-95
SNA message control block 1-97

SNA manager TCB fields 1-98
storage control block (see SeB)

,

INDEX (conHnued)
CHAPTER I POWER/VS (conHnued)

tape control block (see T8B)
task control block (see TeB)
task structure, interfaces and 1-05 to 1-09
TSB (tape control block) 1-66

)

TCB (tosk control block) 1-49 to I-59
file control words and general task work orea I-58,
linkage registers save arca:! I-56
tosk management fields I-50 to I-54
task registers save area I-55 to I-57

W
wait control block (see WeB)
weB (wait control block) 1-35

CHPATER 11 VTAM CONTROL BLOCKS
A

ACB (VTAM ACB) 11-04 to 11-06
ACDEB (ISTACDEB) 11-01 to 11-11
AOT (lSTAOT) 11-12 to 11-13
APT (ISTAPT) 11-14
APT (ISTAPTX) 11-16, 11-17
ATCVT (ISTATCVT) 11-18 to 11-38
AVT (lSTAVT) 11-39 to 11-40

BPDIR (ISTBPDIR - buffer pool directory) 11-41, 11-42
BTU (lSTBTU) 11-43 to 11-45
C

CCB (lSTCC8) 11-46
COMRG (ISTCOMRG) 11-47 to 11-50
CONFT (ISTCONFT) II-51 to 11-60
control block

relationship 11-01
relationships, process scheduling 11-02, 11-03

D

DEVCH (ISTDEVCH) 11-61 to 11-63
DNCB (ISTDNCB) 11-64 to 11-67
DTFLT (ISTDTFLT) 11-68, 11-69
DVT (ISTDVT) 11-70, 11-71
DVT (ISTDVTE) 11-72
F

FMCB (ISTFMC8) 11-73 to 11-86
FSB (lSTFS8) 11-87 to 11-99

/

ICE (ISTlCE) 11-100,11-101
L

LCCW (ISTLCCW) 11-102 to 11-104
LCPB (ISTLCPB) 11-105 to 11-108

1-~9

INDEX (continued)

CHAPTER II

VTAM CONTROL BLOCKS (continued)

N

NCB (ISTNCB) 11-109, 11-110
NCSPl (lSTNCPSl) 11-111 to 11-126
NCSPl (NCSAPP) 11-127
NCSPl (NCSUSSRU) 11-128

PAB (lSTPAB) 11-129 to 11-131
PIB (ISTPIB) 11-132 to 11-140
process scheduling control block relationships 11-02, 11-03

RDT (lSTRDT) 11-141,11-142
RH (ISTRH) 11-143, 11-144
RPH (lSTRPH) 11-145 to 11-149
RPl (ISTRPl) II-ISO to 11-164

Service Aids 11-171

SNT (lSTSNT) 11-165

TH (ISTTH) 11-166
TH (ISTTH2) 11-167, 11-168
TIE (ISHlE) II 169, 11-170

CHAPTER III

VSAM CONTROL BLOCKS

A
ACB (access method control block)

access method block list (AMBl)

111-09 to 111-12

111-07, 111-08

access method control block (ACB) 111-09 to 111-12
access method control block structure (AMCBS) 111-13
access method data statistics block (AMOSB) 111-14 to 111-17
access method define the file table (AMOTF) 111-18 to 111-20
address range defintion block (ARDB) 111-21, 111-22

AMBl (access method block list)

111-07, 111-08

AMCBS (access method control block structure) 111-13
AMDSB (access method data statistics block) 111-14 to 111-17
AMDTF (access method define the file table) 111-18 to 111-20
ARDB (address range defintion block) 111-21, 111-22

BCB (buffer control block) 111-23, 111-24
BHD (buffer header) 111-25
BKPHD (block pool header) 111-26
block pool header (BKPHD) 111-26
buffer control block (BCB) 111-23, 111-24
buffer header (BHD) 111-25

INDEX (continued)
CHAPTER III

VSAM CONTROL BLOCKS

(conHnu,d)

C
catalog auxiliary work area (CAXWA) 111-28, 111-29
catalog communications area ((CA) 111-30 to 111-38
catalog parameter list (CTGPl) 111-46, 111-47
CAXN A (catalog auxiliary work area) 111-28, 111-29
CCA (catalog communication area) 111-30 to 111-38
CIW (control interval work orca) 111-40 to 111-43
Close Work Area (CLWAAD) 111-44 to 111-45
control block structure
catalog management Ii 1-05
catalog management, caller supplied cb's 111-06
base dust to alternate index 111-04
data and index 111-02
key-sequenced data set 111-01
multiple string 111-03
control interval work area (ClW) 111-40 to 111-43
CTGFL (field parameter list) III-55
CTGFV (field vector table) 111-56
CTGPl (catalog parameter list) 111-46, 111-47
D

DASDSM Parameter list 111-48
define the file indexed sequential (OWlS) table 111-49 to III-51
diagnostic aids (see Service aids)
OW IS (define the file indexed sequential) table [11-49 to 111-51
dump (see service aids)

EDB (extent definition block) III-53
EXLST (exl' ;;,,) III-52
extent I.II.. finition block (EDB) III-53
exit II" (EXLST) III-52

FCDB (field control and dato block) III-54
field control and data block (FCDB) III-54
field parameter list (CTGlf) III-55
field vector table (CTGFV) 111-56

IKOOPNWA (open work area)
IKOVDU (see service aids)
IKOVDUMP (see service aids

III-59 to 111-65

logical -to - physical mapping block (LPMB) III-57
LPMB (Iogical-ta-physical mapping black) 11[-57

a
OAL (open ACB II,,) III-58
open ACB ;;,' (OAL) III-58
open work area (lKOOPNvVA)

III-59 to 111-65

INDEX (continued)

CHAPTER III

VSAM CONTROL BLOCKS (continued)

Placeholder (PLH)
PLH (ploceholder)

111-66 to 111-72
111-66 to 111-72

request parameter list (RPL) 111-74 to 111-77
Resource Sharing Control Block (RSCB) 111-78
RPL (request parameter list) 111-74 to 111-77

service aids
enabling and disabling snap dumps 111-82 r 111-83
IKQVDU 111-88
IKQVDUMP 111-84
testing if dump required 111-84
loading a VSAM phose or program you have written 111-90
maintaining DSCBs and VOl] labels (lKQVDU) 111-86 to 111-90
obtaining snap dumps 111-82 to 111-84
using UPSI to obtain diagnostic information 111-84 to 111-86

THB (track hold block)
trock hold block (THB)

111-79
111-79

U
upgrade set block (USB)
USB (upgrade set block)

CHAPTER IV

111-80
111-80

MODEL 20 EMULATOR

C
communication region CR1 IV..Q.4 to IV-15
flagbyte loyout IV-II to IV-15
communication region Data Interchange IV-35 to IV-42
flagbyte layout IV-40 to IV-42
D
Data- Interchange progrqm
overlay structure
1V-34
overview IV-33
disk record correspondence, Model 20 to System/370 IV-32

EDB loycut
device independence extension

IV-19

INDEX (continued)
CHAPTER IV

MODEL 20 EMULATOR (continued)

EDS layout (continued)

Ilagbytes layout 1V-20, 1V-21
I/O channo I IV -18
storage control

/

1V-17

1403;2203 printer IV-18
1442 card punch 1V-16
2152 printer keyboard IV-IS

2501;2520/2560 card reoder 1V-16
2520/2560 card reader/punch 1V-16
2560 NfCM 1V-17
H

H'UNTAB entries

1V-24 to 1V-28

initialization, flow of
inter-routine links

IV-Ol

communication routines JV-22
routines (except communication routines)

layout, emulator

1V-23

IV-02, IV-03

o
overlay structure, Data- Interchange

IV-34

overview of the Data - Interchange program. IV -33

Problem Determination aids

service aids

CHAPTER V

IV-29 to 1V-31

1V-29 to IV-31

14"" EMULATOR

A
addresses and corresponding machine codes, 1400 V-OS

C
compatibility feature

leature, 1401/1440/1460 and 1410/7010 V-05
instructions, 1401/1440/1460 end 1410/7010 V-Ol
core storage in system/370 main storage, Emulated 1400 V-04

INDEX (continued)

CHAPTER V

14xx EMULATOR (cont;nued)

D
Dil instruction fetches 1400 instruction, How
disk format

V-02

1401/1440/1460 V-07
1410/7010 V-14

instructions

1401/1440/1460 and 1410/7010 compaHb;];ty featu,e
Dil instruction fetches 1400 instruction, How

V-02

M

machine codes, 1400 addresses and corresponding

V-DB

problem determination aids

1401/1440/1460 V-09, V-IO
1410/7010 V-17
program organization

1401/1440/1460 V-06
1410/7010 V-13

register usage

1401/1440/1460 V-II, V-12
1410/7010 V-15, V-16

storage in System/370 main storage, Emulated 1400 core

tape format, spanned and 1400 V -03

CHAPTER VI BTAM
C
control block linkage

VI-01

D
data event control block (DECB)
DECB (dota event control block)

VI-12 to VI-16
VI-12 to VI-16

deHne the Hie BTAM (DTFBT) VI-02 to VI-07
DlFBT (deHne the rHe BTAM) VI-02 to VI-07

V-04

V-OI

INDEX (continued)

CHAPTER VI

BTAM (conHnued)

LCB (line control block)
line control block (LCB)

VI-DB to VI-ll
VI-DB to VI-ll

THIS PAGE HAS BEEN ADDED FOR YOU\{ OWN NOTES

THIS PAGE HAS BEEN ADDED FOR YOUR OWN NOTES

THIS PAGE HAS BEEN ADDED FOR YOUR OWN NOTES

THIS PAGE HAS BEEN ADDED FOR YOUR CNiN NOTES

SY33-8572-4

Intemallonal Business Machines Corporation
Data Processing Division
1133 Westchester Avenue. While Plains, New York 10604
(U.S.A. only)
IBM World Trade Corporation
821 United Nations Plaza, New York, New York 10017
(International)

DOSNS Handbook Volume 2
SY33·8572·4

READER'S
COMMENT
FORM

This sheet is for comments and suggestions about this manual. We would appreciate your
views. favorable or unfavorable. in order to aid us in improving this publication. This form
will be sent directly to the author's department. Please include your name and address if
you wish a reply. Contact your IBM branch office for answers to technical questions about
the system or when requesting a4ditional publication&. Thank you .

• We woaIcl c.pecWly IIpIIRCiate your eommeata OD my of the foDowina topicl:
Clarity of the text

Accuracy

Index

illustrations

Orpnjz.ation of the text

Croa-references

Tables

Examples

Appearance
Printing

Paper

Binding

FIRST CLASS
PERMIT NO. 1359

----.-......
--

WHITE PLAINS. N. Y,

BUSINESS REPLY MAIL
NO POSTAGE STAMP NECESSARY IF MAILED IN THE UNITEO STATES

POSTAGE WILL BE PAID BY .. .

IBM Corporation
1133 Westchester Avenue
White Plains, N.Y. 10604

Attention: Department 813 BP



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:30:17-08:00
Modify Date                     : 2012:05:29 18:25:45-07:00
Metadata Date                   : 2012:05:29 18:25:45-07:00
Producer                        : Adobe Acrobat 9.51 Paper Capture Plug-in
Format                          : application/pdf
Document ID                     : uuid:b82ac802-a694-4db2-a56d-efd284bc0da7
Instance ID                     : uuid:4a6d1b37-7e98-4c00-821e-e38aa5238ebf
Page Layout                     : SinglePage
Page Mode                       : UseNone
Page Count                      : 482
EXIF Metadata provided by EXIF.tools

Navigation menu