save
IBIVI 3704 and 3705
Program Reference
Handbook
GV30-3012-4
IBM Corporation, Publications Center, P.O. Box 12195,
Research Triangle Park, North Carolina 27709
IBM 3704 and 3705
Program Reference
Handbook
I'
or
I
.\
GY30·3012-4
IBM Corporation, Publications Center, P.O. Box 12195,
Research Triangle Park, North Carolina 27709
Programs supported by this handbook:
Program Name
Network Control Program/OS, Version 1 (V1M2)
Network Control Program/VS, Version 2 (V2M1)
Network Control ProgramNS, Version 5 (V5MO)
Emulation Program (V3MO)
Handbook
Reference
NCP1
NCP2
NCP#
EP
Summary of Amendments for GY30-3012-4
Previous changes in this manual include:
• Support for Network Control Program/VS, Version 5.
(Includes NCP 3.2, NCP 4.0, and SDLC/BSC Path Function.)
• Support for Emulation Program V3MO.
• Additional Network Commands.
• NCP exception responses.
• 2848/2260 line character codes.
• EBCDIC line character codes.
• Interface addressing.
New information in this manual includes:
•
•
•
•
Support for Network Control ProgramNS, Version 5.
Support for Emulation Program B3MO (old base and new base)
Type 4 channel adapter
Type 3 communications scanner.
Fifth Edition (June 1976)
This edition is a major revision of, and obsoletes the previous edition, GY30·3012-3.
Refer to the Summary of Amendments for the changes to this edition. Vertical bars
throughout the manual show where changes have been made.
Changes are periodically made to the information herein: before using this publication
in connection with the operation of IBM systems, consult the IBM System/370 Bibliography. GA20-000l and associated Technical Newsletters 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.
This manual has been prepared by the IBM Systems Communications Division, Publications Center, Department E01, P.O. Box 12195, Research Triangle Park, North Carolina
27709. A form for reader's comments is provided at the back of this publication. If
the form has been removed, comments may be sent to the above address. Comments
become the property of IBM.
© Copyright International Business Machines Corporation 1974; 1975, 1976
Preface
This handbook provides the System Programmer and IBM Program Support Representative
with reference information about the Network Control Program (NCP) and Emulation
Program (EP). It is designed to provide quick access to often-used diagnostic and debug
information. For a more comprehensive knowledge of a subject, refer to the publications
listed under Related Publications.
Old base EP modules support the type 1 channel adapter, the type 1 communication
scanner or up to four type 2 communication scanners.
New base EP modules support the type 4 channel adapter and the type 3 communication
scanner in the 370511. Additionally. support is provided for multiple type 4 channel
adapters and multiple-subchannel access (MSLAI.
This handbook consists of 18 sections. Sections 1 through 17 contain reference information. Section 18 is an Index to NCP and EP Reference Material. This index, in addition
to providing page numbers to information in this handbook, points to other IBM publications containing reference information.
Related Publications
IBM 3705 Communications Controller, Network Control Program, PLM, Version 1,
SY30·3003.
IBM 3704 and 3705 Communications Controllers, Network Control ProgramNS, PLM,
Version 2, SY30·3007.
IBM 3704 and 3705 Communications Controllers, Network Control ProgramNS, PLM,
Version 4, SY30·3013.
IBM 3704 and 3705 Communications Controllers, Emulation Program, PLM, SY30-3001.
(old base)
IBM 370511 Communications Controller, Emulation Program, PLM, SY30·3031.
(new base)
NCP/TCAM Network User's Guide, GC30-3009.
Guide to Using the IBM 3704 Control Panel, GA27·3086.
Guide to Using the IBM 3705 Control Panel, GA27·3087.
IBM 3704 and 3705 Communications Controllers, Network Control Program, Generation
and Utilities, Guide and Reference Manual, GC30·3000.
IBM 3704 and 3705 Communications Controllers, Network Control ProgramNS,
Generation and Utilities, Guide and Reference Manual, GC30-3007.
IBM 3704 and 3705 Communications Controllers, Network Control ProgramNS,
Generation and Utilities, Guide and Reference Manual (for OSNS and DOSNS VTAM
users), GC30·3008.
IBM 3704 and 3705 Communications Controllers, Emulation Program, Generation and
Utilities, Guide and Referenc(] Manual, GC30-3002.
.
Contents
SECTION 1: DATA AREA RELATIONSHIPS.
.
NCP Control Block Relationships for BSC/55 Lines
NCP#Control Block Relationships for SDLe Links
NCP Control Block Relationships for Switched aSC/55 Lines
NCP Control Block Relationships for Switched SOLe Links
NCP Pointers to the eGB • . . • . •
NCP Halfword Direct Addressable Pointers . .
Locating the NCP Address Trace Table
Control B lock Relationships for NCP Line Trace
NCP Control Block Relationships for BHR-s. .
EP Control Block Relationships· Type 2 Scanner
EP Control Block Relationships· Type 1 Scanner
2
3
6
6
7
SECTION 2: DATA AREA LAYOUTS . • .
ACB
ACB
ATB
BCB
BCU
BH
BHD
BHR
BHS
BST
BLU
BTU
BUE
CCB
CCB
CGB
GCB
CGP
CHB
CHB
CHB
Adapter Control Block for NCP .
Adapter Control Block for NCP#
Address Trace Block.
Bit Control Block
Block Control Unit .
10
Buffer Prefix . .
17
.
Block Handler Driver Table
Block Handler Routine Extension to DVB
Block Handler Set . . .
Block Handler Set Table .
Basic Link Unit for NCP# .
Basic Transmission Unit •
Switched Backup Extension to DVB
Character Control B lock for EP, PEP
Character Control Block for EP, PEP (DUMMY)
Character Control B lock for EP, PEP (Line Test)
Character Control Block for NCP . .
Cluster General Poll Extension to DVB
Channel Control Block INCP1, NCP2) .
Channel Control Block (NCP#) . . .
Channel Control Block Extension for Secondary Channel
Adapter . . . . . . . . •
Channel Control Block for EP, PEP.
CHCB
GHVT
Channel Vector Table . . . . .
Call-In Extension to OVB _ _ _ _
CIE
Channel Operation Block (NCP1, NCP2)
COB
Channel Operation Block (NCP#)
COB
Call-Out Extension to DVB
COE
Check Record Pool . . . . _
CRP
Command
Table. . . . . .
Cmd. Tbl.
Communications Line Timer and RAS Control Table.
CTB
Common Physical Unit Block
CUB
CYABARSW Barswap Table
DAE
Device Addressing Extension to DVB
Device Input Area _ . . •
DIA
Display/Refresh/Select Table.
DRS
Device Base Control Block. .
DVB
11
12
13
15
18
19
21
22
23
24
26
27
34
35
40
48
49
53
56
58
60
61
62
66
69
70
73
74
75
7B
79
80
81
B2
iii
ECB
Event Control Block.
ECDDT
EBCDIC Character Decode Displacement Table.
HWE
ICE
IDDT
IDE
IDL
lOB
LCB
LCST
LGT
LGT
LKB
LLG
LNVT
LNVT
LTCB
LTCB
LTS
LTS
LUB
LUV
LXB
OLLTCB
OLLTLAB
OLLTaCB
OLTTCB
PCB
PCF
PIU
PIU
PIU
PIU
PSB
aCB
aCB
aCB
RVT
RVT
SCB
SGE
SGT
SID
SIT
SOT
SOT
SPB
SVT
TND
Extended Halfword Direct Addressables
ICE Routine Address Table.
Interface Disconnect Dispatcher Table.
Identification List Entry
Identification List Header.
Input/Output Block.
Une Control Block
line Control Selection Table .
Line Group Table for PEP, EP
Line Group Table for NCP
Link Control BI,?ck . .
Logical Line Group Control Table
line Vector Table (for Type 1 Scanner)
line Vector Table (for Type 2 Scanner)
line Trace Control Block .
Line Trace Control Block (NCP #
).
Line Test Control Block (NCP1, NCP21
Line Test Control 8 lock (NCP#J
Logical Unit Block
Logical Unit Vector Table.
Link XIO Control Block
Online Line Test Control B!ock
Online Line Test Lookahead Buffer.
Online Line Test QCB Control Block for NCP# .
Online Terminal Test Control Block
Panel Control Blo~ .
PCF State Vector Table
Path Information Unit (FIOO)
Path Information Unit (FI01)
Path Information Unit (FI02)
Path Information Unit (FI03)
Physical Services Block.
Queue Control Block for EP .
Queue Control Block for Input Queues
Queue Control Block for Work Queues
Resource Vector Table.
Resource Vector Table (NCP#)
Station Control Block
Switched Line Group Entry
Switched Line Group Table
Send ID ,
Sub-Area Index Table
Service Order Table for BSC/SS Lines .
Service Order Table for SOlC
SDLC/BSC Path Control Block
Sub-area Vector Table for NCP#.
Time and Data Control Block
Trace Table (CA) Channe~-Adapter Trace Table.
Trace Table (line)
Trace Table (EP,I'EPI
Trace Control Table fEP, PEPI
TVS
Tiin~Value Select Table
UCDDT
USASel1 Character Decode Displacement Table
iv
B6
87
88
90
92
93
94
95
99
105
106
107
111
113
114
115
116
117
120
121
123
126
127
'132
134
135
136
137
138
142
145
148
151
154
157
159
161
162
163
164
167
168
169
170
171
172
t73
174
176
177
I7S
180
183
184
T85
Unassigned Subchannel Control Block. . . .
WU
WU Translate Table. . . . •
XDA
Word Direct Addressable Storage
XDB
BVte Direct Addressable Storage.
XDH
Halfword Direct Addressable Storage
186
187
18B
191
197
SECTION 3: BTU COMMANDS AND MODIFIERS
203
SECTION 3.1: NCP CHANNEL.
.
209
SECTION 4: NCP# NETWORI( COMMANDS.
.
.
.
.
211
SECTION 5: SDLC COMMANDS AND RESPONSES
219
SECTION 6: EP COMMAND COOES .
221
SECTION 7: BTU RESPONSES
223
System Response Byte .
Extended Response Byte
227
SECTION 8: NCP# EXCEPTION RESPONSES
231
SECTION 9: 3704 and 3705 IrlSTRUCTION SET
233
SECTION 10: INPUT/OUTPUT (EXTERNAL) REGISTER FUNCTIONS.
237
SECTION 10.1: Modem Lead, • • • .
241
22~
• • • • •
SECTION 11: INTERFACE CONTROL WORD (lCW) •
243
SECTION 12: NCP AND PEP ABEND AND EP HARDSTOP CODES
253
SECTION 13. LINE CHARACTER CODES.
261
ASCII Character Code (Even Parity)
ASCII Character Code (Odd Parity) .
Baudot Character Code.
BCD Character Code 1 . • . •
BCD GharacterCode 2. • . •
Correspondence Character Code 1
Correspondence Character Code 2
EBCD Character Code .
EBCDIC Character Code . .
JTA2 Character Code . . .
KATAKANA Character Code
Data Interchange (TWX) Character Code 1
Data Interchange (TWX) Character Code 3
ZSC3 Character Code . . . . . . .
261
262
263
264
265
266
267
268
269
270
271
272
273
274
SECTION 14: EXAMPLES OF POLLING AND ADDRESSING
275
1030 Polling and Addressing
2740 Polling and Addressing
Telegraph Terminals. . .
275
276
277
Models 33 and 35 Teletypewriters
BSC Terminals
278
279
SECTION 15: MDR RECORD FORMATS
281
SECTION 16: EP STORAGE MAP.
291
•
•
SECTION 17: INTERFACE ADDRESSING
293
SECTION 18: INDEX TO NCPAND EP REFERENCE MATERIAL.
297
vi
Figures
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
NCP Control Block Relationships for BSCISS Lines . . .
NCP# Control Block Relationships for SDLC Links . . .
NCP Control Block Relationships for Switched BSC/SS Lines
NCP Control Block Relationships for Switched SDLe links.
NCP Pointers to the CCB . . . . . .
NCP Halfword Direct Addressable Pointers . _
locating the NCP Address Trace Table. . . .
Control Blocks Relationships for NCP line Trace
NCP Control Block Relationships for BHRs. .
EP Contror Block Relationships· Type 2 Scanner
EP Control Block Relationships· Type 1 Scanner
2
3
3
4
5
6
7
7
vii
XOA
SOT
AeB
!&'
LOT
!4
o·
::J
00780
~
IOBLeB
0
- --,
BeB
I
I
I
L __ ...JI
g
~
a
..
C>
:xl
o·~
a
::T
--g'
r---,
I
L
__ ...J~"OPtiOfl"l
control
block
Figure 1. NCP Control Block Relationships for
sse/ss Lines.
PlU
RVT
Maximum
element
addren
in table.
X'FF'
LKB •
CUB,
LUB t
LUB'
LUa.
X'FF'
'--"--~,,- wrap value
10 top of SOT.
Figure 2. NCP# Control Block Relationships for SOLC Links.
(
,
SGT
CCB Vector
BasicCal1-ou
Configurat ion
dial port
SGESSGP
COESGTP
srOIDPTR
,>-
~
SGT
C~II·inw't
10
OVBPTR
",.
E~ch~n
C1E1OL
C1E1OPTR
I
LCBACep
./
r
10
V
10BLCB
(
H~rdwar.1D
10L
10
ACB·2
ACB Hinel
LCB:/:
SGELCBP
OVB (Callinl
1\(
LCB
SGELCBP
(
T~bre
BOO
OVB(Call·out!
l]\l
10
10
J
10
I
~
LeB
ACe (Lone]
LCBACBP
V
10BLCB
D
LCB'7
Call·inw'th
Multiple
Terminal
Access
Figure 3. NCP Control Block Relationships for Switched BSCISS Lines.
Figure 4. NCP Control Block Relationships for Switched SOle Links
Data Area Relationships
3
Figure 5. NCP Pointers to the cca
4
3704 and 3705 Program Reference Handbook
X'0700' O,,-X"'D"'----_ _-,
CCPOH2
CSPOHI
CSPOH2
TIMH2
·Figure 6. NCP Halfword Direct Addressable Pointers
Address
Trace Tilble
First
entry
X'07DS'
!Absolule
location)
last entry
used
-Addreushilledright
two bIt positions.
Figure 7. Locating the NCP Address Trace Table
Data Area Relationships
5
-----,
I
I
I
I
CCTACB
CCTI1DBUF
F",aduplexl,ne.
jhelr.~,m01leg',
LTCBfollow,jhe
"","".leg',LTCB
Figure 8. Control Block Relationships for NCP Line Trace
~
(
~
tBST
OFFSET
/
' ( ~(B!ock"aodlerdrlvt'rt3blel
~
eNT
FLG
tBHS
tBHS
t--
t BHSET
'-.~
tPT1 BH
C~{Blo(:khandle'd'ivertablel
tBHR
)
I--
tPT2 BH
tPnBH
r7
'=...
tBHS
tBHS
Point 3
BHR
acB
IBHR extension)
eNT
FLG
I)
tBHS
eNT
FLG
~
tBHR
tPARAM
I(
(
PARAM·
BYTE
~
~
,;
.I
----
tPARAM
~(Blockhandlerdrlvertablel
eNT
FLG
t BHR
f7pe~~'
~
)
• BHRs haYe ~ither a pointer to a parameter
list or a byte parameter in their entry in
theBHD,
Figure 9. NCP Control Block Relationships for BHRs
3704 and 3705 Program Reference Handbook
eNT
FLG
eNT
FLG
tPARAM
PARAMBYTE
'----
J
I~
J
Pr;ontv Data Service Out Queue
Figure 10. EP Control Block Relationships - Type 2 Scanner
X"700"
r--~
P"orlty Data Service Out Queue
POSOF
X"70E'
PDSOL
Figure 1 L EP Control Block Relationships· Type 1 Scanner
Data Area Relationships
Section 2: Data Area Layouts
The following conventions are used in this section:
'e
Various versions of the network control program are referred to in the following
manner:
NCPl - Network Control Program/OS, Version 1 (for OS/MFT and OS/MVT
TCAM users)
NCP2 - Network Control Program/V5, Version 2 (for OSNS TeAM users)
NCP# - Network Control ProgramlVS, (for OSIVS and DOSIVS VTAM user~
latest version)
NCP - All versions of the network control program.
If a field or bit is not used by all versions of the NCP, the version or versions that use
it are shown in parentheses after the field or bit description. For versions not listed,
the field or bit is unused.
• The displacement of each field from the beginning is given in both decimal and
hexadecimal notation (hexadecimal in parentheses). The displacements in the direct
addressable areas IXDA, XDB, and XDH) are given in absolute, hexadecimal notation
since these are always in a fixed location of storage.
• If a single field has dual uses with different labels according to the use. the displace·
ment is listed only once, and a broken line followed by the word "or" is inserted
between the different labels.
• The contents of some fields are designated as shifted addresses. This means that in
3705 configurations larger than 64K, the storage address is shifted right two bit
positions before being placed in the data area.
Shifted addresses are always in field with a defined length of two bytes. If the controller has less than 64K bytes of storage, the address is not shifted.
• Pointers or addresses contained in fields with a defined length of four bytes occupy
the last 18 bits of the field. (Only the last 16 bits are significant if controller storage
is less than 64K.1 Often byte 0 and the first six bits of byte 1 of these fields are lISed
for other purposes, such as for flags. In cases such as these, the four-byte field is
shown as follows:
B(8)
XVZISKEP
Task entry point (last 18 bits)
XYZMCBAD
Major control
block displacement.
gIg) XYZSCHED
"\"Task
"\
di~p~tching
"
"
"
"
"
PTloTlty.
• Labels shown in parentheses are equated in NCP and EP code to the defined label for
a field. Equated labels are most frequently used in the direct addressable areas.
• One field in every queue control block (aCB) is labeled "major control block dis·
placement". This field contains the offset to the beginning of this aCB from the
beginning of the control block that contains the aCB. For example, the DVIMCBD
field contains the displacement from the beginning of the device base control block
(OVB) to the beginning of the device input aCB.
• Bit patterns or hex values within a field are defined in a byte expansion table following the formatted data area. The bytes within a field are numbered from zero origin.
For examDle. if the first byte in a two·byte field has a unique definition, it is referred
to~~sJ~yte o~
Bits in the byte expansions that are not identified are reserved"
1.•
Data Area Layouts
9
ADAPTER CONTROL BLOCK
ACB
(BSC/SSI
Prograin: NCP
Size in bytes: 90(5A) for NCP1; 92(5C) for NCP2, NCP#.
Created by: NCP generation.
Pointer to ACB: LCBACBP field in LeB, or ACB vector. The Ace vector is located by
doubling the line address, then adding X'SOO·.
Function: Contains line control information and the status of I/O operations for aSC/S5
lines.
count fori ·2(·2)
1·3(.3)RetrY
dial·out.
I Address of dial-out line for auto call
1 010 )
Input/Output Block (lOB)
1 36(24)
Character Control Block (CCSI
10
3704 and 3705 Program Reference Handbook
ADAPTER CONTROL BLOCK
ACB
(SOLC)
Program: NCP#
Size in bytes: 92(5C)
Created by: NCP generation.
Pointer to ACB: LKBACBP field in LKB. If it is a duplex link, LKBACBP points to the
receive leg ACa, and LXBXACBP in the receive leg's ACB points to the transmit leg's
ACB. The ACB vector (or BAR vector) is located by doubling the line address, then
adding X'800',
Function: Contains line control information and the status of I/O operations for SOLe
links.
1
-3(-3)
Dial retry count.
I
-2(-2)
BAR address for dial-out line.
0(0)
Link XID Block (LXB)
36(24)
Character Control Block (GGS)
Data Area Layouts
11
ADDRESS TRACE BLOCK
ATB
Program: NCP
Size in bytes: 32(20)
Created by: NCP generation.
Pointer to ATB: SYSATBP field in HWE.
Function: Governs the operation of the address trace function executing in level ·1.
0(0)
ATBPRMS
Addresses of trace variables (16 bytes).
Parameter 1
4(4)
Parameter 2
S(S)
Parameter 3
12(C)
Parameter 4
lS(12)
16(10)
ATBFRST
Address of first entry in trace table
(CXTATPF). (Shifted .ddress.)
ATBPREV
Address of last entry used in trace table
(CXTATPL). (Shifted address.)
22(16)
20(14)
ATBCNTR
Number of interrupts processed.
ATBLAST
Address of last entry in trace table.
(Shifted address.)
24(IS)
ATBPRCT
No. of variables
in each trace entry.
125(19)
ATBCTL
Address trace
control byte.
26(1 A)
ATBLV LS*
127(1 B)Reserved
Program levels
to be traced.
30(1E)
2S(lC)
ATBBR
ATBIN
Prototype input instruction.
Prototype branch instruction.
-Indicates a byte expansion follows.
Byte Expansions
Bit Patternl
Offset/Field Name
26(lA)
ATBLVLS
Hex Value
Program levels to be traced.
X'SO'
X'40'
X'20'
X'10'
12
Contents
Level 2.
Level3.
Level 4.
Level 5.
3704 and 3705 Program fleference Handbook
BIT CONTROL BLOCI(
BCB
Program: NCP, EP
Size in bytes: 16(10)
Created By: NCP and EP generation.
Pointer: CCBBCB field in CCB(NCP) or CYACHEND field in CHVTIEP).
Function: Contains control information for the type 1 scanner. One BCB is created for
each line connected to a type 1 scanner.
.
0(01
2(21
BCBACB
BCBLlNK
ACB address (NCP) or
Pointer to next BCB.
CCB addre .. IEP).
4(4)
6(6)
9(9)
BIB)
BCBLCPCF*
BCBVCT
High byte of
LCD and PCF
PCF vector table
addr.
121C)
BCBMASK*
Transmit/receive mask
7(7)
BCBSCF
Sec. control
field.
BCBL2
Bit service routine address.
BCBPDF
Parallel data tid.
lOlA)
BCBSDF
Serial data field (10 bits, left justified).
141E)
BCBSYNC (BSC)
Sync character.
151F)
BCBSHIFT
Start-stop shift
count.
BCBBMASK*
(55)
Transmit
break mask.
·Indicat~s
a byte expansion follows.
Byte Expansions
. Offset/Field Name
Bit Patternl
Hex Value
9(9)
Contents
LCD end PCF.
BC~LCPCF
LCD field Ibits 0·2).
100.
101.
110.
01l.
111.
.. .x xxx.
.... ... x
Start-stop.
BSC.
Dial.
SDLC
Feedback check
PCF (See lew for PCF expansion.)
PCF change bit:
1 =same PCF
0= new PCF
Data Area Layouts
13
BCB
Offset/Field Nama
12(C)
BCBMASK
14(E)
BCBBMASK
15(F)
BCBSHIFT
Bit Patternl
Hex Value
X'0100'
X'0100'
X'0100'
X'COCO'
X'OO60'
X'COSO'
X'OISO'
X'OI00'
X'0300'
Contents
Transmit/receive mask.
SDLC
BSC EBCDIC.
BSCUSASCII.
Start-stop 9/6.
Start·stop 8/5.
Start-stop 9/7.
Start..top 10/7.
Start-stop 10/8.
Start-stop 11/8.
Transmit break mask. (SS)
Start·stop 8/5.
Start·stop 9/6.
Start·stop 9/7.
X'10'
X'20'
X'20'
X'40'
X'40'
X'7E'
X'BO'
Start-stop lOn.
Start-stop 10/8.
SDLC Flag mask
Start-stop 11/8.
Start-stop. shift count
No stop-bit error.
Stop-bit error encountered (55).
Character service not requested .
Character service requested .
0 ...
1 ..•
•0 •.
. 1. .
..0.
•. 1.
.. •0
... 1
.... 0 ...
1. ..
.0 ..
..0.
· .1.
· ..0
..• 1
No character overrun/underrun .
Character overrun/underrun occurred .
No modem error.
Modem error encountered (DSR. CTS. TIY) .
Carrier detect lead not up .
Carrier detect lead up (required if receiving),
No frame detection .
Store data character .
Do not store data character.
Character is not a pad.
Do not send start bit (55) .
SOLe stop shift count
xxx.
••• X
Ones counter
Last line state
1 :::::Mark
.... x ...
.... · .xx
14
o= Space
NRZI control
1 =NRZI
0= Not NRZI
Reserved - Character. bits
00 = SDLC B bit
3704 and 3705 Program Reference Handbook
BCU
BLOCK CONTROL UNIT
Program: NCP
Size in bytes: 20(14) control bytes plus BTU
Located in: Dynamic buffers.
Created by: Built by channel IOCS when a block is received from the host (NCP1, NCP2).
Built dynamically by internal routines (NCP#).
Function: To request work.
BuHer Prefix
0(0)
BCBUFCHN
Buffer prefix chain field. (Shifted
address.)
Event Control Block
4(4)
BCUSTAT'
15 (5)BCUESTAT'
Block status
flags.
Event status
flags.
6(6)
BCUECHN
ECB chain pointer.
10(A)
8(8)
BCUWQCB
Address of waiting task's input aCB.
BCUECHN(BCU8KLNG)
Set time interval, as specified by
SETI ME
macro.
or
BCUTCNT
BCU text count.
Work Area
12(C)
"""" "l
BCUREDS
Record descriptor.
BCURVTE
Address of RVT entry (last 18 bits).
BCUFLAGS'
Critical text
flags to channel
output.
16(10)
18(12)
BCUTDSP
Get byte/put byte displacement
BCUSSP
Subtask sequence pointer for suspended
value.
sessions.
20(14)
See "Basic Transmission Unit (BTU)" for format. (Variable in length)
Indicates a byte expansion follows.
Data Area layouts
15
BCU
Byte Expansions
Offset/Field Name
Bit Pattern/
Hex Value
Contents
1.
.1
Block status flags.
Block enqueued.
Buffers in block are counted .
1
. 1 ..
Event is satisfied.
Task is to be dispatched .
4(4)
BCUSTAT
Event status flags.
5(5)
BCUESTAT
13(0)
BCUFLAGS
Critical text flags to channel output.
1 ..
. 1 ..
.. 1.
16
Clear data in release blocks.
Replace·session·initiation·information
restart mode.
Check mode for replace-session-initiationinformation.
3704 and 3705 Program Reference Handbook
BH
BUFFER PREFIX
Program: NCP
Size in bytes: 4(4)
Located in: The beginning of each buffer.
Created by: Any routine that uses the LEASE macro to get a buffer.
Pointer to BH: Variable.
Function: Chains buffers in a BCU and points to the beginning of the text data within
a single buffer.
0101
3131
2121
BHBUFCHW
Painter to next buffer in this chain.
(Shifted address).
BHOFFSET"
Offset to beginning
of text in
BHDATCNT"
Text data count (for
this buffer only).
this huffer.
·See the block control unit (BCU) for labels used in the first buffer of a BCU.
Data Area Layouts
17
BLOCK HANDLER DRIVER TABLE
BHD
Program: NCP
Size in bytes: 8(8) per entry; total size of table is variable.
Created by: NCP generation.
Pointer to BHD: BHS
Function: Defines the block handling routines that are to be executed for a particular
block handler.
Entry Format
0(0)
BHORTNP
Pointer to block handling routine (last 18 bits).
-
- - -
BHDC1'
-
-,
Entry ctl byte 1.
4(4)
BHOPARMP
Pointer to parameter list (last 18 bits).
- - SHOC:!' - -I
Entry ctl byte 2
*Indlcates a byte expansion follows.
Byte Expansions
Offset/Field Name
0(0)
BHOC1
Bjt Pattern/
Hex Value
1- __
J ..
... 1
4(4)
BHOC2
1- ..
. 1-.
.. 1.
1. . .
.1 . .
7(7)
BHOPARMB
1- ..
. 1. .
. . 1.
... 1
1...
. 1. .
. . 1.
18
Contents
Entry control byte 1.
End of table Uast entry).
UserBHR.
Receive control if command is in error.
Entry control byte 2.
Receive control for React.
Receive control for Invite.
Receive control for Write .
Receive control for Disconnect.
Receive control in terminator-subtask for
Read 110.
Byte parameter (for date/time).
Date desired.
Calendar form of date desired .
Julian format of date desired .
Gregorian format 1 of date desired .
Gregorian format 2 of date desired.
Time desired .
Date/tim~ staf!1P f~~~t. block of message .
3704 and 3705 Program Reference Handbook
BHR
BLOCK HANDLER ROUTINE EXTENSION TO DVB
Program: NCP
Size in bytes: 24(18)
Located in: OVB
Created by: NCP generation.
Pointer to BHR: DVBBH RO field in OVB.
Function: Associates block handler routines with a device.
0(0)"
BHRBHST
Pointerto 8HS (last 18 bits).
Point 3 aCB (BHRBH3Q)
(See aCB for I nput Queues for all bit definitions.)
4(4)"
6(6)"
BH31ECB
Pointer to first BCU queued.
(Shifted address.)
8(8)"
BH3STAT
Task and queue
status.
1 9 (9)"
BH3PRKEY
Protection key.
8H3LECB
Pointer to last BCU queued. (Shifted
address.}
10(A)"
BH3UNK
Pointer to next ace in chain. (Shifted
address.
12(C)"
BH3TSKEP
Task entry point (last 18 bits).
- - BH3MCBO
- - - - -1-13(0)
- - - - Major control
block displacement.
BH3SCHEO
Task d.isp.atching
pnorlty.
16(10)"
18(12)"
BH3SAVE
Address of save area pushdown
list. (Shifted address.)
BH3LUNK
Pointer to previous ace on the queue.
(Shifted address.)
20(14)"
BH3BHSET
BH set (or BHR) address (last 18 bits).
- - - - - -11-21(15)
- - - - - -.1
BH3BHRST
BHR status bits.
BH3BHSET
BHR scheduling bits.
, IndIcates a byte expansIon follows .
... Actual position depends upon other extensions to DVB.
Data Area Layouts
19
BHR
Bit.Pattern!
Offset/Field Name
Hex Value
Contents
BHR control flags.
1 ...
Execute BHR - If a BHR was specified as
0(0)
BHRCTL
dynamic, specified initially as inactive, or
deactivated by operator control, this bit
will beaff.
Point 1 • specifies point 1 BHR execution .
. 1 ..
. . 1.
... 1
Point 2 - specifies point 2 BHR execution.
Point 3 - specifies point 3 BHA execution .
1. ..
Point 3 - Block Handler Routine queue
control block exists for device. This aCB
is created by defining PT3EXEC=YES or
BHEXEC=ALL For dynamic block
handlers that have a point 3, there must be
a point 3 BHRQCB.
20
3704 and 3705 Program Reference Handbook
BLOCK HANDLER SET
BHS
Program: NCP
Size in bytes: 12(C)
Created by: NCP generation.
Pointer to BHS: BSTBHSPT field in BST.
Function: Points to the block handlers that are to be executed for the block handler
set.
010)
BHSPl
Pointer to point 1 block handler driver table IBHD).
4(4)
BHSP2
Pointer to point 2 SHO.
8(8)
BHSP3
. Pointer to point 3 SHD.
Data Area Layouts
21
BLOCK HANDLER SET TABLE
BST
Program: NCP
Size in bytes: 4 bytes per entry; table can contain up to 256 entries.
Created by: NCP generation.
Pointer to BST: SYSBST field in XDA.
Function: Points to block handler sets (one entry per BHS).
0(0)
BSTBHSPT
Address of BHS (last 18 bits). (For the first entry, bytes 1-3 contain
zeros.)
BSTCTL*
BH R control flags.
(For the first entry.
this byte contains the
count of BH set
pointers in the table.)
"Indicates a byte expansion follows.
Byte Expansions
Bit Pattern!
Offset/Field Name
Hex Value
0(0)
BHR control flags.
BSTCTL
1. ..
.1 ..
. . 1.
... 1
22
Contents
Execute.
Point 1 .
Point 2 .
Point 3 .
3704 and 3705 Program Reference Handbook
BLU
BASIC LINK UNIT
Program: NCP#
Size in bytes: PIU + 6 bytes
Function: This is the SDLe transmission block
SOLe Line Control
PIU
3(3)
Path Information Unit
(See PIU 0·1·2 for description.)
SOLe Line Control
Block Check
Character
(BCC) (2 bytes)
*Indicates byte expansion follows.
Offset/Field Name
Bit Pattern!
Hex Value
Function
0(0)
0111 1110
Indicates beginning or end of BLU.
Flag
2(2)
Contro''','' Format
xxx.
•• • X
xxx.
•• • X
Receive count sequence.
Polllfinal bit .
Send sequence count.
O=lnformation transfer BLU .
"S" Format
xxx.
•• • X
xx ..
.. 01
"NS" Format
xxx. xx ..
.... x ....
...• .. 11
Receive sequence count.
Polilfinal bit .
OO=Receive ready (RR)
01=Receive not ready (RNR)
10=Reject
Supervisory BLU
Non sequenced command or response
Poll/final bit
Nonsequenced format
Note: See Section 5 for descriptions of SO LC commands and responses.
Data Area Layouts
23
BASIC TRANSMISSION UNIT
BTU
Program: NCP
Size in bytes: 14(E) control bytes + variable length text.
Located in: BCU
Created by: The host access method (NCP1, NCP21 or an internal NCP routine (NCP#).
Pointer to BTU: None. The starting byte is at displacement 20( 14) into the BCU.
Function: Contains information for either a request for 110 or for a control operation;
or a response for the same.
20(141"
22(161
BCUSIO
(BCHSID)
Source name.
24(18)
BCUSEO
(8CHSEOI
Request tag or sequence number
identifying this BTU.
28(ICI
BCUCMO*
(BCHCMOI
Command
29(101
BCUMOO
(BCHMOO)
Command modi-
BCUOIO
(BCHDlO)
Destination name (resource 10).
2611A1
BCUSRES
(BCHSRESI
System response.
See Section 7
for responses.
30(IEI
BCUSFLAG*
IBCHSFLAGI
Function flags.
27(IBI
BCULRES
(BCHLRES)
Extended response.
Contains status of
1/0 operation. See
Section 7.
31(IFI
BCHBOUF*
BTU flags.
fiers. See Section
3 for a-list of
the BTU commands and their
modifiers.
32(201
341221
BCUTLEN
(BCHTLENI
Text length.
*Indicates a byte expansion follows.
uDisplacements represent the offset into the BCU.
24
3704 and 3705 Program Reference Handbook
Text field.
(Variable length.)
BTU
Byte Expansions
Offset/Field Name
2B(lC)
BCUCMD
(BCHCMD)
Bit Pattern/
Hex Value
X'OO'
X'Ol'
Null.
X'02'
X'03'
X'04'
Write (W).
Online test IT).
Read (R).
X'OS'
X'06'
x'or
X'OB'
X7r
Any o:ther
30(lE)
BCUSFLAG
(BCHSFLAG)
Restart (Y). (NCP1, NCP2)
Invite (I).
Contact (C)' (Modifier byte must be zero.)
Disconnect (D).
Control (Z).
Unsolicited response.
Invalid.
Function flags.
1. ..
. 1 ..
.. 1.
... 1
1 ...
. 1. .
.. 1.
... 1
31(lF)
BCHBDUF
Contents
Command. (See Section 3 for descriptions.)
Checkpoint select (control commands) or
start of header.
Header prefix .
Suppress Invite (control commands) or
leading graphics.
First block of message.
Transparent data.
Positive acknowledgement .
Negative acknowledgement .
Alternate acknowledgement .
BTU flag •.
. 1 ..
.. 1.
Suppress write response.
Selective text return
Data Area Layouts
25
SWITCHED BACKUP EXTENSION TO DVB
BUE
Program: NCP
Size in bytes: 4(4)
Located in: DVB
Created by: NCP generation.
Pointer to SUE: DVBBUO field in DVB.
Function: Contains control information for devices that can be contacted over a
separate line when the current line fails.
1(1)
BUEPLCBP
Primary leB pointer.
-Indicates a byte expansion follows.
Byte Expansions
Offset/Field Name
Bit Patternl
Hex Value
BUEFLAGS
1 ...
. 1 ..
26
Contents
Flag byte
0(0)
Service seeking skip when the device is on a
multipoint line.
Error occurred in dialing out.
.. 1.
Invite pending remembrance .
... 1
Back up in progress .
3704 and 3705 Program Reference Handbook
CCB
IEP, PEP)
CHARACTER CONTROL BLOCK
Program: EP, PEP
Size in bytes: 38{261 for each start-stop line.
MI2C) for each BSC line.
Located: SLVL5
Created by: NCP and EP generation.
Updated by: LCP, ICP.
Pointer to etB: l..NVT
Referenced by: LCP, ICP, CHVT.
Function: Contains current information on the physical operation of a line. One eeB
is generated for each line specified.
DID)
CCBDATA
(CCBSUB1)
Data Buffer 0
4(4)
CCBDATAI
Data Buffer 1.
B(8)
lOlA)
CCBSVLNK
CCBSOLNK
Data service queue forward chain
pointer.
Status out queue forward chain pointer.
121C)
CCBSUBCH
131D)
CCBBTLCD
Type 1 LCD for
Multiplexer sub·
channel address. i-~!.C~I~~e~
141E)
CCBSTAT'
151F)
CCBSENSE'
Final line status byte. Final line sense byte.
'''CCBCFLG'
Configuration Flags
16(10)
CCBCMD
Current com-
mand for
eea.
17(11)
CCBLRI'
Lin'J request information, 5 bits.
19(13)"
CCBCSENS
18(12)"
CCBCSTAT
Current sense
Current status.
(See Section 6.1
20(14)
CCBCAC'
Character address counter.
21(15)
CCBSVSTC'
22(16)
CCBCLOCK
Service/status
Timer control
field.
24(18)
CCBACADR
flag byte.
23(17)
CCBTMADR
Timeout routine
displacement into
branch table.
2611A)
CCBOPT'
27(IB)
CCBOPT2'
Autocall addrels.
CCB option byte 1.
·Indlcates that a byte expansion follows.
··For byte expansion of CCBCSTAT, refer to CCBSTAT.
For byte expansion of CCBCSENS. refer to CCBSENSE .
• uEP having a type 4 CA C!.nd NCP#with PEP.
Option byte 2.
Data Area layouts
27
CCB
(EP, PEP)
2B{lC)
CCBSTMOO'
Set mode byteOutput X'46'
29(10)
CCBLCO'
Line control deflnition (LCD) field.
(High 4 bits contain
line control definer;
low 4 bits
contain 0.)
Start/Stop Extension
3O(lE)
CCBlRC
55 longitudinal
redundancy
31(lF)
CCBSSC'
SS control flags
byte.
check byte.
32(20) (Note 1)
CCBPEPFL'
PEP flags
34(22)
CCBLGT
55 line group table pointer.
-CCBSScX;--l
S5
col1tr~1
flags
extenSion
36(24)
3B(26)
CCBL2
CCBCHAOR (Note 2)
Level 2 interrupt address.
Channel control block pointer
-Indicates that a byte expansion follows.
Note 1: CCBPEPFL is a halfword when EP is used having a type 4 CA and NCP#.
Note 2: Used with EP having a type 4 CA and NCP #.
Binary Synchronous Extension
30(lE)
CCBBCC
asc block check characters
CCBBCC1
BSe block check
character 1.
31 (1'F)
CCBBCC2
BSC block check
character 2.
32(20)
CCBPEPFL'
PEP flags.
34(22)
CCBSYN
BSC EBCO IC or
USASCII Syn
character.
36(24)
CCBL2
Address of current (evel2 character
status.
39(27)
CCBFLGB2'
Flag byte~-
terminal type.
42(2A)
CCBL2A1
Lost aata routing.
,
character.
3B(26)
CCBFLGB1'
Flag byte 1-
service routine.
40(28)
35(23)
CCBEOT
BSC EBCDIC or
USASCII EOT
CCBOLCOM
eea address if dual communications
feature is installed (2701 emulation only).
Indicates a byte expansion follows.
28
~704
and 3705 Program Reference Handbook
CCB
(EP, PEP)
Binary Synchronous Extension
EP having a type 1 CA, and NCP#
30(IE)
CCBBCC
BSe block check characters
-------- '3i(iF)----
32(20)
CCBPEPFL'
PEP flags.
Unused for EP standalone
36(24)
CCBL2
Address of current level 2 character
service routine.
40(28)
CCBL2Al
Lost data routing.
CCBBCC2
CCBBCCI
BSC block check
BSC block check
character 1.
character 2.
34(22)
35(23)
CCBSYN
CCBEDT
BSC EBCDIC or
BSC EBCDIC or
USASCII Syn
USASCII EDT
character.
character.
39(27)
38(26)
CCBFLGBI'
CCBFLGB2'
Flag byte 1Flag byte 2terminal type.
status.
42(2A)
CCBDLCDM
eeB address if dual communications
feature is installed (2701 emulation only).
*Indicates a byte expansion follows.
Binary Synchronous Extension (type 2 scanner)
EP having a type 4 CA, and NCP#
32(20)
CCBPEPFL'
PEP flags.
36(24)
CCBL2
Address of current level 2 character
service routine.
38(26)
CCBFLGBI'
CCBFLGB2'
Flag byte 1Flag byte 2terminal type.
status.
42(2A)
CCBDLCDM
eeB address if dual communications
I
3O(IE)
CCBBCC
_ _ _ ~£~~~e~~~a:!e~ _ __
31(IF)
CCBBCCI
CCBBCC2
BSC block check
8SC block check
character 1.
character 2.
35(23)
34(22)
CC8SYN
CCBEDT
BSC EBCD IC or
BSC EBCDIC or
USASCII Syn
USASCII EDT
character.
character.
38(26)
CCBCHADR
Channel control block pointer
40(28)
CCBL2Al
Lost data routing.
feature is installed (2701 emulation only).
*Indicates a byte expansion follows.
Data Area Layouts
29
CCB
(EP, PEPI
Station Select Feature Extension (type 2 scanner)
EI' having a type 4 CA, and NCP #
46{2EI
CCBSADR
47{2FI
CCBGADR
Poll or select
address
Group selection
address
Binary Synchronous Extension (type 3 scanner)
EP having a type 4 CA, and NCP#
3O(IEI
CCBTBUF
First extended buffer address
32(201
34(221
CCBPEPFL'
PEP flags.
36(241
CCBBBUF
Second extended buffer address
38(261
CCBL2
CCBCHADR
Address of current level 2 character
Channel control block pointer
service routine.
40(281
1
/41(29
CCBFLGBI'
CCBFLGB2'
Flag byte 1Flag byte 2terminal type.
status.
44(2CI
CCBDLCOM
eea address if dual communications
feature is installed (2701 emulation only).
48(301
CCBIS
Index save byte
I
42(2AI
CCBBCNT
Second buffer
count
46(2EI
CCBCAB'
Channel adapter
flags
{Reservedl
* Indieates a byte expansion follows.
30
3704 and 3705 Program Relerence Handbook
43(2BI
CCBTCNT
First buffer
count
47(2FI
CCBBUFSZ
Buffer size
eeB
(EP, PEP)
Station Select Feature Extension (Optional)
44(2C)
45(2D)
CCBSADR
CCBGADR'
Station selection
Group selection
address and station
address.
poll address. These
two addresses
differ in bit position 2.
*Indlcates that a byte expanSion follows.
Byte Expansions
Offset/Field Name
14(E)
CCBSTAT
15(F)
CCBSENSE
17(11)
CCBLRI
Bit Patternl
Hex Value
X'OO'
X'OI'
X'02'
X'04'
X'OS'
X'OC'
X'OD'
X'OE'
X'IO'
X'20'
X'40'
X'4C'
X'SO'
Contents
Finalli"e status byte.
Reset status byte.
Set UE.
SetUC.
Set DE.
SetCE.
Set CE, DE.
Set CE, DE, UE.
Set CE, DE, ue.
SetCU busy.
Set control unit end.
Set SM.
Set CE, DE, SM.
Set attention.
Final line sense byte.
X'OO'
X'OI'
X'02'
X'04'
X'OS'
X'IO'
X'20'
X'40'
X'SO'
Reset sense byte.
Time-out
Set lost data.
Set overrun.
Set data check.
Set equipment check.
Set bus out parity check.
1. .. ....
.... I ...
.... .yxx
Set interface disconnect flag.
Set data end flag.
Set intervention required.
Set command reject.
Line request information.
y=buffer (0 or I)
xx=number of bytes requested from or
presented to the channel.
20(14)
CCBCAC
21(15)
CCBSVSTC
Character address counter.
X'07'
.... I ...
ResetCAC .
Set BSe inhibit store flag.
X'SS'
X'4S'
X'CO'
Set data service (buffer 0) + data end.
Set data service (buffer 11 + data end.
Set SV1 and SVO bits.
Service/Status flag.byte.
Data Area Layouts
31
CCB
(EP, PEP)
Bit Pattern!
Offset/Field Name
26(1A)
CCBOPT
Hex Value
Contents
I. ..
. 1 ..
Auto call option installed .
Long disable time-out.
ceB option byte 1.
.. X.
DuaJcom interface A:::Q
B=1(BSCI.
•. 1 •
... 1
Not unit exception on EOT(lBM 55).
Ring option installed.
1 ...
.x ..
.. 11
27(IB)
CCBOPT2
Channel decode IBM type 1 and type 2
EOB.
Trace active for this line .
Channel decode IBM type 3 ETX.
1 ...
. 1 ..
.• 1.
... 1
32
2702 or 2703 .
5S no DeD security monitor.
World Trade telegraph .
Not long line quiet time-out (25.6 seconds).
I BM modem flag (option 1, SS only) .
Set-mode byte, Output X'46'.
Type one scanner low bit service priority.
1 ...
. 1 ..
.. 1.
•.. 1
Diagnostic Wrap mode .
Data terminal ready .
1 ...
. 1 ..
.. 11
29(10)
CCBlCD
Duplex line installed; O=half, l=full.
Type 2 scanner highest interrupt priority.
eeB option byte 2.
. 1 ..
.• 1.
... 1
28(IC)
CCBSTMOD
Switched line installed.
Binary sync clock.
External (data set) clocking.
Data rate select .
Oscillator select.
Line control definition (LCD).
0000
0010
0011
0100
0101
0110
0111
1100
1101
1111
SS 9/6 (1 start, 6 data, and 2 stop bits).
SS 8/5 (TTY 1 • 83B3, 11SAI.
Autocall LCD.
SS 9/7 (IBM type 11.
SS 10/7.
SS 10/8 (28481.
SS 11/8 (TTY2· TWX models 33/351.
BSC EBCDIC.
SSC USASCII.
Feedback check.
3704 and 3705 Program Reference Handbook
CCB
(EP, PEP)
Bit Patternl
Offset/Field Name
31(lF)
CCBSSC
Hex Value
Contents
Start-stop control flags byte.
TTY2 type line.
284B type line.
TTYI type line.
IBM type 1 line.
IBM type 2 line.
Bypass LRC (IBM type 1 and 2); not upshift
000.
001.
010.
100.
110.
..• 1
(TTY 1 and 2).
32(20)
CCBSSCX
(55)
32(20)
(BSC)
CCBPEPFL
33(21)
(55)
38(26)
CCBFLGBI
1. ..
. 1. .
Not immediate end (no line quiet pad checkl.
•• 1.
Not text in (IBM type 1 and 2); not Figs H
... 1
(TTY2).
Not text out (IBM type 1 and 2); not first
character (2848 and TTY).
Start-stop control flags extension.
.... ... 1
Reserved.
Byte 1
x ... ....
O=NCPACB.
l=EP CCB.
1. ..
.1. .
Channel priority .
EIB mode .
Not new sync.
eeB flag byte l-status.
Interrupt mode .
1. ..
. 1. .
· .1.
... 1
Code B selected.
ITB mode .
Dualcom installed.
1. ..
. 1. .
. . 1.
Station select installed .
.•. 1
46(2E)
CCBCAB
EtB data check.
EIB overrun .
eee flag byte 2-terrninal type.
1. ..
. 1. .
· .1.
45(20)
CCBGAOR
Half duplex link on which break is allowed .
PEP Flags.
Byte 0
•• 1.
... 1
39(27)
CCBFLGB2
Lower case remember.
.• 1.
..•. x ...
.1. .
· .1.
••. 1
ASCII transparent.
Transparent mode, wait for second write.
Second write accepted.
Multipoint address remember flag.
No trailing pad check .
Group selection address.
Multipoint address difference bit.
Sync monitor latch
1=Syncs detected in inbound CA transfer.
O=Non·sync character detected in
inbound data .
OLE remember latch
ASCII monitor control latch.
EBCDIC monitor control latch •
Data Area Layouts
33
CHARACTER CONTROL IILOCK (DUMMY)
CCII
(EP, PEP)
Program: EP, NCP2, NCP3
Size in bytes: 10 (OA)
Located: SL V L5
Created by: NCP and EP generation.
Updated by: ICP.
Pointer to Dummy CCB: CHVT (Pointer has low order bit on).
Referenced by: ICP, CHVT.
Function: Used to handle sense, test 110 and I/O NOP to a subchannel within the high·
low range of subchannel addresses, but to which no line has been assigned.
8(8)
10(A)
CCBSVLNK
CCBSOLNK
Status out queue forward chain
pointer.
Data service queue forward
chain pointer.
12(C)
13(0)
CC8SUBCH
Multiplexer subchannel address.
16(10)
CCBCMD
Current command
for CCB (Se.
section 6.)
34
14(E)
CCBBThCD
Type 1 LCO forset
PCF line use.
17(11)
CCBLRI
Line request
information.
3704and 3705 Program Reference Handbook
15(F)
CCBSTAT
Final line status
byte.
CCBSENSE
Final line sense
byt••
CHARACTER CONTROL BLOCK (Line Testl
CCB
(EP,PEP)
Program: EP,PEP
Size in bytes: 38(26) for each start-stop line.
44(2C) for each BSC line.
Located: SLIIL5
Created by: NCP and EP generation.
Updated by: LCP.ICP.
Pointer to eeB: LNVT
Referenced by: LCP, ICP, CHVT.
Function: Contains current information on the physical operation of a line. One eGB
is generated for each line specified.
0(0)
CCBDATA
Receive Data Buffer
4(4)
6(6)
CCBTLINK
CCBTBADR
Return Link Address
Transmit Buffer.
Address
Save Area
10(A)
8(8)
CCBSVLNK
Data service queue forward chain
CCBSOLNK
Status out queue forward chain pointer.
pointer.
12(C)
CCBSUBCH
Multiplexer sub·
channel address.
16(10)
CCBCMD
Current command for eCB.
(See Section 6.)
20(14)
CCBCAC
Buffer Index.
13(D)
CCBBTLCD
Type 1 LCD for
set PCF line use.
14(E)
15(F)
CCBSTAT'
CCBSENSE'
Final line status byte. Final line sense byte.
17(11)
CCBLECS'
line Error Check.
18(12)"
CCBCSTAT
21(15)
CCBTEST
Active Test
Function
22(16)
CCBCLOCK
Timer control
field.
24(18)
CCBACADR
Autocall address.
19(13)"
CCBCSENS
Current status.
Current sense
26(lA)
CCBOPT'
CCB option byte 1.
23(17)
CCBTMADR
Timeout routine dis·
placement into
branch table.
27(lB)
CCBOPT2'
Option byte 2.
-Indicates that a byte expansion follows.
·"For byte expansion of CCBCSTAT, refer to CCBSTAT.
For byte expansion of CCBCSENS, refer to CCBSENSE.
Data Area Layouts
35
CCB
(EP, PEP)
28(IC)
CCBSTMDD"
Set mode byte-
Output X'46'
29(ID)
CCBLCD"
Line control definition (LCD) field.
(High 4 bits contain
line control definer;
low 4 bits contain 0.)
Start/Stop Extension
3O(IE)
CCBLRC
S5 longitudinal
redundancy
check byte.
32(20)
CCBSSCX"
55 control flags
extension.
33(21)
CCBPEPFL"
PEP flags
31(IF)
CCBSSC"
SS control flags
byte.
34(22)
CCBLGT
S5 line group table pointer.
36(24)
CCBL2
Level 2 interrupt address.
Binary Synchronous Extension
30(IE)
CCBBCC
sse block check characters
- - j1(iF) - - - - eCBBCel
BSC block check
character 1.
CCBBCC2
BSC block check
character 2.
32(20)
CCBPEPFL"
PEP flags.
34(22)
CCBSYN
BSC EBCDIC or
USASCII Syn
character.
36(24)
CCBL2
Address of current level 2 character
service routine.
40(28)
38(26)
CCBFLGB1"
Flag byte 1status.
character.
39(27)
CCBFLGB2"
Flag byte 2-
terminal type.
42(2A)
CCBL2Al
Lost data routing.
CCBDLCDM
eeB address if dual communications
feature is installed (2701 emulation only).
*Indicates a byte expansion follows.
36
35(23)
CCBEDT
BSC EBCDIC or
USASCII EDT
3704 and 3705 Program Reference Handbook
CCB
(EP, PEP)
Station Select Feature Extension (Optional)
44(2C)
CCBSADR
45(20)
CCBGADR*
Station selection
Group selection
address and station
poll address. These
two addresses
address.
differ in bit posi
tion 2.
4
-Indicates that a byte expansion follows.
Byte Expansions
Bit Pattern!
Offset/Field Name
14(E)
CCBSTAT
15(F)
CCBSENSE
17(11)
CCBLECS
Hex Value
Contents
X'OO'
X'OI'
X'02'
X'04'
X'OB'
X'OC'
X'OD'
X'OE'
X'IO'
X'20'
X'40'
X'4C'
X'80'
Set UE.
Set UC.
Set DE.
SetCE.
SetCE, DE.
Set CE, DE, UE.
Set CE, DE, UC.
Set CU busy.
Set control unit end.
Set SM.
Set CE, DE, SM.
Final line status byte.
Set attention.
Final line sense byte.
X'OO'
X'OI'
X'02'
X'04'
X'OB'
X'IO'
X'20'
X'40'
X'80'
1-. .•. ....
.1 .• ....
.. 1. ! . . .
•.. 1
.... 1. ..
.... .1. .
.... .. 1.
.... •.. 1
21(15)
CCBSVSTC
Reset status byte.
Reset sense byte.
Time-out
Set lost data.
Set overrun.
Set data check.
Set equipment check.
Set bus out parity check.
Set intervention required.
Set command reject.
Reserved for interface disconnect
Data check
Transm it mode
Receive mode
Normal compare set
Swap 3 set
Swap 2 set
Swap 1 set
Service/Status flag byte.
X'88'
X'48'
X'CO'
Set data service (buffer 0) + data end.
Set data service (buffer 1) + data end.
Set SV 1 and SVO bits.
Data Area Layouts
37
CCB
(EP, PEP)
Offset/field Name
26(lA)
CCBOPT
Bit Patternl
Hex Value
1.
Auto call option installed.
Long disable time-out .
Dualoom interface A=O
B=l (BSC).
1. ..
. 1. .
.. X.
.. 1.
.•• 1
Not unit exception on EOT(lBM 5S).
•••• 1 .••
Switched line installed .
Ring option installed .
.x . .
•. 11
27(lB)
CCBOPT2
1. ..
. 1 .•
. . 1.
... 1
EOB.
Trace active for this line .
Channel decode IBM type 3 ETX .
2702 or 2703.
SS no OeD security monitor.
World Trade telegraph .
Not long line quiet time-out (25.6 seconds) .
IBM modem flag (option 1, SS only) •
Set mode byte, Output X'4S',
Type one scanner low bit service priority.
Diagnostic Wrap mode .
Data terminal ready .
1 .••
. 1. .
.. 1.
... 1
Binary sync clock .
1 .•.
. 1 ..
.. 11
38
Type 2 scanner highest interrupt priority .
Channel decode IBM type 1 and type 2
1 ...
..• 1
29(10)
CCBLCD
Duplex line installed; O=half, l=full .
eea option byte 2.
. 1. .
. .1.
28(lC)
CCBSTMOO
Contents
eea oPtion byte
0000
0010
0011
0100
0101
0110
0111
1100
1101
1111
External (data set) clocking,
Data rate select .
Oscillator select .
Line control definition (LCD).
SS 9/6 (1 start, 6 data, and 2 stop bits).
SS 8/5 (TTY 1 • 83B3, 115A).
Autocall LCD.
SS 9/7 (IBM type 1).
SS 10/7.
SS 1018 (2848).
SS 11/8 (TTY2 • TWX models 33/35).
BSC EBCDIC.
BSC USASCII.
Feedback check.
3704 and 3705 Program Reference Handbook
CCB
(EP, PEPI
Bit Pattern!
Offset/Field Name
31(lFI
CCBSSC
He;( Value
Contents
Start-stop control flags byte.
000.
001.
TTY2 type line,_
2848 type line.
010.
100.
110 .
..• 1
TTYl type line.
IBM type 1 line.
t8M type 2 line.
Bypass LRC (IBM type 1 and 2); not upshift
(TTY 1 and 21.
32(201
CCBSSCX
(SSI
32(201
(BSCI
CCBPEPFL
1 ...
Not immediate end (no line quiet pad check).
. 1. .
Lower case remember .
.. 1.
Not text in (IBM type 1 and 2); not Figs H
... 1
(TTY2).
Not text out (IBM type 1 and 2); not first
character (2848 and TTY).
Start-stop control flags extension.
.... ... 1
Half duplex link on which break is allowed .
PEP Flags.
Byte 0
Reserved.
33(21)
(SSI
Byte 1
38(261
CCBFLGBl
x ...... .
O=NCP ACB.
l=EP CCB.
1 ...
. 1 ..
.. 1.
... 1
Channel priority .
EIB mode .
eGa flag byte
Not new sync .
1 ••.
. 1 ..
.. 1.
... 1
39(271
CCBFLGB2
Interrupt mode.
EIB data check.
EIB overrun .
Code B selected .
ITS mode .
eca flag byte 2-terminal type.
Dualcom installed.
1 ...
. 1 ..
.. 1.
1 ...
. 1 ..
.. 1.
••. 1
45(2DI
CCBGADR
'-status.
Station select installed .
ASClJ transparent .
Transparent mode, wait for second Write.
Second write accepted .
Multipoint address remember flag .
No trailing pad check .
Group selection address.
.. 1.
Multipoint address difference bit .
Data Area Layouts
39
CHARACTER CONTROL BLOCK
CCB
.(NCP)
Program: NCP
Size in bytes: _56(38)
Created-by: NCP generation.
Pointer to eeB: Follows lOB in ACB for SSC/55 lines. Follows LXB in ACB for SOLe
lines.
Function: Contains line control information.
36(24)
36(26)
CCBSTATE"
CCBL2
Address of current level 2 character
service routine.
40(28)
Pointer to character service state address
table. Initially. CCBSTATE contains the
address of the beginning of the state address
table. The masks shown in the byte expan·
sion are applied to the low-order byte of
CCBSTATE by the character service routines. They change the valuf!of CCBSTATE
so that it points to the entry in the state
address table that contains the address of
the routine to handle the line state indicated.
42(2A)
CCBTACB or
CTSACB
CCBTWORK or
CTBWORK
Pointer to the next ACB in the
timer chain.
Timer work entry for this ACB.
44(2C)
46(2E)
CCBlINK
CCBTIME"
Pointer to next ACB in level 2-3
chain.
Time-out interface.
"\"
CCBTOCMO
48(30)
-
CCBTOREM
50(32)
CCSBAR
CCSBCC
Line address. if type 2 scanner.
CRC check character (SSC).
or
or
CCBBCB
CCBLRC
SCS address, if type 1 scanner.
LRC character
(SS).
*Indlcates a byte expansion follows.
40
- - -
3704 and 3705 Program Reference Handbook
--
Time-out remem·
brance.
Time·out com·
mand.
r
CCBCASE
Case history
(SS)'
CCB
(NCP)
54(36)
52 (34)
CCBLGPT
Pointer to line group t<Jble for
group.
CCBCNTS
Character count/buffer count field.
CCBCHAR
Buffer character
count.
T······
CCBCUT
Buffer maxImum for
a receive operatIon.
5813A)
56(38)
CCBSTAT1'
Current operational status of the
line.
CCBEN01
Line status at completion of a level 2
operation. The level 2 routine moves the
status from CCBSTATl to CCBEND1 at
the end of an operation.
6013C)
CCBOATA"
Address of the data byte being sent or received (last 18 bits).
CCBEN02
Record descriptor
flags moved from
CCBSTAT2 at
end of a level
CCBNCFL"
Flags for control
operations between
lOB commands.
2 operation.
64(40)
CCBSTART
Current buffer address (last 18 bits).
- ..
CCBOFSET
At start of a receive
operation, set to the
offset into the buffer
of the first data character (SS/BSC only),
--
CCBFLAGS'
General Flags.
after first character
;5 rece;ved. set 10 .1
zero, indicating
that data was stored.
68(44)
CCBRXLAT
Address of receive translate
decode table.
CCBCPCNT
Poll cycle count
ISOLe).
69(45)
CCBCPRAT
Contact poll rate
(SOLC)'
70(46)
CCBTXLAT
71(47)
CCBSTAT2
High·order byte of
transmit translate
decode table address.
(The low·order byte
of the address is the
character to be
translated) .
Record descriptor
flags. If any bit in
this field is on, it
indicates that the
corresponding char·
acter was scanned.
----------CCBPASCT
Pass counter-number
of BLUs sent (SOLC).
or CCBNEXT
Buffer for next
character to be
transmitted.
CCBRBLUC'
BLU command
field received for
level 3 ISOLC).
·'ndlcates a byte expansion follows.
··Type 3 scanner receive-Address of one character beyond the last character received.
Type 3 scanner transmit-Address of the next buffer in the write chain (zero if none).
Data Area Layouts
41
CCB
(NCP)
CCBHOBUF
Address of first buffer in a block (last 18 bits).
72(48)
" " " " "I" "CCBTYPEC"
" " ""
I " "CCBBUFCT
Buffer.maximum for
a receive operation.
Dial control flags.
76(4C)
CCBL3
Address of next level 3 routine to
be executed.
80 (50)
CCBSMSOF"
Set mode control
flags.
81(51)
CCBXTPCF
Transmit turn
79(4F)
CCBFSTSV
Save area for
current status.
78(4E)
CCBERTRY
Text error retry
limit.
82(52)
CCBCTL"
Control ffags/line type.
around.
LCO/PCF.
CCBRSPON"
Control flags.
84(54)
86(56)
CCBESTAT
Expected ending status of the level
"2 operation.
T
CCBTYPE"
Line type.
CC8L2REM
Save area for CCBL2. (SOLC)
"87(5i)
"
CCBNEGPO
CCBICCCT
BSC negative
Initial control
poll wait timeout
character count .
..
or
CCBVTABO
Vertical tab delay
(number of idles
sent after a vertical tab; SS only)
B8(58)
CCBCRTN
Number of print
positions carriage
will return in time
it takes to send one
id Ie character (SS
only).
I
orCCBAFLO
Received secondary
station address
(SOLC).
89(59)
CCBLCNT
Length of print
line (SS only).
or CCBCFLD
Received
SO LC/BTU com·
mand field.
90(5A)
CCBLTCRP
Number of data
Net carriage return
positions since
last carriage return.
value.
orCCBLNRP
Last N(R) processed
(SOLC).
orCCBXTICH
Character position
of ITS mode transparent text (SSe
only).
42
91(5B)
CCBNTCRP
3704 and 3705 Program Reference Handbook
or CCBPOLLI
Poll intervalmaximum poll rate
(SOLC)
CCB
(NCP)
Byte Expansions
Bit Pattern I
Offset/Field Name
3S(26)
CCBSTATE
I
Hex Value
State masks used by
X'OO'
X'02'
X'04'
X'06'
X'OS'
X'OA'
X'OC'
X'OE',
X'lO'
X'14'
X'16'
X'lS'
X'lA'
X'lC'
X'lE'
X'20'
X'22'
X'24'
X'26'
X'2S'
X'2S'
X'2A'
X'2C'
X'2E'
X'30'
X'32'
X'34'
X'36'
X'3A'
X'3C'
X'3E'
I
Contents
Pointer to character service state address
table.
sse character service
Receive not text.
Receive phase.
Receive BeC.
Receive first not text.
Receive end pad.
Queue received sub-block.
Receive text.
Receive intermediate BCe.
Transmit not text.
Transmit BCC.
Transmit syn insertion.
Transmit end pad.
Transmit initial.
Transmit text.
Transmit intermediate BCe.
Receive idle.
Receive enable.
Receive OLE in text.
Receive disconnect.
Receive OLE in not text.
Transmit OLE in not text.
Receive transparent text.
Receive first transparent text.
Receive OLE in transparent text.
Transmit Diagnostic.
Transmit Dial.
Transmit
Transmit
Transmit
Transmit
Transmit
DLE in text.
syn insert-transparent.
transparent text.
first transparent text.
DLE in transparent text.
State masks used by start·stop character service
X'OO'
X'02'
X'04'
X'06'
X'OE'
X'lO'
X'12'
X'14'
X'16'
X'lA'
X'lE'
X'24'
X'2S'
X'2A'
X'2C'
X'2E'
X'32'
X'34'
X'36'
X'3S'
X'3C'
X'3E'
Receive control.
Receive lost data.
Receive LRC.
Receive response.
Line turnaround.
Transmit ctl. w/repetition.
Transmit pad.
Transmit LRC.
Transmit rep[y.
Transmit ct1. w/address.
Line turnaround.
Receive first character, MTA.
Receive post sense byte.
Post the ACB queue.
Receive line quiet test(1).
Receive line quiet test(21.
Receive line quiet test(31.
Transmit carriage idles.
Transmit 1030 text idles.
Transmit reset pad flag.
Transmit sub·block end.
Transmit break.
Data Area Layouts
43
CCB
(NCP)
Bit Patternl
Offset/Field- Name
Hex Value
Contents
State masks used by SDLe character service
X'OO'
X'OE'
X'lE'
X'20'
X'22'
X'26'
X'2E'
X'3E'
R"CVidle.
Shoulder tap time-out.
Shoulder tap time-out.
·RCVidle.
Enable.
Disconnect.
Shoulder tap time-out.
Shoulder tap time-out.
State bits and-cfefinitions
OLE mask.
X'20'
l=DLE encountered:
O=No OLE encountered-
Transmit/Receive mask.
1=Transmit.
X'lO'
O=Receive.
CTL or text out test mask.
X'04'
X'02'
1=85 state is receive reply.
O=SS state is receive control.
Send. EOA mask.
l=Send pad in place of EOA.
O=Send EOA,
X'Ol'
First flag mask.
The bits in
position O_of
both bytes of
CCBTlME are
used together
Time-out interface.
l=First non SYN or OLE.
O=No first non SYN or OLE.
46(2E)
CCBl'IME
for time-out
control. When
these bits have
different values
in the two
hytes of
CCBTIME,a
new timer
command
is present.
56(3B)
CCBSTATl
Byte 0
_Current operational-status of Irne.
....
1, ..
.1.,
....
....
.. 1 .
....
... 1
CCBCMPCO
....
1 ...
....
....
....
. 1, .
.. 1 .
.,.1·
Byte 1
Exceptional ending flags passed between
levers 2 and -3.
Character ovfrrun/underrun.
-Format erro (abnormal line control
_ sequence for- a receive- operation).
Stop bit error (start·stop only) .
Abort frame (SOlC). Seven_ones in a row
hawe been received.
Data check (VAC, LAC, or CAC error) .
Siock overrun occurred~(SDleJ.
Line quiet time·out (SS only).
Aeset command in- process .
Invatid D_LE sequence-CSSe only) .
Transmit length check. (SSC/S5}
Completion codes indicating how the 1/0
operation ended. Status masks are the
same as_those for IOSSTAT+1 (SSC/SS
lines) or lXBSTATC (SOle links).
44
3704 and-3705 Program Reference Handbook
CCB
(NCPI
Offset/field Name
6113Ell
CCBNCFL
Bit Patternl
Hex Value
1. ..
.1 . .
Contents
Flags for control operations between lOB
commands.
Command initialization delay required .
Special ender procedure when no command
· .1 .
is up.
Send TTD bit.
Byte 1
· .. 1
65(41)
CCBFLAGS
Send WACK. (Bits 4·7 reserved).
General flags.
Tab preceded CR/LF (551. No time·out
(SSC). Initial time·Qut interval (SOle).
Control mode indication .
l=control mode is response to text.
1..
.x
O=conlrol mode if from polling or
addressing.
.. 1.
Post ACe to the queue after turnaround .
... 1
One character of break signal received (SS)'
Next event is ITS (SSC).
Line is in diagnostic mode .
OLL T active (SOle)
.... 1 ...
.1. .
711471
CCBRBLUC
Re~eived
RRRP
RAnr
AARP
RARP
1001
0101
0001
0111
0001
0001
1001
SSSQ
0001
0101
1001
0011
0011
0111
0011
0111
1111
0111
p=PDiI/Fina~
AAR-N IRI
SSS-N(SI
731491
CCBTYPEC
Dial control flags.
1.
. 1.
.. 1.
... 1
. 1 ••
Switched lint!.
Line has auto dial unit (switched only) .
Recognize ring indicator lead .
line has DC telegraph loop .
1~Gencratc answt!r tonc after call·in.
fr=:Answer tonc is automatic .
Not NRZI mode.
Set mode control flags.
801501
CCBSMSQF
Se~vice
. 1.
.. 1.
•• •X
.x ..
. . 1.
... 1
B21521
CCBCTL
C Field -BtU SOLe
1 format
S format R R cmd/resp.
S format RNA cmd/resp.
S format REJ cmdlresp.
NS format SNRM tmd.
NS format SDRM cmd.
NS format SIM cmd.
NS format NSA resp.
NS format Ral resp.
NS format ROL resp.
NS format CMOR resp.
1::: Poll (cmd)-'
Final (resp)
Aecv seq count
Send seq count
priority (type 1 scanner).
l=low priority.
O=high priority.
Diagnostic mode .
Data terminal ready bit .
l=synchronous line .
O=start·stop line.
l=modem clocking.
0=3705 clocking.
Data ratc sclcct bit (World Trade modems).
1::high speed.
Q=low speed.
Oscillator selcct bit 1 .
Oscillator select bit 2 .
Control flags/line type.
Byte 0
Control flags.
Control Flag Definitions for Replies
1...
Send NAK reply/delay after autodial.
·t . .
Send ACK reply.
· .~ .
Alternating ACK bit for esc (valid only if
bit 1 is also on).
l=send ACKt.
O=send ACKO.
Data Area Layouts
45
CCB
(NCP)
Bit Pattern!
OffsetlField Name
Hex Value
... 1 •...
Contents
Last text reply was WACK (BSC). TTD
.... x .••
received when ACK outstanding
Last reply outstanding (SS).
Expected receive alternate ACK bit (BSC) .
l=ACKl expected reply.
O=ACKO expected reply.
Control Flag Definitions for Polling Operations
x ... .•..
.1. .
..1.
... 1
.... x .•.
....•.. x
SD LC poll wait
l::::wait
O=no wait
or
Service seeking skip bit.
l=Terminate if at end of service order
table.
O=Continue service seeking.
SDLe transmit leg busy,
Service seeking polling, or single poll.
Service seeking .
Orderly link stop.
l=End run when both transmit and
receive legs idle. (SD Le)
SDLe receive leg busy,
l=Cannot poll now (primary),
(Always on if secondary.)
Q=Can poll now.
SDLe poll loop control
l=At end of list no active station found
O=Active station found in list
Control Flag Definitions for Enable/Dial Operations
1 .. .
.1 . .
. .x .
... 1 ....
Abort enable dial.
Abort when level 2 processing ends .
Duplex enable second pass through under
(SOLC).
l=Second pass through enable end.
O=First pass through enable end.
Send ENQ after 10. (Bits 4·7 reserved).
Control Flag Definitions for Text Operations
11 ... ....
1 Insert data before text.
(Bits 1-7 reserved).
Control Flag Definitions for Multiple Terminal Access
1...
1 . _.
.xx .
. .1 .
. . .1
46
MTA retry in process. (Bits 1-3 reserved).
MTA line enabled .
Phase bits:
8'OO'=ldle.
B'Ol'=Receive text.
B'10'=Receive text reply.
B'11 '=Receive control.
Phase bits for SDLC operations:
B'OO'=No command active.
B'Ol '=SOLC I-format sent or SOlC
RR-sent.
8'1O'=SDLC RNR·sent.
B'11'=SDLC NS-command sent.
Special phase bits for ID exchange:
B'OO'=No command active.
B'Ol '=Receive 10 phase.
B'10'=Receive ID reply.
B'11'=Connect and Command Reject .
Leading graphics being sent .
Sub-blocking occurred.
3704 and 3705 Program Reference Handbook
CCB
(NCP)
Offset/Field Name
Bit Pattern!
Hex Value
Contents
CCSTYPE
Byte 1
Line type
l=Line is on a type 3 scanner.
O=line is not on a type 3 scanner.
Duplex adapter.
l=Line has 2 line adapter addresses.
0=1 line adapter address.
Half duplex ACB or duplex transmit leg
ACB.
l=Half duplex leg or duplex transmit leg
ACB.
{FDuplex receive leg ACB.
.. X.
0'
Duplex adapter transmit leg ACB.
l=Transmit leg.
Q=Receive leg.
0'
... 1 ....
. . . 1 ..
••••
•• X_
.... ...x
55 (WTTY) "';p FIGS/LTRS NCP#.
l=Strip FIGS/LTRS in received text.
Use data set new sync feature
(SSC/SOLC).
Half duplex link on which break is
allowed (SS!.
Line type bit.
l=SSC.
Q=start-stop, SOLe (see bit 7).
Remote station can receive error message
(SSC).
Time-out valid reply for negative poll
(start-stop).
Point-ta-point contention bit (BSC/SDLe) .
1"'point·ta-point contention secondary .
station (BSG).
O"'point-to-point contention primary
station.
l"'SDLC secondary station.
O=SDLC primary station.
World Trade shift bit (55).
t=upshift on space character (WTTY only).
(}=ono upshift on space.
SD LC link bit NCP#.
l=Line type is SOle (Bit 4=0).
Q=line type is not SD LC.
0'
SIS (WTTY) stdp FIGS/LTRS. (NCP2)
l=Strip FIGS/LTRS in received text.
O=Leave FIGS/LTRS in received text.
Data Area Layouts
47
CLUSTER GENERAL POLL EXTENSION TO DVB
CGP
Program: NCP
Size in bytes: 16(10)
Located in:
ova
Created by: NCP generation.
Pointer to CGP: OVBCLSO field in OVB.
Function: Contains information necessary to reinitiate suspended sessions of general
polled devices.
0(0)'
CGPRVTE
Pointer to RVT entry.
4(4)"
CGPSSC
(Reserved)
Suspended
sessions count.
Cluster Suspended Sessions aCB
(See aCB for Work Queues for all bit definitions,)
B(B)'
10(A)'
CGPIECB
CGPLECB
Pointer to first BCU queued.
Pointer to last BCU queued.
(Shifted address.1
(Shifted address.)
12(C)'
CGPSTAT
113 (0)"
CGPPRKE¥
14(E)"
CGPLINK
Pointer to next ace in chain.
(Shifted address.)
• Actual position depends on other extensions present.
Task and Queue
status .
48
Protection key.
3704 and 3705 Program Reference Handbook
CHB
(NCP1.2)
CHANNEL CONTROL BLOCK
Program: NCP1. NCP2
Size in bytes: 128(80)
Created by: NCP Generation
Pointer to CHB: CHSVH2 field in XDH
Function: Contains the parameters and control fields used by the type 2 channel
adapter 1/0 supervisor.
CHB Prefix
·24(·18)
CXCAWO
Channel work aCB. (For format, see Queue Control Block for Work Queues,)
·16(·10)
CXCAHO
Channel hold aCB. (For format, see Queue Control Block for Work Queues.1
·8(·8)
CXCAECB
Event control block for leasing buffers. (For format, see Event Control Block.)
0(0)
CHBSTATE'
Channel adapter
outbound state
1(1 )
CHBTRIG'
Channel trigger
field.
2(2)
(Reserved).
CA select byte'
indicates current
primary CA.
field.
4(4)
3(3)
CHBCASEL*
6(6)
CHBXR50
Save area for external register X'5Q'.
CHBXR51
Save area for external register X'51',
10(A)
8(B)
CHBXR52
Save area for external register X'52',
12(C)
CHBXR53
Save area for external register X'53'.
14(E)
CHBXR54
CHBXR55
Save area for external register X'54'.
Save area for external register X'55'.
* Indicates a byte expansion follows.
Data Area Layouts
49
CHB
(NCP1,2)
18(12)
16(10)
CHBXR57
Save area for external register
x'sr.
CHBXR5C
Save area for external register X'SC'.
20(14)
CHBIM1SV·
Save area for input manager's linkage register to CXCACIMl.
24(18)
CHBIM3SV
Save area for input manager's linkage register to CXCACIM3.
28(IC)
CHBECBAD
Address of ECB for leasing buffers.
32(20)
CHBEQSV
Address of the complete BTU to be passed to the system router.
36(24)
CHBEOSVN
Address of the last buffer in the BTU to be enqueued.
40(28)
CHBBSVS
Address of the first buffer on the save chain.
44(2C)
CHBBSVE
Address of the last buffer on the save chain.
48(30)
CHBICFB
Address of the first buffer in the CW chain.
54(36)
52(34)
CHBICPS
CHBICFE
Pointer to the input CW chain (CIC).
Address of the first CW on the input
CW chain (CIC).
58(3A)
56(38)
CHBLEXCW
CHBICLE
Address of last executed CWo
Address of the last CW on the
input CW chain (CIC).
62(3E)
60(3C)
CHBRNBS
CHBLBCNT
Number of data bytes in one NCP
buffer (shifted left two bits).
Data count for last inbound buffer used.
66(42)
CHBRNBAL
64(40)
CHBRCNT
Original data count in last CW executed.
NCP generated
buffer lease
count for
inbound data.
67(43)
CHBBLC
Current buffer lease
count (same as
CHBRNBAL except
during slowdown,
when this field equals
one)~
68(44)
CHBCOMSV
Save area for linkage register for CXCACOM.
72(48)
CHBHOBS
Address of the last outbound BTU given to the channel adapter output initiator.
50
3704 and 3705 Program Reference Handbook
CHB
(NCP1.2)
76(4CI
CHBWQAD
Address of the channel work aCB.
80(501
CHBHQAD
Address of the channel hold aCB.
84(541
CHBDCFB
Address of the first buffer on the output CW chain (COC).
90(5A)
88(581
CHBOCPS
CHBOCFE
Pointer to the output CW chain
Address of the first CW on the output
(COCI.
CW chain (COCI.
94(5E)
92(5CI
CHBWKA
CHBOCLE
Save area.
Address of the last CW on the output
CW chain (COCI.
96(601
98(621
CHBHBAL
Number of host
CHBHBS
Host buffer size in bytes.
buffers allocated
per read list.
99(631
CHBOCR
Number of host
buffers remaining
for use by the output
CW chain (COCI.
100(641
102(661
CHBPADI
CHBPIPT
Pointer to start of access method
pad O.
103(671
(Reserved),
Number of bytes
in access method
padO.
104(681
106(6AI
CHBPAD2
CHBP2PT
Pointer to start of access method
pad 1-
107(6BI
(Reserved).
Number of bytes
in access method
pad 1-
108(6CI
110(6E)
CHBDLAY
NCP generated value for attention
CHBATTO
First attention time-out interval.
delay in tenths of a second.
112(701
114(721
CHBSSICF
CH8ATT2
Second attention time·out interval.
115(731
(Reserved'.
CA·inoperative
flag for level 1
only.
116(741
(Reserved I.
120(78)
CHBERPSV
Save area for channel error recovery procedure.
124(7CI
CHBSCBA
Address of secondary channel adapter extension, if present.
Zero if not present.
Data Area Layouts
51
CHB
(NCP1,2)
Control Word Chain Area**
0(0)
CHBCOCWS
Variable length area for Out CW chain (COC).
CHBCICWS
Variable length area for In CW chain (CIC).
If the secondary channel adapter extension to the CHB is present, this area (Control
Word Chain Area) follows the extension.
u·Offset depends on length of CHBCOCWS.
*.
Byte Expansions
Offset/Field Name
Bit Pattern/
Hex Value
0(0)
CHBSTATE
1 ...
. 1 ..
..x.
(Reserved) .
... 1
1 ...
.x ..
.. 1.
... 1
1(1)
CHBTRIG
1.;.
.1..
.. 1.
... 1
1 ...
. 1 ..
... 1
3(3)
CHBCASEL
52
X'OS'
X'OO'
Contents
Channel adapter outbound state field.
Attention needs to be presented to host.
Attention delay active .
Allow attention time·out .
Attention has been presented.
(Reserved)~
COC is active .
Channel work queue is active .
Channel trigger field.
Next BTU has been rejected because of
slowdown.
Reject the-next BTU because of slowdown .
SlolNdown mode indicator .
Switch-in-progress flag .
Terminate flag.
Secondary Read pending flag .
Switch Read pending flag .
Type 2 channel adapter 1.
Type 2 channel adapter 2.
3704 and ;3705 Program Reference Handbook
CHANNEL CONTROL BlOC:<
CHB
(NCP#)
Program: NCP#
Size in bytes: 12SISOI
Created by: NCP Generation
Pointer to: .CHSVH2 field in XDH
Function: Contains the parameters and control fields used by the type 2 and type 3
channel adapter 110 supervisor.
-481-301
CXCAXHQ
PIU exception queue (for format, see aCB for input queues),
-32(-201
CXCAIQ
Channel intermediate aCB (for format, see aCB for work queues).
-24(-181
CXCAHQ
Channel hold aCB (for format, see QCB for work queues).
-161-101
CXCAECB
Event control block for leasing buffers (for format, see
Event Control Block,)
-S(-SI
XXCXTCHB
Dump identifier. Characters "XXCXTCHB"
0101
CHBCND*
Channel condition flags.
2121 CHBSEl
313bHBCASEl
Channel adapter select bit.
X'D O~S' type 2 CA-position 1.
X'OOOO' type 2 CA·position 2.
414)
CHBSSICF
Channel adapter
5151
6161
Reserved.
CHBICND*
Condition flags on entry.
inoperative flag for
level 1 use only.
lOlA)
8181
Reserved.
12(CI
Reserved.
Reserved.
141EI
CHBRSX
115(FI
CH8WSX
Next Read Start
command expected.
161101
Next Write Start
command expected.
181121
CHBXR50
CHBXR51
Save area for external register X'50'.
Save area for external register X'51'.
201141
22116)
CHBXR52
CHBXR53
Save area for external register X'52'.
Save area for external register X"53'.
24(18)
26(lA)
CHBXR54
CHBXR551
Save area for external
register X'54'.
Save area for input from
external register X'55'.
3011E)
28(lCI
CHBXR550
CHBXR56
Save area for output to external
register X'SS'.
Save area for external
registEit X'E!6'.
*Indlcates a byte expansion follows.
Data Area Layouts
53
CHB
(NCP#)
32(201
34(221
CHBXR57
Save area for external
CHBXR5A
Save area for external
register X'57'.
register X'5A'
36124)
38126)
Reserved.
CHBXR5C
Save area for external
register X'5C'.
40128)
CHBLESV
Save area for CXCALEAS.
4412C}
CHBBCWSV
Save area for CXCABCWS.
48130)
CHBBFXSV
Save area for CXCABFIX.
52134)
CHBIBTUA
Address of first buffer of current PIU.
56138)
CHBIPBF
Pointer to last inbound buffer.
6013C)
CHBIBUFl
Address of first buffer on inbound CW chain.
64140}
CHBIBUFN
Address of last buffer on inbound CW chain.
68144}
CHBCBTUl
Address of a complete PIU passed to path control.
72148}
CHBCBTUN
Address of last buffer of PIU to be enqueued.
7914E}
7614C}
CHBICWl
Address of first CW on inbound
CHBICWA
Address of inbound CW area,
CW chain.
BOI50}
82152}
CHBLEXCW
CHBICWN
Address of last executed CWo
Address of last CW on inbound
CW chain.
84154}
86156}
CHBLBCNT
CHBRCNT
Data count for last inbound
Original data count in last
executed CWo
buffer.
88158}
CHBMLCNT
Number of
9015A}
89159}
CHBCLCNT
buffers to lease for
inbound transfer.
CHBBTUCT
Number of PIUs enqueued.
Current buffer
lease count.
9215C}
9415E}
Reserved.
CHBSKPcr
Number of PIUs to skip for retry.
96160}
CHBIQBS
Address of last outbound block given to CXCAOUT.
100164}
54
102166}
CHBOFFST
CHBDATCT
Temporary area for buffer data offset.
Temporary area for buffer data count.
3704 and 3705 Program Reference Handbook
CHB
(NCP#)
10616A)
104(68)
CHBOCW1
Address of first CW on output chain.
CHBOCWN
Address of last CW on output chain.
11016E)
10816C)
CHBFHAC
System generated host Read buffer size.
CHBRHAC
Host Read buffer size work area.
114(72)
112(70)
CHBRCCW
Number of host Read CCWs per
channel transfer unit work area.
CHBFCCW
System generated number of host
Read CCWs per channel transfer unit.
118(76)
116(74)
CHBDLAY
NCP system generation value for
CHBVPAD
VTAM Pad size.
attention delay in tenths of a second.
12217A)
120(78)
CHBATTO
First attention time-out
interval.
CHBHWM
Attention delay
PIU counter.
12417C)
Reserved
Control Word Chain Area*"'"
010)
CXCAOCWA
Variable length area for Out CW chain (COC).
CXCAICWA
Variable length area for In CW chain (CIC) .
.... If the secondary channel adapter extension to the CHB
Word Chain Areal follows the extension.
*"*Offset depends on length of CHBCOCWS.
IS
present, this area (Control
Byte Expansions
Offset/Field Name
010)
CHBCND
6(6)
CHBICND
Bit Pattern/
Hex Value
Contents
Byte 0
Channel condition flags.
1 ...
Attention status required.
Attention delay active .
Inhibit attention time·out .
Attention has been presented.
. 1 ..
... 1.
1 ...
Byte 1
. 1 ..
.. 1.
1 ...
• 1 ..
.. 1.
... 1
4(4)
1 ...
Slowdown mode BTU rejected .
Slowdown mode indicator .
Switched in progress flag.
Secondary Read pending .
Switch Read pending
Terminate flag .
Set if more than 16 interrupts occur in
100 milliseconds on a secondary channel
adapter.
Data Area Layouts
55
CHANNEL CONTROL BLOCK EXTENSION 'OR
SECONDARY CHANNEL ADAPTER
CHB.
Ext.
(NCP1,2)
Program: NCP1, NCP2
Size in bytes: 128(80)
Created by: NCP generation
Pointer to CHB extension: CHBSCBA field in CHao
Function: Contains the parameters and control fields used by the type 2
I/O supervisor when switching primary and secondary channel adapters.
channe~
adapter
0(0)
(Reserved}
4(4)
6(6)
CHBSXR50
Save area for external register X'50',
8(B)
CHBSXR51
Save area for external register X'51',
lOlA)
CHBSXR53
Save area for external register X'53':
12(C)
CHBSXR55
Save area for external register X'55',
16(10)
CHBSXR54
Save area for external register X'54'~
14(E)
CHBSXR56
Save area for external register X'56',
lB(12)
CHBSXR57
CHBSXR5C
Save area for external register X'57',
Save area for external register X'5G',
20(14)
22(16)
CHBSICV
Value of secondary CA's INCWAR.
24(IB)
CHBSOCV
Value of secondary CA's OUTCWAR.
26(IA)
CHBSSINA
Address of an In CW for reading
switch commands.
2B(1C)
CHBYRPR
Address of Out CW for response BTU
indicating that the old secondary is
now the primary.
30(IE)
CHBYRSR
Address of Out CW for response BTU
indicating that the old primary is
now the secondary.
CHBSSATA
Address of Out CW for response BTU
indicating that attention time·out has
expired on the primary CA.
32(20)
CHBSBPT
Pointer to secondary channel adapter buffer.
56
3704 and 3705 Program Reference Handbook
CHB
Ext.
(NCP1,2)
"36(24)
(Reserved)
40(28)
CHBS)NCW
In CW with zero count override for switch commands.
44(2C)
Area for building CW to transfer pad before response BTU 1.
48(30)
CHBPRCW
Out-:itop CW with no chaining-for response BTU 1.
52(34)
Area for building CW to transfer pad before response BTU 2.
56(38)
CHBSRCW
Out-stop CW with no chaining for response BTU 2.
60(3e)
Area for building CW to transfer pad before response BTU 4.
64(40)
CHBSARCW
OUHtop CW with no chaining for response BTU 4.
68(44)
CHBSRSPI
Response BTU 1 . indicates that the old secondary is now the primary.
1'82(52)
CHBSRSP2
Response BTU 2· indicates that the old primary is now the secondary_
96(60)
(Reserved)
Jl10(6E)
CHBSRSI'4
Response BTU 4 . indicates that attention time-out has expired on the primary CA.
124(7C)
(Reserved)
Data Area layouts
57
CHCB
(EP/PEPI
CHANNEL CONTROL BLOCK
Program: EP/PEP
Size in bytes: 104(68) + CHVT
Created by: EP/NCP# generation
Pointer to: CHCBADl at X'710' for CHCBl (Type 1/4 CAl, CHCBAD2 at X'712' for
CHCB2 (Type 2/3 CAl
Function: Contains the queues, CHVT and other data unique to a particular channel
adapter.
0(01
CASEL*
Channel Select Bits & PEP Flags
2(21
4(41
TERMADR
Terminator Address
6(61
QCBFLAGS*
EP Flags
1 7(7 1ACCOUNT
DDCCBADR
Dynamic Subchan eCB Address
8(BI
OCBTIO
Test liD Control
Active
Command Count
10(A)
12(CI
PDSOFRST
PDSOLAST
Priority Data SVC Out Queue
First Pointer
Priority Data SVC Out Queue
14(EI
last Pointer
16(101
PEDSOFST
Priority Extended Data SVC Out
Queue First Pointer
18(121
PEDSOLST
Priority Extended Data SVC Out
Queue Last Pointer
20(141
DSOFRST
Data SVC Out Queue First Pointer
22(161
DSOLAST
Data SVC Out Queue Last Pointer
24(181
EDSOFRST
Extended data SVC Out Queue
First Pointer
26(lAI
.EDSOLAST
Extended data SVC Out Queue·
last Poi "ter
28(lCI
DSIFRST
Data SVC in Queue First Pointer
30(lEI
58
DSILAST
Data SVC in Queue Last Pointer
32(201
EDSIFRST
EDSILAST
Extended Data SVC In Queue
First Pointer
Extended Data SVC In Queue
Last Pointer
3704 and 3705 Program Reference Handbook
CHCB
(EP/PEP)
36{24)
34{22)
SOFRST
Status Out Queue First Pointer
SO lAST
Status Out Queue Last Pointer
40{28)
38{26)
PSllAST
Poll Data SVC In Queue
Last Pointer
PSIFRST
Poll Data SVC In Queue
First Pointer
44{2C)
42{2A)
SNOFRST
Sense Out Queue First Pointer
46(2E)
SNOlAST
Sense Out Queue Last Pointer
48(30)
SSFRST
Stacked Status Queue First Pointer
50{32)
TIOClOCK
TID Clock
1
51(33
Reserved
)
54{36)
SSLAST
Stacked Status Queue Last Pointer
52(34)
SAVE62
Output X'62' Save Area
56(38)
SAVETERM
Terminator Address Save Area
SAVE63
Output X'63' Save Area
58(3A)
60(3C)
Reserved
Reserved
62(3E)
Native Subchannel CeB (42 Bytes)
1104(68)
Channel Vector Table (CHVT)
*Syte expansion follows
Byte Expansions
Bit Pattern!
Offset/Field Name
He;, Value
Definition
0(0)
CASEl
byte 0
1.
....
.x .
....
... 1
....
PEP FLAG - bit on indicates that EP is
busy or a eeB is queued indicating pending
EP operation.
No PI flag - bit on indicates that a PI is
not required to give control to the queue
scanner.
Select control bit - Same as bit 0.3 of
Out 67. Bit is always on.
CA Select bit - Same as Bit 0.7 of Out 67 .
Bit off indicates CA no. one. Bit on indi·
cates CA no. two.
.... .. .x
byte 1
.1 .. ....
6(6)
QCBFlAGS
Set PI- Same as bit 1.1 of Out 67 . Bit is
always on.
byte 0
....
. 1 ..
Panel command flag .
Data Area Layouts
59
·CHANNEL VECTOR TABLE
CHVT
IEPJPEP)
Program: EPJPEP
Size in bytes: Variable. depending on the number of subchannels specified.
Located: At location X'68' in the Channel ContrOl Block (CHCB)
Created by: EP and NCP generation.
Referenced by: Level 1 and level 3 routines.
Function: Allows the level 3 routines to find a line's eCB when only the subchannel
address is known. Allows level 1 routines to initialize and reset the 3705 hardware
defined during generation.
2 thru n*
DID)
CYACHVT
CYACHEND
-SubchanneJ addresses
Address of the associated LNVT
entry for, each of the line adapter
interfaces (each -address occupies
2 bytes.) If even, it points to an
active LNVT entry. If odd. it
points to an inactive (dummy)
CCB.
n+l
n+3
X'OOOI'
CHVTPTR
Delimiter
Pointer to the next CHVT or the
first CHVT if this is the last.
-"=the number of line adapter interfaces multiplied by two (2). plus one (1).
60
3704 and 3705 Program Reference Handbook
CALL-IN EXTENSION TO DVB
CIE
Program: NCP
Size in bytes: Variable.
Located in:
ova
Created by: NCP generation.
Pointer to CIE: DVBDIAL field in OVB.
FUnction: Contains optional data required for servicing calls originated by a terminal on
a switched line.
0(0)'"
CIEMTAP
Pointer to MTA list (last 18 bits). Included only if the device type is
multiple terminal access.
or
CIEIDL
Pointer to ID list (lDU ([ast 18 bits). Included only if 10 verification is used
on the associated line.
CIEFLAGS'
Flags. The bit
definitions in
this field must
be identical to
those in the
COEFLAGSof
the call-out
extension (COE).
4(4)"
5(5)"
CIEIDCT
CIEIDPTR
Count of send ID.
Pointer to the 10 to be sent.
'Indlcates a byte expansion follows.
"'These fields are present in the CIE only if sending of the control unit's identification
is required for this device.
'II"" Actual position depends on other extensions that are present. The CIE follows any
polling, addressing, or input extensions to the DVB.
Byte Expansion
Offset/Field Name
Bit Pattern/
Hex Value
0(0)
CIEFLAGS
1 __ .
. 1 ..
.. 1.
... 1
. 1 ..
.. 1.
... 1
Contents
Flags.
Send hardware ID is required.
Receive hardware 10 is expected .
Dial digits are resident .
Call-in device (This bit is always one for CtE) .
A dial request is pending for this device .
Disconnect with end of call has been received .
Set Mode is required at telephone connection
with this device to set up proper physical
line characteristics.
Oata Area Layouts
61
CHANNEL OPERATION BlOC~-
COB
INCP1.2)
Program: NCP1, NCP2
Size in bytes: 128(80)
Created by: NCP generation.
Pointer to COB: CHSVH2 field in XOH.
Function: Contains the parameters and control fields used by the type 1 channel
adapter 1/0 supervisor.
COB Prefix
-24(-lS)
CXCAWQ
Channel work aCB. (For format, see Queue Control Block for Work Queues.)
-161-10)
CXCAHQ
Channel hold
ace. (For format. see Queue Control Block for Work Queues.)
-81-S)
CXCAECS
Event control block for leasing buffers. (For format, see Event Control Block.)
2(2)
0(0)
COBCND'
Channel condition flags.
COBICND
Value of condition flags on last entry.
6(6)
4(4)
COBXR77
Save area for external register X'77'.
S(S)
COBXR60
Save area for external register X'60',
lOlA)
COBXR61
COBSR621
Save area for external register X'61',
Save area for input from external register X'62'.
141E)
121C)
COSXR63
COBXR620
.
Save area for output to external
register X'62' .
Save area for external register X'63'.
Indicates a byte expansion follows.
62
3704 and 3705 Program Reference Handbook
COB
(NCP1,2)
18(12)
,16(10)
C08XR65
COBXR64
Save area for external register
X·64~.
Save area for external register X'65',
22(16)
20(14)
COBXR66
COBXR67
Save area for external register X'66'.
24(18)
COBSENSE
Sense byte to
25(19)
(Reserved)
Save area for external register
x'sr.
26(IA)
COBCCMO
Current channel command.
transfer for
sense commands.
28(IC)
COBERPSV
Error recovery procedure save area.
32(20)
COBRELSV
Release subroutine save area.
36(24)
COBNINSV
Save area for inbound BTU processor.
40(28)
COBLESV
Lease subroutine save area.
44(2C)
COBPIB
Address of first inbound buffer.
48(30)
COBIPBF
Pointer to previous inbound buffer.
52(34)
COBCIB
Pointer to current inbound buffer.
56(3B)
COBCIO
Current displacement in inbound buffer.
60(3C)
COBCBLK
Address of the last complete BTU given to the system router.
Data Area Layouts
63
coa
(NCP1,21
64(401
66(42)
COBMDO
COBIBCD
Number of data bytes in current BTU.
67(431
(Reserved)
Maximum data
count for cur-
rent in-bound
buffer.
68(441
COBMLCNT
NCP generated
buffer lease
count for inbound data.
69(451
COBCLCNT
70(461
COBECBAD
Address of ECB for leasing buffer.
Current buffer
lease count.
(Same as
COBMLCNT
except during
slowdown, when
this field equals
one.)
74(4AI
72(481
COBWOAD
Address of channel adapter work QCB.
COBHQAD
Address of channel adapter hold QCB.
76(4CI
COBOXSV
Save area for outbound transfer routine.
80(501
COBROTSV
Refresh outbound transfer routine save area.
84(54)
COBOBLKA
Outbound BTU address.
88(581
COBOBUFA
Pointer to current outbound buffer.
92(5CI
C080DATA
Current displacement in outbound buffer.
96(601
98(621
COBFCCW
Number of host buffers allocated
per read list.
100(641
COBRCCW
Number of host CCWs remaining in
read list.
102(661
COBRHAC
COBFHAC
Host buffer size in bytes.
104(681
Number of bytes remaining in host buffer.
106(6AI
COBOXCNT
COBRDCNT
Outbound buffer residual data count.
64
Number of bytes to be transferred on
next outbound data service.
3704 and 3705 Program Reference Handbook
COB
INCP1.2)
11016E)
10816C)
COBATTO
C08HPTR
Attention time-out duration.
Pointer to dummy header buffer.
112(70)
Dummy header buffer.
116(74)
COBHPAO
117(75)
(Reserved)
118(76)
COBTPTR
Pointer to dummy text buffer.
Number of bytes
in access
method pad O.
120178)
Dummy text buffer.
12417C)
COBTPAO
Number of bytes
125(70)
12617E)
(Reservedl
COBOELAY
Attention delay duration.
in access
method pad 1.
Byte Expansions
Bit Pattern!
Offset/Field Name
0(0)
COBCNO
Hex Value
Byte a
1 ...
. 1 ..
Contents
Channel condition flags.
Attention status required .
Attention delay active.
Monitoring suppress out .
.. 1.
... 1
Inhibit attention time-out .
1...
. 1 ..
Attention has been presented.
Channel end/device end status needed .
.. 1.
Hold aCB active.
... 1
Work aCB active.
Byte 1
.1 .•
.. 1.
... 1 ....
BTU rejected.
Channel in slowdown mode .
Abort sent indication .
Data Area Layouts
65
CHANNEL OPERATION BLOCK FOR NCP#
COB
INCP#I
Program: NCP#
Size in bytes: 1281801
Created by: NCP Generation
Pointer to COB: CHSVI-!2 field in XOH IX772'1
Function: Contains the parameters and control fields used by the type l/type 4 channel
adapter I/O supervisor.
-48(-301
CXCAXHO
PIU exception queue (for format. see aCB for input queues).
-321-201
CXCAIO
Channel intermediate aCB (for format, see aCB for work queues).
-241-181
CXCAHO
Channel hold aCB (for format, see aCB for work queues).
-161-101
CXCAECB
Event control block for leasing buffers {for format, see
Event Control Slock.}
-81-81
XXCXTC08
Dump identifier. Characters "XXCXTCOS"
0101
2121
C08CNO'
CPBCASEL
Channel condition flags.
I
Type 4 channel adapter
port selection mask.
0100-CA4 port 2
0000-CA4 port 1
4141
6161
Reserved.
COBICNO
Condition flags on entry.
10lAI
8181
COBCCMO
COBSTAT
Current status byte.
Current channel command.
121CI
COBSENSE
13101
Reserved.
Sense byte to
transfer for
sense commands.
16(101
151FI
COBWSX
Next Read Start
Next Write Start
command expected. command expected.
181121
COBXR77
COBXR60
Save area for external
register X'77'.
Save area for external
register X'5O'.
201141
221161
C08XR61
COBXR621
Save area for external
register X'61'.
Save area for input from
external register X'52'.
241181
2611AI
COBXR620
C08XR63
Save area for output from
external register X'52'.
Save area for external
register X'63'.
2811CI
66
141EI
COBRSX
30PEI
COBXR64
COBXR65
Save area for external
register X'64',
Save area for external
register X'5S'.
3704 and 3705 Program Reference Handbook
COB
(NCP#1
34(22)
32(20)
COBXR66
COBXR671
Save area for external
register X'56'.
Save area for input from
external register X'67' .
38(26)
36(24)
Reserved
COBXR670
Save area for output from
external register X'S],
40(28)
COBIBTUA
Address of first inbound buffer.
44(2C)
COBIPBF
Pointer to previous inbound buffer.
48(30)
C081BUFA
Pointer to current buffer.
52(34)
COBIDATA
Current inbound data address.
56(38)
COBCBTU1
Address of first buffer of completed P1U
60(3C)
COBCBTUN
Address of last buffer of completed PIU.
64(40)
66(42)
COBBTUCT
Count of PIUs passed to
path control.
68(44)
COBMDO
Maximum data
count for current
inbound buffer.
69(45)
Reserved.
COBSKPCT
Number of PIUs to skip
for retry.
70(46)
COBMLCNT
Generation buffer
lease count for input
data.
71(47)
COBCLCNT
Current buffer
lease count.
72(4B)
Reserved.
Data Area Layouts
67
COB·
(NCP#t
76(4C)
COBmBS
Address of last outbound PIU given to CXCAOUT.
,80(50)
COBOXSV
Save area for. outbound transfer routine.
84(54)
COBROTSV
Save area for outbound.transfer routine.
88(58)
COBOBTUA
Address of outbound PIU.
92(SC)
COB08UFA
Address of outbound buffer.
96(60)
COBOOATA
Address of outbound data.
.100(84)
102(66)
COBFCCW
COBFHAC
Number of host-CCWs.
Rost Read CCW byte count.
104(68)
106(6A}
COBRHAC
COBROCNT
Host Read CON byte count
residual out operation.
Outbound buffer residual
data count .
. 108(6C)
C080XCNT
Number of bytes
to. transfer for next
outbound data
109(60)
110(6E)
Reserved.
COBHWM
Attention delay CCW
counter.
service.
U4(12)
112(70)
COBPFAO
Address of PEP flag in
COB062RB
Output 62 reset/request
bucket
. EP channel adapter
t;antrol block.
118(76)
116(74)
C08ATTO
COBOELAY
Attention time-out duration.
Attention deray interval.
120(78)
122(7Al
Ollset to data.
COBOUMBF
Dummy buffer chain field.
124(7C)
Pad size as one
byte of data.
124(7D)
I. 1-23(7B)
COBVPAO
Buffer data count.
126(7E)
Reserved.
Reserved.
Byte Expansions
Offset/Field Nama
0(0)
COBCND
Bit Patternl
Hex Value
. Byte 0
1 .•.
.1. .
.. J.
... 1
L.
. 1 ..
Contents
Channel condition flags.
Attention status required .
Attention delay active.
Monitoring suppress out .
I nhibit attention time-out.
Attention has been presented.
Channet end/device end-status needed .
Byte 1
.1. .
.. 1. ....
68
3704 and 3705 Program Reference
Block. rejected flag_
Channel in slowdown mode.
~andbook
COE
CAll·OUT EXTENSION TO OVB
Program: NCP
Size in bytes: Variable, depending on
I~ngth
of dial digits.
Located in: OVB
Created by: NCP generation.
Pointer to COE: DVBDIAL field in
ova.
Function: Contains optional data required to call a terminal on a switched line.
0(0)"
COESGTP
Address of device's switched group table (SGT) (last 18 bits).
COEFlAGS'
Flags. The bit
definitions of
this field must
be identical to
those in the
CIEFlAGS field
of the CIE.
4(4)"
COELCSTI
Index to LeST
(MTA only).
5(5)"
6(6)"
COEMAX
COECUR
Maximum field
Current number
length of dial
of dial digits.
digits .
IndIcates a byte expansion follows.
"Actual position depends on other extensions that are present.
.
7(7)"
COEDIAL
Dial digits.
(Variable length)
Byte Expansiom
Offset/Field Name
Bit Pattern!
Hex Value
Contents
Flags.
I
. 1 ..
. 1.
.1
. 1 ..
.. 1.
... 1
Send hardware ID is required.
Receive hardware 10 is expected .
Dial digits are resident .
Call·in device. This bit is always zero for COE .
A Dial request is pending for this device .
Disconnect with End of Call has been received .
Set mode is required at telephone connection
with this device.
Data Area layouts
69
CHECK RECORD POOL
CRP
Program: NCP
Size in bytes: Variable (header=10 bytes; each entry=18-35 bytes).
Created by: NCP generation.
Pointer to eRP: SYSCKRP field in HWE.
Function: Contains check records that have not yet been processed. These records are
generated by program levelland 3 error handling routines and are processed by a program level 5 routine (CXDIERTl that prepares buffers for transfer to the host as unsolicited MDR (miscellaneous data recorder) records.
Header
2(2)
0(0)
CRPL 1PTR
Pointer to next record unit to be
used by level 1.
CRPT1PTR
Pointer to the next level 1 unit to be
serviced by CXDIERT.
6(6)
4(4)
CRPL3PTR
Pointer to next record unit to be
used by level 3.
8(8)
CRPSTAT1'
Trigger control
byte.
r
CRPT3PTR
Pointer to the next level 3 unit to be
serviced by CXDIERT.
9 CRPSTAT2
) (Reserved)
Entry Format
0(0)
CRPCTL
CRP contr bytes.
101
CRPLNG'
Length of the
MDR data.
CRPFLG'
CRP flag byte.
Start of MDR Data (CRPDATA)
{Refer to Section 14 for Record Formats}
2(2)
CRPABMAL
Abend malfunction code.
5(5)
4(4)
CRPREC'
The recording
mode byte. (For
values, see table.)
CRPID
MDR record 10
field. The 3705
MDR record is
always X'05'.
CRPBERT'
Box error record
type code.
8(8)
Up to 29 bytes of formatted information. Remainder
(Refer to Section 14.1
* I ndlcates a byte expansIon follows.
70
7(7)
6(6)
3704 and 3705 Program Reference Handbook
CRPLCRT
Lost check record
counter.
of MDR data.
CRP
Byte Expansions
Offset/Field Name
8(8)
(Header)
CRPSTATl
0(0)
CRPLNG
(Entry Format)
1(1)
CRPFLG
Bit Pattern/
He:, Value
X'OO'
X'BO'
Trigger of CXDIERT is required.
Trigger of CXDIERT is not required.
X'04'
X'12'
X'12'
X'12'
X'12'
X'12'
X'12'
X'12'
X'12'
X'14'
X'14'
X'14'
X'14'
X'14'
X'14'
X'18'
X'18'
X'19'
X'19'
Invalid record.
Type 1/4 channel adapter.
Type 1 scanner.
Type 2 scanner-1.
Type 2 scanner-2.
Type 2 scanner-3.
Type 2 scanner-4.
Invalid operation code.
Input/Output instruction exception.
Type 3 scanner-1.
Type 3 scanner-2.
Type 3 scanner-3.
Type 3 scanner-4.
Unresolved program level 1 interrupt.
Unresolved program level 3 interrupt.
Type 2 channel adapter-1.
Type 2 channel adapter-2.
Permanent line errors.
Line statistics.
Length of MDR data.
CRP flag byte.
1 ...
.. 1.
... 1
4(4)
CRPREC
IMDR Data)
6(6)
CRPBERT
Contents
Trigger control byte.
End of check record pool. (Bits 1-5
reserved).
Record is being serviced by CXDI ERT .
Check record unit has been used (filled).
requires service.
Recording mode.
X'OO'
X'Ol'
X'10'
X'10'
X'10'
X'll'
X'll'
X'll'
X'll'
X'll'
X'12'
X'12'
X'13'
X'13'
X'FF'
Permanent line errors.
Line statistics.
Type 1/4 channel adapter.
Type 2 channel adapter-1.
Type 2 channel adapter-3.
Type 1 scanner.
Type 2 scanner-1.
Type 2 scanner-2.
Type 2 scanner·3.
Type 2 scanner-4.
Invalid operation code.
Input/Output instruction exception.
Unresolved program level 1 interrupt.
Unresolved program level 3 interrupt.
Invalid record.
X'Ol'
X'02'
X'03'
X'04'
X'OS'
X'OS'
X'09'
X'lO'
Unresolved program level 1 interrupt.
Type 2 channel adapter·2.
Unresolved program level 3 interrupt.
Type 2 channel adapter-l.
Type 2 scanner-4.
Invalid operation code.
Type 3 scanner-4.
Type 2 scanner-3.
Type 3 scanner-3.
Type 2 scanner-2.
Type 3 scanner-2.
Type 2 scanner-l.
Type 3 scanner-l
Type 1/4 channel adapter.
Type 1 scanner.
Box error record type code.
X'"'
X'20'
X'21'
X'40'
X'41'
X'84'
X'CO'
Data Area Layouts
71
CRP
Bit Pattern!
Offset/Field Name
Hex Value
7(7)
CRPLCRCT
Lost check record counter.
xxxx
....
.... xxxx
72
Contents
Number of records lost immediately
preceding this record.
Number of records lost while waiting for
this record to be transferred to the host.
Records are lost when the CRP is full and
[evel 5 is unable to free up a unit by transferring a record to the host.
3704 and 3705 Program Reference Handbook
COMMAND TABLE
Cmd. Tbl.
P,ogram: PEP. EP
Size in bytes: 48(30)
Located in: Routine eVAIS of module CYASVC.
Created by: NCP & EP generation.
Updated by: N/A
Referenced by: lep
S:unction: Contains the CCB command codes used for translating thg B·bit command
code into the S·bit CCB command code.
Q·47(Q·2F)
CMDTABLE
CCB command codes. (See Section 6.1
Data Area Layouts
73
COMMUNICATION LINE TIMER AND RAS
CONTROL TABLE
CTB
Program: NCP
Si:.r:e in bytes: 7(7)
Created by: NCP generation.
Pointer to CTB: None. See link edit map
Function: Indicates end of timer resolution queues. This table must be located at
least 25 bytes from start of a CSECT.
0101
2121
CTBDCCB
CTBDWORK
Dummy character control block
Dummy work entry.
address.
4141
CTBUXREM
15(51 (Reservedl.
6161 IReservedl.
Dummy
CCBTOREM.
74
3704 and 3705 Program Reference Handbook
I
I
COMMON PHYSICAL UNIT BLOCK
CUB
Program: NCP#
Size in bytes: S2(52)
Created by: Physical unit specification at NCP generation. One CUB is generated for
each phvsicaJ unit.
Pointer to CUB: In RVT and in the SOT.
FUnction: Contains the ace, status information, and scheduling information
f~
a physical unit.
Link Inbound Queue Control Block (See
ace for input queues for all bit definitions)
2(2)
0101
CUBLECB
CUB1ECB
Pointer to first element queued
(Shifted address).
4(4)
Pointer to last element queued
(Shifted address).
6(6)
5(5)
CUBSTAT
CUBLINK
CUBPRKEY
QCB I D flag and
task protection
key,
Task and queue
status.
Pointer to next aCB on the
Queue (Shifted address).
S(S)
CUBTSKEP
Task entry point (last 18 bits) .
. . . . . . . r ......
CUSMCBD
CUBSCHED
Major control
block displacement.
Task dispatching
priority.
14(E)
12(C)
CUBSAVE
CUBLUNK
Address of save area pushdown
list (Shifted address).
Pointer to previous aCB on queue
(Shifted address).
lS(12)
16(10)
CUBLOBH
CUBLOBT
Link outbound queue head pointer
link outbound queue tail pointer
(Shifted address).
(Shifted address).
22(16)
20(14)
CUBLOSH
CUB LOST
link outstanding queue head pointer
Link outstanding queue tail pointer
(Shifted address).
(Shifted address).
24(lS)
CUBLKB
Address of link control block (last 18 bits).
CUBADRC
SOle addressing
character.
'1
30(lE)
2S(lC)
CUBSSCF*
CUBRSE
Network address of resource.
Service seeking
control flags.
33(21)
CUBOCF*
32(20)
CUBSTATS*
34(22)
CUBSSCP*
Contact poll
commands.
CUBTCNT
Service seeking
output control
flags.
Station status.
T
Transmission counter.
36(24)
CUBAPIU
,
Address of physical services PIU liast 18 bits) .
CUBTYPE*
.
Station type.
Data Area Layouts
75
CUB
40(28)
CUBNR
41(29)
CUBNS
NS send
count.
NR receive
count.
44(2C)
CUBEERS
Extended retry
status.
(Note 2)
45(20)
CUBTRTCT
48(30)
CUBPNS
NS at time
of porI.
49(31)
CUBPCNT
52(34)
CUBSRTLR
Second level retry
53(35)
CUBRCMO'
Total retry
42(2A)
CUBERS
Error retry status.
(Note 1)
46(2E)
CUBOCL
Outstanding
count.
47(2F)
CUBCOC
Current
outstanding
count.
count limit.
50(32)
CUBRTCNT
Pass limit.
1'"
l'e'~IE'RP' ,e;,y'I'2nd I~"I ERP ',et;y
count.
56(38)
CUBTERR
Monitor secondary
error,count.
CUBLERPT
2nd level ERP
Run command
modifiers.
count.
57(39)
CUBERPT
2nd level ERP
time delay,
count.
54(36)
time-out value.
58(3A)
CUBERPCS
59(3B)
CUBOCLS
ERP control
Outstanding
flags send.
count limit
save area
Physical Unit Processing Queue
62(3E)
60(3C)
CP01ECB
Pointer to first element queued
CPOLECB
Pointer to last element queued
(Shifted address).
(Shifted address).
64(40)
CPQSTAT
Task and
queue status.
[65(4)
CPQPRKEY
Protection key.
66(42)
CPQLINK
Pointer to next OCB on the queue.
68(44)
-----------T---------
CPQTSKEP
Task entry point (last 18 bits).
CPQMCBO
CPQSCHEO
Major control
block displacement.
Task scheduling
priority.
74(4AI
72(48)
CPQSAVE
CPQLUNK
Address of save area pushdown
list (Shifted address).
Pointer to previous aCB
on queue (Shifted address).
76(4C)
CUBPSTAT'
Physical unit
primary status.
1 77 (40)
CUBSSTAT
Physical unit
secondary status.
80(50)
CUBSEGSZ
.
78(4E)
CUBMAXN
1 79(4F)
Reserved.
Segment size
(in buffers).
82(52)
Reserved
Maximum segment
size (in bytes) .
IndIcates a byte expansIon follows.
Note 1: Refer to the LXBSTAT and LXBSTATC fields of the Link XIO Control Block
for a definition of the status bits.
Note 2: Refer to the LXBEXTST field of the Link XID Control Block for a definition of
the status bits.
76
3704 and 3705 Program Reference Handbook
CUB
Switched Extension
84(54)
CUBLUN
CUBLUV
Maximum
number of
entries in
Pointer to LUV
(La,t labit')
LUV.
Byte Expansions
Offset/Field Name
Bit Patternl
Hex Value
3011EI
Byte a
1 ...
•1 ..
.. 1.
••• 1
CUBSSCP
Contents
Service seeking commands:
CUBSSCF
Byte ~
1 ...
. 1 ..
. .11 1 ...
.1 ..
.. 1.
... 1
32(20)
CUBSTATS
Poll skip flag.
Halt service seeking .
Not operational .
Contact Poll command active •
Contact poll commands:
Disconnect Mode .
Set Normal Response Mode.
Poll command mask.
Set Initialization Mode (SIM)
Exchange Identification fXID)
Contact poll command field .
Station status:
... 1 ....
33(21)
CUBOCF
1 ...
. 1 ..
.. 1.
·... 1
. 1 ..
.. 1.
... 1
36(241
CUBTYPE
x ...
..1.
.1..
.. 1.
.. •. .•. x
53(351
CUBRCMD
Remote power-off in progress.
Service seeking output control flags:
Output skip bit.
Run terminator interlock .
RN R received .
Second level delay in progress.
Duplex data .
Half-duplex poll control.
Half-duplex poll in progress .
Station type:
l=Duplex station.
O=Half-duplex station .
Switched SOLe station.
Terminal node (type 1 PUI.
Cluster controller (type 2 PU)
l=lntermediate node (INN) .
O=Boundary node (BNN).
Run command modifiers:
. 1 ..
... 1
Override 1st and 2nd level retries .
Immediate retry .
1. ..
Session established.
1=Processing session initiating request .
O=Not processing session initiating request.
l=Processing session terminating request
O=Not processing session terminating
request.
76(4C)
CUBSTAT
Physical unit primary status:
.x ..
.. x.
77(4D)
CUBSSTAT
Physical Unit Secondary Status:
1 ...... .
3270 station.
Data Area Layouts
77
BARSWAP TABLE
Program:
CYABARSW
EP. PEP
Size in bytes: 6+4 per line to be traced
Created by:
NCP generation
Referenced by:
CYATRC. CYANUC. CYASVC. and CYABIS
Function: Provides the linkage for level 2 line trace only_
0(01
2(21
QEND
Address. of last entry in table.
4(41
LASTQ
Address of last queue element.
FIRSTQ
Address of first queue element.
6 - (4n+21
Address of level 2 trace routine.
8- (4n+41
Address of next available queue or.
if in use, the eeB address of line
being traced.
78
3704 and 3705 Program Reference Handbook
DAE
DEVICE ADDRESSING EXTENSION TO DVB
Program: NCP
Size in bytes: Variable, depending on addressing characters.
Located in: OVB
-Created by: NCP generation.
Pointer to DAE: (None.) Immediately follows polling extension; if no polling
extension is present, the DAE immediately follows the OVB.
Function: Contains addressing characters for a device.
0101'
1111'
DAEOSP
Device output
delay,
DAEACUR
Current number
of addressing
characters
2121'
DAEADDR
Addressing characters. (DVBAO field
in the OV8 points here.) (variable
length)
Actual posItIOn depends on the extensions that are present.
Data Area Layouts
79
DEVICE INPUT AREA
DIA
Program: NCP
Size in bytes: 9(9)
located in:
ova extension.
Created by: NCP generation.
Pointer to DIA: DVBINVO field in OVB.
Function: Contains information about input devices.
010)"
DIARVTE
Address of RVT entry (last 18 bits).
DIASA
I nvite command
save area.
or
DIAMOD
Command
modifiers.
1111"' DIAFLAG
Flags. (See
BCUFLAGS tor
bit definitions;
bits 6 and 7 are
used as part of
RVT entry ad~
dress.)
414)"
6161"
DIASRC
Source name field.
DlASEQ
Command sequence number.
8181"
DIARO'
Record definition.
*Indlcates a byte expansion follows.
** Actual position depends on other extensions that are present.
Byte-Expansion
Bit Patternl
Offset/Field. Name
8181
DIARD
80
Hex Value
Contents
Record definition.
. 1 ..
. . 10
.. 01
.. 11
E08"EOT .
Message .
Block.
Transmission .
3704 and 3700 Program Reference Handbook
DRS
DISPLAY/REFRESH/SELECT T/\BtE
Program: NCP
Size in bytes: 24HBI
Created by: NCP generation.
Pointer to DRS: SYSDRSP field in HWE.
Function: Contains addresses of i!ppendage routines to be given control by
CXCCPSUP.
2121
0101
CTXDRS
Set to zero.
DRSICW
Address of
4(41
lew display routine.
6(61
(Reserved)
DRSICWA
Address of
lew display routine.
B(BI
10lAI
(Reserved)
(Reserved)
121CI
DRSTBL
Table of display/refresh/select control values used by individual
appendage routines.
(length of 12 byte,I
Data Area Layouts
81
DEVICE BASE CDNTRDL BLOCK
DVB
Program: NCP
Size in bytes: Variable, depending on extensions present.
Created by: NCP generation. One OVB is generated for each SSG/S5 device.
Pointer to OVB: RVTRP field; LCBDV8P field of LeB during session.
Function: Serves as the base for all component, terminal, and device control unit
representations. It includes queue control blocks plus all parameters required by a
device.
Device Work aCB
(See QCB for Work Queu?s for all bit definitions.)
2(2)
0(0)
DV01ECB
Pointer to first element queued.
(Shifted address.)
4(4)
DVOLECB
Pointer to last element queued.
(Shifted address.)
15(5)
DVOPRKEY
DVOSTAT
Task and queue
status.
6(6)
DVOLINK
Pointer to next QCB on the queue.
(Shifted address.)
Protection key.
Device Input aCB
(See QCB for Input Queues for all bit definitions.)
8(8)
lOlA)
DVl1EC8
DVILECB
Pointer to first element queued.
(Shifted address.)
Pointer to last element queued.
(Shifted address).
121C)
DVISTAT
/13ID)
DVIPRKEY
Task and queue
status.
141E)
DVILINK
Protection key.
Pointer to next QCB on the queue.
(Shifted address).
16(10)
------1- ----
DVITSKEP
Task entry point (last 18 bits).
17(11)
DVISCHED
DVIMCBD
Major control
block displacement
Task dispatching
priority.
20(14)
22(16)
DVISAVE
DVILUNK
Address of save area push·down
list. (Shifted address.)
Pointer to previous QCB on the queue.
(Shifted address.)
24(18)
DVIBHSET
BH set (or BHRI address (last 18 bits!.
DVIBHRST
BHR status bits.
-I
25(19)
DVIBHSCH
BHR scheduling
bits.
2811C)
DVBRID
Device resource ID.
1
3011 E)
DVBFEAT1'
Device features
byte 1.
End of Device Input QCB
82
3704 and 3705 Program Reference Handbook
/3111 F)
DVBFEAT2'
Device features
byte 2.
DVB
32(20)
DVBPTR
Auxiliary pointer (last 18 bits). If device is component. this field contains pointer to
shared terminal OVB. If device is terminal. this field contains a pointer to line LeB.
DVBTYPE*
Device type.
·1
36(24)
DVBSDRT
Transmission counter or pointer to
OLTT control block, if in test
mode.
40(28)
DVBBHRO
Offset to BHR
extension.
41(29)
DVBBUO
Offset to
38(26)
DVBSDRE
39(27)
DVBINVO
Temporary error
counter.
Offset to device
input area (DIA).
43(2B)
DVBABNM*
42(2A)
DVBDlAl
Offset to call-in
switched backup
creall-out
Abnormal mode indicators. Thisfield
extension (BUE).
extension (elE or
is meaningful only
COE).
when a reset is in
progress. Bits 2·7
have the value of
the command modi-
fiers when a reset
is in progress.
Bits 0-1 indicate
that a deactivation
is in progress.
Service Seeking Control Block (SSe)
44(2C)
DVBSTAT*
Status byte 1.
48(30)
DVBPCC
Pending contact
count.
45(2D)
DVBSTAT2*
46(2E)
DVBDMF*
Status byte 2.
I
Device mode flags.
49(31)
DVBCPI
(Reserved).
Polling/Addressing Extension
This extension is present only if the device requires polling or addressing or both.
50(32)
DVBTLIM
Transmission
limit.
51(33)
DVBTCNT
Transmission
counter.
52(34)
DVBAO
Offset from
DVBSTAT to
first addressing
53(35)
DVBClSO
Cluster general poll
extension (CGP)
offset.
character in
DAE.
Polling Extension
The following fields are present only if polling of device is required. (If this area is
included, the device input extension (OIA) must also be included,)
54(36)
DVBPCUR
Number of polling
55(37)
DVBPOll
Polling characters. (Variable length.)
characters
excluding ENQ.
-Indicates a byte expansIOn follows.
Data Area Layouts
83
DVB
Byte Expansions
Bit Pattern/
Offset/Field Name
3011E)
Hex Value
Contents
DVBFEATl
1 ...
. 1 ..
.. 1.
... 1
Block limit -
Device features byte 1.
General poll.
1. ..
. 1 ..
.. 1.
... 1
31(1FI
DVBFEAT2
sse patch control. (NCP2, 31
Conversational capability .
Buffered receive.
1. ..
. 1 ..
.. 1.
Batched message input.
Carriage return delay (NCP2, 31 .
Text time-out suppression .
Break-terminal originated data; transfer can
be interrupted.
Device features byte 2.
Critical situation notification.
1050 Auto EOB feature. INCP2, 31 .
1050 Receive Interrupt feature. (NCP2, 3) .
•• • X
1...
. 1 ..
.. 1.
... 1
(Reserved) .
Device on fan-out modem. (NCP2, 3).
Input extension exists (DIAl .
Addressing extension exists IDAE) .
Polling information exists .
Device type.
321201
OVBTYPE
Components
29S0
Non·SSe Terminals
MTA
1050
2740, Modell.
2741
2740, Model 2.
lISA
83S3
TWX
WTTY
X·4S'
X'80'
X'S2'
X·S4'
X'S5'
X'ST
X·88'
X·SS'
X'SA'
X·SS'
BSe Terminals.
X·4C'
X'CO'
X'Cl·
X'C2'
X'C3·
X'C4'
X'C5'
X'C6'
X'C7'
X·C8'
X'C9'
X·CA'
X'CS'
X'CC'
X'CD'
X'CE·
X'CF'
X·DO'
4312BI
DVBABNM
3275, 3277. 3284, 3286
Logical connection terminals.
1130
1800
2701
2703
2715
2770
2780
2972
3705
2020
2025
3271,3275
3780
3735
3741 INCP2, 31
3747 INCP2, 31
1 ...
. 1 ..
.. 1.
... 1
x.. .
. 1 ..
.. 1.
... 1
84
Abnormal mode indicators.
Deactivate device in progress.
Deactivate line orderly in progress .
Reset at end of command in progress.
Reset conditional in progress .
(Reserved).
Reset immediate in progress .
Reset device queue in progress .
Critical situation notification device
serviced.
3704 and 3705 Program Reference Handbook
DVB
Offset/Field Name
4412CI
CVBSTAT
Bit P<ltternl
Hex Value
1
. 1 ..
Service seeking skip bit.
Contact pending .
.. 1.
Device active, accept TP commands .
... 1
Disconnect received .
A disconnect has been received for the last
session and an initiation command may
now be accepted. Any non-session initiating TP command should be refused.
In session.
Device in abnormal mode (reset or deactivate device in programs).
Connection exists .
I nvite pending .
1 ...
.1.
.. 1.
... 1
4512DI
DVBSTAT2
Status byte 2.
1 ...
. 1 ..
Backup mode.
.. 1.
.•. 1
3270 Device end, 2740-2 suppress MDR
Inquiry mode-2770 .
Suppress response to host.
A noncompetitive Invite exists. When
the line or device was deactivated, an
Invite remained for this device.
Logical error lock .
Selective text return
110 error lock .
1 ...
.1 ..
. 1.
.. 1
4612EI
DVBDMF
Contents
Status byte 1.
Device mode flags.
Byte 0
. 1 ..
.. 1.
... 1
. 1 ..
.. 1.
.1
Override write text mode ERPs .
Reject leading graphic (write operations).
EIB deletion (non-transparent only) .
Inhibit time fill/inhibit WACK limit .
Embedded line control (non·transparent)/
intermediate control character insertion.
Critical text .
Override read text mode ERPs.
Reject leading graphics (read operations).
EIB insertion/inhibit text timeout.
Sub·blocking (input).
Interrupt enabled.
Activate monitor mask.
Data Area Layouts
85
EVENT CONTROL BLOCK
ECB
Program: NCP
Size in bytes: 8(8)
Located in: Dynamically allocated BCU/PIU buffer or as a permanent control block in
storage.
Created by: NCP generation or dynamically as part of first buffer in a BCU.
Pointer to ECB: None.
Function: To control BCU status or event status of an associated block.
0(01
ECBCSTATU
1(11
ECBESTAT',2
BCU status
Event status
byte.
byte; valid only
2(21
ECBECHN'
ECB chain pointer. (Shifted address.)
for ECBs con-
tained in buffers.
4(41
6(61
ECBTMINT'
ECBWQCB'
Set time interval as specified by
SETIME macros.
Address of waiting task's input aCB.
(Shifted address.)
0'
ECBTNCT'
BCU text count.
1See block control unit for labels used in the first buffer of a BCU.
21ndicates a byte expansion follows.
Byte Expansions
Offset/Field Name
0(01
ECBCSTAT
Bit Pattern!
Hex Value
Contents
,.
acu enqueued.
BCU status byte.
.. 00 00 ..
.. 11
11 ..
1111
ECBESTAT
1.
. 1.
,.
... 1
..
•• •X
86
Lowest priority.'
Highest priority .
Event status byte.
Event satisfied.
Task ready to be dispatched .
Supervisor link .
ECB enqueued bit .
l=Stop sending after this BTU .
O=No need to stop sending.
3704 and 3705 Program Reference Handbook
EBCDIC CHARACTER DECDDE DISPLACEMENT TABLE
ECDDT
Program: NCP, EP
Size in bytes: 64(40)
located in: Module CYABL.
Created by: NCP and EP generation.
Updated by: N/ A
Referenced by: CYATADAO, CYARAPHI.
Function: Provides offset into br,mch tOlble for proper control character processing.
I
0-3FIO-63)
EBCXMTBT
Displacement data.
Data Area Layouts
87
EXTENDED HALFWORD DIRECT ADDRESSABLES
HWE
Program: NCP
Size in bytes: 48(30); 50(32) for NCP2 and NCP#with PEP.
Created by: NCP generation.
Pointer to HWE: SYSW6 field in XOA. (X'070B)
Function: Contains frequently accessed system halfword control fields.
2(2!
oro!
SYSBUFCT
Initial free buffer count.
4(4!
SYSBPOBC
Exit slowdown threshold count.
6(6!
SYSATBP
Address trace block pointer.
8(8!
SYSCKRP
Check record pool pointer.
10(A!
SYSLTBP
Line trace block pointer.
. SYSDRSP
Display/refresh/select table pointer.
14(EI
12(C!
SYSPDBP
Panel control block pointer.
SYSEBCP
EBCDIC time and date control block
I
!
pointer.
16(10!
18(12!
SYSTVSP
Time value select table pointer.
SYSLCSP
Line control select table pointer.
20(141
SYSCOOP (NCP1, NCP2!
Channel work queue pointer.
or
SYSFOXP (NCP31
FM request transporter OCB pointer.
24(181
SYSCRNP
Channel normal data pointer.
28(lC!
SYSANSP
Auto-network shutdown queue pointer.
32(201
:
SYSPCBP
Panel queue pointer.
I
36(24!
I
40(28!
II
SYSTMRP
Timer completion queue pointer.
44(2C!
SYSNIOP
Non·device input queue pointer.
48(301
50(32!
SYSCHVTP
Pointer to EP channel vector
table (NCP2, NCP#!
88
I
SYSERTP
Error record transfer queue pointer.
3704 and 3705 Program Reference Handbook
(Reserved)
HWE
Communication scanner 1 control bytes
152(34)
CSB1FLAG'
53(35)
CSB1SCNL
Scan limit
54(36)
CSB1HISS
High speed
155(37)
CSB1ASUB
Address
substitution
select
1
Communication scanner 2 control bytes
156(38)
CSB2FLAG'
57(39)
CSB2SCNL
5813A)
CSB2HISS
High speed
selict
Senn limit
1 5913B)
CSB2ASUB
Address
Substitution
Communication scanner 3 control bytes
16013C)
CSB3FLAG'
6113D)
CS83SCNL
Scan limit
6213E)
CSB3HISS
High speed
1 6313F)
CSB3ASUB
Address
Substitution
select
Communication scanner 4 control bytes
64(40)
CSB4FLAG'
65(41)
CSB4SCNL
Scan limit
66(42)
CSB4HISS
167(43)
CSB4ASUB
Address
High speed
select
Substitution
68(44)
SYSPSBP
Pointer to the physical services
control block
72(48)
SYSSITP
Pointer to the sub-area
index table
7614C)
SYSSVTP
Pointer to the sub-area
vector table
""Indicates a byte expansion follows.
Byte Expansions
Bit Pattern!
Offset/Field Name
Hex Value
52(34)
CSB1FLAG
x ...
••• X
l""Scanner installed
1 =Scanner is a type 3
....
.... ... x
1 =Scanner installed
1 =Scanner is a type 3
....
1"""Scanner installed
1 =Scanner is a type 3
...
56(38)
CSB2FLAG
x ..
6013C)
CSB3FLAG
x ...
64(40)
CS84FLAG
....
Comments
....
x ..
....
... x
....
... x
l=Scanner installed
1 =Scanner is a type 3
Data Area Layouts
89
ICE ROUTINE ADDRESS TABLE
ICE
Program: EP, PEP
Size in bytes: 84(54)
Located in: Routine eYAIS of module CYASVC.
Created by: NCP and EP generation.
Referenced by: Routine eYAIS of module CYASVC.
Function: Points to ICE routines for command processing.
0(0)
Unused
4(4)
6(6)
Address pointer to Write. (BSG)
(CYACWRIB)
8(8)
Address pointer to Write.
(Start-stop) (CYACWR1S)
lO(A)
Address pointer to Read.
(Start-stop) (CYACR EAS)
Address pointer to Read. (BSC)
(CYACREAB)
12(C)
Address pointers (2) to No-op_ (general) (CYACENOP)
16(10)
Address pointers (2) to Sense. (general) (tCESEN)
20(14)
Address pointers (2) to Wrap. (general) (lCEWRA)
24(18)
Address pointer to Prepare. (SSG)
(CYACPRE8)
26(1A)
Address pointer to Prepare.
(Start-stop) (CYACPRES)
28(1C)
Address pointers (2) to invalid code. (CMDERROR)
32(201
Address pointer to invalid code.
(CMDERROR)
34(22)
Address pointer to Write Break.
(2848 Sta,t-stop) (CY ACB RES)
36(24)
38(26)
Address pointer to Poll.
(BSC) (CYACPOLLB)
Address pointer to Poll.
(Sta,t-stop) (CYACWRIS)
40(28)
Address pointer to invalid code.
(CMDERROR)
46(2E)
Address pointer to Poll SOH.
(2260 start-stop) (CYACPOLS)
52(34)
Address pointer to invalid code.
(CMDERROR)
54(36)
Address pointer to Read Clear.
(2848 stact-stop) (CYACRDCL)
56(38)
Address pointer to invalid code.
(CMDERROR)
58(3A)
60(3C)
Address pointer to Search. (BSC)
(CYACSEAB)
62(3E)
64(40)
Address pointer to Disable. (BSC)
(ICEDISAB)
66(42)
68(44)
Address pointer to Enable. (BSC)
(ICEENABL)
70(46)
72(48)
Address pointer to Dial. (BSC)
(lCEDIAL)
74(4A)
90
Address pointer to Break or
Diagnostic Poll. (Start-stop)
(CYACBKPL)
Address pointer to Search.
(Stact-stop) (CYACSEAS)
Address pointer to Disable.
(Sta,t-stop) (ICEDISA8)
Address pointer to Enable.
(Start-stop) (ICEENABL)
3704 and 3705 Program Reference Handbook
Address pointer to Dial.
(Sta,t-stop) (ICEDIALI
ICE
76(4C)
Address pointer to Adprep. (8SC)
(CYACADP8)
78(4E)
Address pointer to invalid code.
(CMDERROR)
80(50)
Address pointer to Set Mode. (SSC)
(CYACSETB)
82(52)
Address pointer to invalid code.
(CMDERROR)
Data Area Layouts
91
INTERFACE DISCONNECT DISPATCHER TABLE
lOOT
Program: NCP2. NCP#. EP
Size in bytes: 40(28)
Located in: Routine eVAIS of module CYASVC
Created by: NCP and EP generation.
Referenced by: Routine eYAIS.
Function: Contains address pointers to IFD and CAEC routines.
0·39(0·27)
IFDADDR
IFO address table.
0(0)
2(2)
No action, TlO (00) command.
Address pointer for Write (08)
command. (IFDWRI)
(CAECI80)
4(4)
6(6)
Address pointer for Read (10)
No action. No-op (18) command.
command (lFDREA)
(CAECI80)
IO(A)
8(8)
Address pointer for sense (20)
command (CAECI90)
No action. Wrap (28) command.
(CAECI80)
14(E)
12(C)
ERROR (38)
Address pointer for Prepare (30)
command. (lFDPRE)
18(12)
16(10)
Address pointer for Poll (48)
Address pointer for
Write Break (40)
command (lFDPOL)
command (lFDWRI).
22(16)
20(14)
Address pointer for
Poll SOH (58)
command (lFDWRI).
Address pointer for Inhibit (50)
command (lFDREA)
24(.1B)
Address pointer for
Read Clear (60)
command (lFDREAI.
28(IC)
26(IA)
Address pointer for Break (681
command (lFDWRI)
30(IE)
Address pointer for Search (70)
command (lFDREA)
Address pointer for
Disable (78)
command (CAECL80).
34(22)
32(20)
AddE~~sb~~l~1r{ for
Address pointer for
Dial (88)
command (lFDIAL).
command (I FDENA).
38(26)
36(24)
Address pointer for
Address Prepare (90)
command (lFDPRE).
92
Address pointer for Set Mode (98)
command. (I FDSTMD)
3704 and 3705 Program Reference Handbook
IDENTIFICATION LIST ENTRY
IDE
Program: NCP
Size in bytes: Variable
Created by: NCP generation.
Pointer to IDE: None. Follows IDL.
Function: Contains one entry for each valid 10 that can be received over a line or lines
for which the list;s being used.
The IDE has the following format if device association is not possible.
1(1)
010)
IDELEN
1
1
IDEFLAG'
.
10 length
212
)
Entry flags.
10 characters.
(Variable length.)
IDEPADL
Length of maximum number of pad characters needed for alignment.
The IDE has the following format if device association is possible.
010)
IDEDVBP
Pointer to
IDELEN
IDle"llth
414)
..
.
l
IDEFLAG'
Entry flags.
ova (last 18 bitsl.
·1
10 characters. (Variable in length.)
IDEPADL
Length of maximum number of pad characters needed for alignment .
Indicates a byte expansIOn follows.
* * Follows 10 characters.
Byte Expansions
Offset/Field Name
Bit Pattern/
Hex Value
IDEFLAG
Contents
Entry flags.
1(1)
1 ...
.1 ..
.. 1.
Device association is possible for this entry.
End of list .
Notify host if no match. (Meaningful only
for first and last entries of list.)
Data Area Layouts
93
IDENTIFICATION LIST HEADER
IDL
Program: NCP
Size in bytes: 4(4)
Located in: Beginning of identification list.
Created by: NCP generation.
Pointer"to IDL: CI El Dl field in CI E.
Function: Precedes the first entry in an ID list for switched BSC lines whose terminals
identify themselves. The list is required only if validity checking of the incoming ID is
required.
2(2)
0(0)
IDLSIZE
Maximum number of bytes in
the list
94
Halfword to force fullword alignment
3704 and 3705 Program Reference Handbook
for first entry.
INPUT/OUTPUT BLOCK
lOB
Program: NCP
Size ill bytes: 36(24)
Created by: NCP generation.
Pointer to lOB: LCBACBP
Function: Contains status of SSC/55 liD operations.
1(1)
10BCMANO'
0(0)
10BIMCTL'
Immediate con-
2(2)
IOBCMOOS'
lOB command modifiers.
I/O command
field.
trol flags.
4(4)
IOBEXTST'
6(6)
5(5)
IOBROESC
Record descriptor
byte.
Extended status
field. Contains
error indicators.
10(A)
9(9)
8(8)
IOBRTYCT
IOBEREST
First error extended
status. This field
is set equal to
IOBEXTST when
the first recoverable error
occurs.
12(C)
IOBSTOFS
Initial data offset,
used to locate the
starting point
IOBSTAT'
Outcome of command operation.
Retry count for
first level ERP
attempts.
IOBERST
First error status. This field is set
equal to IOBSTAT when the first
recoverable error occurs.
1-------------IOBLTSM
SCF mask field
(when OLlT active)
13(0)
IOBOFSET
Final data offset
used to locate
the buffer posi·
tion of the last
character in the
block that was
stored. Zero if
in the first
buffer of a
block.
1-------
14(E)
IOBOATAP
Data pointer to first buffer in the
block. (Shifted address.)
buffer is filled.
------IOBTCBPT
Pointer to OlLT
(when OLLT active).
18(12)
16(10)
IOBFNLPT
Pointer to last buffer in chain
(Shifted address.)
or
IOBLTCT
Transmit or Recive count (OllT).
IOBINPUT
Input control data address. Contains
the address of the first buffer when
buffers are needed to store a reply to
text, selection, or inquiry. (Shifted
address.)
IOBLTL2
Secondary CCB L2
(when OLlT active).
*Indicates a byte expansion follows.
Data Area layouts
95
lOB
20(14)
IOBOUTPT
Output control data address. For Write commands, contains the address of
the text data in buffers.
IOBCTCCT
Control count.
21(15)
Address of the field to be transmitted.
Number of charac-
ters to be transmitted from field
addressed by the
output control
data address.
Dr
IOBLTLAB
Pointer to lookahead buffer (OLLTLAB)
26(IA)
24(18)
I08LCB
I08BKSIZ
Pointer to the line control block.
Received block's size (number of data
(Shifted address.)
characters stored).
28(lC)
IOBPOLL
Address of the entry in the service order table for the next station to be
polled minus two, used when the communications controller is the master
station (last 18 bits).
30(1 E)
29(1D)
10BSSCB
IOBMTASA
10BTRADR
Service seeking
control byte.
MTA 1050 station
Station select address for the commu-
address byte.
"ieaticns controller when it is a
tributary station.
32(20)
10BSEL
Address of the field that contains the selection address for the station to be
selected by the communications controller (last 18 bits).
- - - - -1-33(21)
- -- 10BCRTN
Carriage
position.
* Indicates a byte expansion follows.
96
10BPFLAG*
PEP flag field. (NCP2. #)
3704 and 3705 Program Reference Handbook
lOB
Byte Expansions
Bit Pattern!
Offset/Field Name
Hex Value
OIDI
10BIMCTL
Immediate control flags.
Reset immediate.
1.
. 1 ..
.1
... 1
1.
1(11
IOBCMANO
2121
10BCMOOS
Write request - conditional reset.
Monitor mode .
Send interrupt.
Conditional send interrupt.
I/O command field.
X'10'
X'12'
X'16'
X'17'
X'19'
X'25'
X'27'
X'2S'
X'2A'
X'83'
X'SO'
X'SF'
X'94'
X'9B'
X'AC'
Write initial.
Write continue.
Write recover.
Write delay, (NCP2,';:;)
Write.
Read.
Read delay. (NCP2,;'")
Read initial.
Read continue.
Disable.
Enable.
Dial.
Write EDT.
Write control.
Read status.
lOB Command Modifiers.
Byte 0
Suppress lost data.
1.
. 1 ..
.. 1.
... 1
1.
.1.
.. 1.
... 1
Byte 1
1.
. 1.
.. 1.
... 1
1.
.1.
.. 1.
... 1
4141
10BEXTST
Contents
Override text mode ERPs .
Reject received leading graphics.
Inhibit text time-out (stmt-stop) .
ITS mode not transparent (SSG).
Sub-blocking mode.
Inhibit WACK limit (SSG). Inhibit time
fill (start-stop).
Enable length check. ITB mode transparent .
Hold buffers .
Reset.
Send priority. Manualdial (Enable cmd only) .
ETX (Write commands). Single poll (Read
commands).
Offset (Write commands). First buffer
assigned (Read commands).
Insert (Write commands). Send leading
graphics (Read commands). Send
identification (Enable).
Transparent text [Write commands). Send
positive ACK (Read-commands).
Identification mode (Enable).
Set negative ACK (Read commands). SOH
(Write commands). Multiple terminal
access mode. (Enable commands.)
Set alternate ACK.
Extended status field.
1.
. 1 ..
.1.
... 1
Overrun/underrun .
Line quiet time-out.
OLE format exception.
Sub-block error .
Data Area Layouts
97
lOB
Bit Pattern/
Offset/Field Name
Hex Value
6(6)
Contents
_Ioutcome of command operation.
10BSTAT
Byte 0
Flags
Extended error status.
Format exception (bad line control
sequence).
.. 1.
Sync check (stop bit error start-stop only).
Data check (block check character error) .
... 1
... 1
length check .
ReadIWrite Group Masks
000.
No errors.
001.
Receive text .
. 010.
Receive text reply.
all.
Receive control; command reject.
100.
Status outstanding when command issued;
command not executed.
101.
Send text reply.
110.
Send text.
111.
Send control.
Data Set Control Group Masks
000.
No errors.
Receive ID.
OOL
010.
Receive 10 reply.
01l.
Connect.
100.
Status outstanding when command issued.
Error in dialing phase.
101.
110.
Send 10.
11l.
Disconnect.
1. ..
.1 ..
Byte 1
33(21)
IOBPFLAG
Extended (line) response. See Section 7.
PEP flag field. (NCP2, #)
x. _.
Line type:
.x ..
PEP switchable line:
O=Not switchable.
l=switchable.
Line-active save bit .
O=Line inactive at time of switch.
1=Line active at time of switch.
Part of IOBSEl address .
Part of IOBSEL address .
O=NCP
'l=EP
.. x.
•• X.
•• • X
98
3704 and 3705 Program Reference Handbook
LINE CONTROL BLOCK
LCB
Program: NCP
Size in bytes: Variable, depending on limHype extensions.
Created by: NCP generation, one for each BSC/SS line.
Pointer to LeB: RVTRP field in RVT.
Function: Contains fields required for (1) scheduling line operations, (2) maintaining
line-significant status information, and (3) requesting 110 operations from the communications I/O program (levels 2 and 3).
Line 1/0 OCB ILCBLlOO)
(See aCB for Input Queues for all bit definitions.)
0(0)
212)
LCI1ECB
LCILEOCB
Pointer to first element queued.
(Shifted address.)
Pointer to last element queued.
(Shifted address.)
414)
515)
LCISTAT
Task and queue
status.
616)
LCIPRKEY
LCILINK
Protection key.
Pointer to next aCB on the queue
(Shifted address.)
818)
LCITSKEP
Task entry point. (last 18 bits)
919)
LCIMCBD
Major control
block
displacement.
LCISCHED
Trigger
scheduling
priority.
14(E)
121C)
LCISAVE
Address of save area push·down
list. (Shifted address.)
LCILUNK
Pointer to previous aCB on the queue.
(Shifted address.)
16110)
LCIBHSET
BHR or BH set address (last 18 bits).
LCIBHRST
BHR status bits
-1-17111)
- -
- - -I
LCIBHSCH
BHR sc.heduling
bits.
Line Work aCB (LCBLWa)
(See aCB for Input Queues for all bit definitions.)
Note: By format, this is an Input QCB. Line Work aCB is simply the name
given to this particular Input QCB.
20114)
LCW1ECB
Pointer to first element queued.
{Shifted address.}
22116)
LCWLECB
Pointer to last element queued.
(Shifted address.)
Data Area Layouts
99
LCB
24(18)
LCWSTAT
Task and Queue
status.
25(19)
LCWPRKEY
Protection key,
26(lA)
LCWLlNK
Pointer to next aCB on the queue.
(Shifted address.)
28(lC)
LCWTSKEP
Task entry point (last 18 bits).
29(1D)
LCWSCHED
Trigger
scheduling
priority.
LCWMC8D
Major control
block
displacement.
34(22)
32(20)
LCWSAVE
Address of save area push-down
list. (Shifted address.)
LCWLUNK
Pointer to previous DeB on the queue.
(Shifted address.)
36(24)
or
LCBACBP
Pointer to adapter control block.
LCBPEPSC
Subchannel of
EP equivalent
line. (NCP2, #)
40(28)
LCBLTCTP
Line type command table pointer (last 18 bits).
, , , , , 'I
LCBLSTAT'
First line status
byte.
44(2C)
LCBDVBP
Pointer to device base for device currently connected over line Ilast 18 bits).
'LC'BTYPEC;
Line type code.
'I
4B(30)
LCBDBCU
Pointer to the Activate or Deactivate BCU when activate line, deactivate
line orderly, or deactivate group orderly is in progress (last 18 bits!.
." '"I
LCBMFLAG
LCB flags,
orLCBLLGN'
LLG number.
<tlndicates a byte expansion follows.
100
3704 and 3705 Program Reference Handbook
LCB
52(34)
LCBSSP
Subtask sequence pointer.
54(36)
LCBFEATl'
Lea features.
55(37)
LCBLST2'
58(3A)
LCBERPL
Second level
error recovery
procedure loop
59(3B)
LCBERPC
Second level error
recovery procedure loop
Seconp1ine
status byte.
56(38)
LCBACTNS'
Actions to be
taken when
unusual candiA
57(39)
LCBUSER
Offset to beginnlng of user
area.
tions arise on the
counter.
limit.
line.
60(3C)
LCBEOEL
Duration of delay
between second
level ERP loops.
61(30)
LCBCOFFL
Sub-block cutoff
limit.
62(3E)
LCBCOFFC
Sub-block cutoff
63(3F)
LCBIOCOM'
110 communica-
counter.
tion byte.
66(42)
64(40)
LCBCSCNT
Count of pending Invite and Contact
commands for the line.
LCBRID
Resource 10 of the line.
Multipoint Extension
line Suspended Sessions aCB (LCBLSSal
(See aCB for Work Queues for all bit definitions.)
68(44)
70(46)
LCS1ECB
LCSLECB
Pointer to first element queued.
ISh ifted address.)
Pointer to last element queued.
(Shifted address.)
72(48)
LCSSTAT
Task and queue
status.
173(49)
LCSPRKEY
Protection key
74(4A)
LCSLlNK
Pointer to next aCB on the queue.
(Shifted address.)
*lndicates a byte expansion follows.
Data Area Layouts
101
LCB
76(4C)
LCBESOTP
Address of service order table (last 18 bits).
LCBEPAUS
Pause between
passes through
service order table.
BO(50)
lCBENAKL
Negative poll
response limit.
84(54}
LCBes
Suspended con-
nections count.
81(51)
LCBESERL
Service seeking
scan limit.
82(52)
85(55)
LCBWS
86(56)
LCBENOD
LCBMS
Maximum number
of sessions
allowed.
Connections
Number of de-
work count.
vices on this
line.
83(53)
LCBAS
Attempted sessions
count.
87(57)
LCBEDIG
Number of devices
remaining when
deactivating line.
88(58)
LCBSOTCT
SSe/5S' devices in
buffer delay not
quiesced count
for multipoint
lines.
Switched Extension
68(44)
LCBESGTP
Address of primary switched group table (SGTt Clast 18 bits).
" "LCBEFLAG'
" " " " "f
Switched extension flags.
72(48)
LCBELCDI
Address of logicar connection device input (LCD!) OVB.
*Indicates a byte expansion follows.
102
3704 and 3705 Program Reference Handbook
LCB
Byte Expansions
Offset/Field Name
Bit Pattern/
Hex Value
40(28)
LCBLSTAT
1. ..... .
First line status byte.
.1 ..
.. 1.
... 1
1. ..
.1 ..
4412C)
LCBTYPEC
.... .. 1 .
•... ..• 1
Byte 0
. 1 ..
.. 1 . . . . .
..
1
x •.
1
48(30)
LCBMFLAG
54(36)
LCBFEATl
i
i
Line active. A line is active (can accept TP
commands) from the completion of an
activate line operation until the receipt
by line management of a deactivate line
request. A line is inactive (cannot accept
TP commands) from the receipt by line
management of a deactivate line request
until the completion of an activate line
operation.
Line is in abnormal mode. A Reset or
Deactivate is in progress for some device
on this line. See LCB LST2 to determine
actual operation.
Active session .
Work scheduler idle.
Service seeking in progress. Switched
enable, for call·in, is active on this line.
Reset immediate or deactivate line halt
caused an immediate XIO to be issued on
this line. See lCBlST2 to determine
actual terminal operation.
OlIT in progress•
9_llT in pr~gress.
Line type code.
Extension exists .
The meaning of this bit is relevant only if
bit 7 (switched) is one. If one. this line
changes physical characteristics. via set
mode, with each new telephone connection. If zero, line has same characteristic
for every connection.
SDLC .
Mode (NCP2, #):
O=Half duplex
l=Duplex
sse line.
Multipoint line.
Switched line_
LCB flags.
1
.1
Buffer delay wait.
Critical situation message write started.
1
.1
Multipoint tributary .
Point-to·point secondary.
Dial type INCP2, #):
l=auto
LeB features.
•. 1
O~manual
.. .1
1
..
.• x
55137)
LCBLST2
Contents
Speed change capability (NCP2. #)
Multipoint backup (NCP#i
Mode switch (NCP2, #)
1=EP
O=NCP
Second line status byte.
1 ..
.1
.1
.X
1.
Deactivate line halt in progress .
Deactivate line orderly in progress.
Activate Line in progress.
Current dial method (NCP2, #J:
l:::auto
O=manual
Monitor mode in progress.
INCP2,#)
Data Area layouts
103
LeB
Bit Pattern I
Offset/Field Name
Hex Value
Contents
.X .•
Line mode bit
l==backup
.. x.
Monitor reset bit (NCP2, #):
l=delay monitor reset
O=normal
... 1
Actions to be taken when unusual conditions arise on the line.
56(38)
LCBACTNS
1 ...
.x ..
. 1.
... 1
1.
.x.
•. X.
... 1
63(3F)
LCBIOCOM
... 1
104
Shutdown of this line pending.
Deactive line orderly. (OLD) Error status
(when active).
l=Error-terminate DLO
O=No error-process OLO
Service suspended sessions.
Single service seek .
Respond to current read with RVI.
Negative poll response limit reached:
l=break logical connection
O=no break
Negative pori response limit reached:
l=reschedute Read
O=terminate
Monitor line for attention or disconnect .
(NCP2. #)
I/O communication byte.
1 ...
. 1 ..
.. 1.
.. 1
1 ..
. 1 ..
.1.
68(44)
LCBEFLAG
Q=reset now
Line speed change in progress. (NCP2,#)
Partial block sent.
Session suspension required .
Send ID .
Transparent text selection .
End of text block (ETB) received.
Conversational mode.
BHR point 2 execution required after liD
is completed.
Last block ended with ETX .
Switched extension flags.
1.
. 1 ..
.. 1.
... 1
Part of a switched group.
Call·in line .
Call-out line .
Telephone connection exists .
3704 and 3705 Program Reference Handbook
LCST
LINE CONTROL SELECTION TABLE
Program: NCP
Size in bytes: 16(10) per entry; number of entries defined at NCP generation.
Created by: NCP generation, one for each start·stop line.
Pointer to LeST: SYSLCSP field in HWE.
Function: Used to change ACB control fields for Multiple Terminal Access (MTA).
Entry Format
2(2)
0(0)
LCSTSPED
LCSTLGT
Line speed.
Line group table address.
4(4)
7(7)
LCSTSMDE
6(6)
LCSTRTDT
LCSTTTDT
Receive translate decode table
address.
Transmit trans·
late decode
table address
(high order byte).
The low·order
byte is the character to be
translated.
B(8)
LCSTSTBL
State table address.
121C)
LCSTCRTN
Carriage return
rate factor (55
only).
13ID)
LCSTLSIZ
Maximum print
lOlA)
LCSTRTRY
Text error retry
limit.
Set mode serial data
(SDF) constant.
11(B)
LCSTBCUT
Buffer cutoff
limit (receive).
141E)
LCSTBG
Background table address.
line size (55
only).
Data Area Layouts
105
LINE GROUP TABLE
LGT
(EP & PEP)
Program: PEP, EP
Size in bytes: Variable (8 bytes per GROUP macro).
Created by: NCP and EP generation.
located: Immediately following
cess.
Updated by: GGB
Referenced by: LCP, lep
Function: Contains information about a group of lines. It contains an entry for each
GROUP macro coded by the user.
0(0)
LGTREPLY
Reply time-out
in tenths of a
second.
4(4)
LGTLlNE'
Line information
byte.
1(1)
2(2)
LGTTET
Text time-out in
tenths of a second.
5(5)
LGTEOT
End of transmis·
sian for RPQ
and WTTY
.
3(3)
LGTGHARS
Ending TTY
(LGTEOB)"
character.
6(6)
LGTENDGR'
TTY end
character
7(7)
Reserved
controls
(optional),
Indicates a byte expanSlOn follows.
*"If bit 3 of byte LGTLlNE is off, this byte contains the EDB character. If bit 3 of
LGTLlNE' is on, this byte contains the second ending TTY character.
Byte Expansion
Offset/Field Name
4(4)
LGTLlNE
Bit Pattern/
Hex Value
Line information byte.
... x ....
.... x ...
.x ..
•• X.
6(6)
LGTENDGR
Presence of TTY ending characters:
Q=present
1 =not present
Data character detect security
Q=Security (Start-Stop lines)
l=No security (8SC)
Line type:
Q=switched
l=non·switched
XON character control:
Q=utilize
l=inhibit
XOFF character control:
O=utilize
l=inhibit
TTY end character controls.
FIGS-X-LTRS sequence for EDT. The value
1 .••
.1 ..
.. 1.
... 1
.. 1.
... 1
106
Contents
of X is byte 5 (LGTEOT).
Four character sequence for EDT. The value
of the character is in byte 5 (LGTEOT).
FIGS·Y sequence for EOa. The value of Y
is in byte 3 (LGTEOB).
Four character ending sequence for EGa .
The value of the character is in byte 3
(LGTEOB).
Five-character transmit-turnaround-delay
flag.
Ten-character-transmit-turnaround-delay
flag.
3704 and 3705 Program Reference Handbook
LGT
(NCP)
LINE GROUP TABLE
Program: NCP
Size in bytes: Variable depending or line type.
Created by: NCP generation.
Pointer to LGT: CCBLGPT field in eCB.
Function: Contains line control parameters.
212)
1(1)
010)
LGTTYPE*
LGTSHTAP
Terminal type
Shoulder tap
time-Qut state
change mask.
identification.
LGTeNDR1
Receive text status/ERP vector.
616)
414)
LGTENDR2
Receive text reply status/ERP
vector.
9(9)
818)
LGTTIMEA"
LGTTIMEB"
Control time-out
command (error
time-out).
121C)
LGTXIPCF
Transmit initial
LCO/peF value.
Receive text
LGHNDR3
Receive control reply status/E RP vector.
Transmit time-
(long) time-out
out command
command.
(shoulder tap).
131D)
LGTRIPCF
Receive initial
LCD/peF value.
16110)
l1{B)
LGTTIMED"
Resp'onse time-out
command.
lOlA)
LGTTIMEC"
14{E)
151F)
LGTCMRTY
Control mode ERP
retry limit.
LGTINST
Initial level 2
state mask.
18(12)
LGTLATO
Remote activity time field. (NCP#)
------------- ----- - -----LGTCMD
Pointer to command decode table.
18112)
LGTlNCHR
Initial control
character.
19113)
LGTCOUNT
Write EDT command initial control
character count.
Type 1 Scanner Extension
20(14)
LGTMASK
Character size tag mask. (See
BCBMASK for bit definitions)'
22116)
LGTLCPCF
LCD/PCF for
type 1 scanner.
ISee BCBLCPCF
for bit defini-
23(17)
LGTBREAK
Start-stop transmit
break mask. (See
BCBBMASK for bit
definitions.)
tions.)
*Indicates a byte expansion follows.
**Error time-outs are expressed as X'Cx'. Go to TVS DSECT and
displace into TVS by a value of X for timer values. Shoulder tap
time-outs are X'Sx'.
Data Area Layouts
107
LGT
(NCP)
24118)**
LGTWACKL
sse received
WACK limit
25119)"
LGTTTD
sse received
TTD limit value.
26(1A)"
LGTSYN
sse SYN char-
acter line code.
2711B)**
LGTR 1ST
Receive initial state
set after connect.
value.
or LGTSELG
Start-stop selection address
or LGTPOLLG
or LGTPADCT
Start-stop poll
address length.
Start-stop motor
start pad count.
length.
sse Line and EBCDIC Characters
3011E)**
LGTDLEOT
DLE.
34(22)'*
LGTDLEIB
DLE.
38(26)*'
LGTDLE1
DLE.
3111F)'*
LGTEOTE
EOT EBCDIC.
4512D)"
LGTSOHE
SOH EBCDIC.
42(2A)"
LGTOLEEC
DLE.
46(2E)"
LGTDLEEX
DLE.
43(2B)"
LGTENCE
ENC EBCDIC.
47(2F)"
LGTETXE
ETX EBCDIC.
49131)"
LGTWACK
WACK.
50132)"
LGTSOHA
SOH ASCII.
51(33)"
LGTSTXA
STX ASCII.
2811C)"
LGTDLEEB
DLE.
32120)"
LGTDLES
DLE.
2911D)'*
LGTETBE
ETB E8CDIC.
33121)"
LGTSTXE
STX EBCDIC.
36(24)"
LGTDLEO
DLE.
37(25)"
LGTACKO
ACKO.
40(28)"
LGTDLER
DLE.
4412C)"
LGTNAKE
NAK EBCDIC.
41129)"
LGTRVIE
RVI EBCDIC.
48(30)"
LGTDLEW
DLE.
35123)"
LGTITBE
ITB EBCDIC.
39127)"
LGTACK1
ACK1.
53135)"
54(36)"
55137)"
52134)"
LGTlTBA
LGTEOTA
LGTETBA
LGTETXA
ASCII.
EOT
ASCII.
ITB ASCII
ETX
ETB ASCII.
56138)*'
57139)"
5813A)"
LGTDLEA
LGTENCA
LGTNAKA
NAK ASCII.
DLE ASCII.
ENCASCII.
**Displacement will be four bytes less if type 1 scanner is not present.
10B
3704 and 3705 Program Reference Handbook
LGT
(NCP)
Start/Stop Line and EBCDIC Control/Characters
(Label used dependent on terminal type.)
28(lC)"
LGTUPPER
Upshift.
29(1D)"
LGTET82
Circle B.
31(1 F)"
LGTEOT2
30(lE)"
LGTLOWER
Down shift.
Circle CorH.
or LGTTEOT
EOT
er LGTEOT3
Letters.
32(20)"
33(21)"
35(23)"
LGTHTA8
34(22)"
LGTVTA8
Vertical tab.
LGTEOT1
LGTCIRD
Circle C Of figs.
Circle D.
or LGTWFIG
Figs.
or LGTWLTR
Letters.
or LGTWNULL
orLGTTHT
Null.
Horizontal tab.
or LGTC1RC
or LGTTNUL
orLGTTVT
Null.
Vertical tab.
Circle C.
I
i
Horizontal tab.
or LGTSTX1
Space or carriage return.
136(24'"
LGTLF
37(25'"
LGTCRLF
line feed.
Carriage return.
or LGTWTA8
Tab.
Carriage return.
38(26'"
LGTSPACE
Space.
39(27'"
LGT8KSP
Backspace.
or LGTSTX2
Carriage return Of
or LGTWCR
line feed.
or LGTTLF
Line feed
or LGTTCR
Carriage return.
ar LGTCR
Carriage return
or line feed.
40(28)"
LGTPAD
Pad.
41(29'"
LGTIDLE
Idle.
or LGTTPAD
Pad.
or LGTWEDB1
Idle.
or LGT8PAD
Pad.
or LGTSTX3
42(2A'"
LGTSPEC
(Reserved),
43(28'"
LGTPRC
Prefix.
or LGTWED82
EOB sequence.
or LGTTENO
ENQ.
or LGTWEOB3
ENQ.
Idle.
orLGTWPAD
Pad.
HDisplacement will be four bytes less if type 1 scanner is not present.
Data Area Layouts
109
LGT
(NCP)
44(2C)"
LGTCIRN
NAK.
or LGllNEOB4
NAK.
45(20)*'
LGTRES
4S(2E)*'
LGTRSTP
Restore.
Reader stop
or LGllNEOTl
EOT1.
or LGTTXOFF
47(2F)**
LGTETBl
Circle B.
XOFF control
character
or LGTCIRB
CircleS.
or LGllNEOT2
EOT2.
or LGTTXON
XON control
character
or LGllNEOT3
EOT3.
48(30)**
LGTCIRY
CircleY
or LGllNEOT4
EOT4.
52(34)**
LGTPON
Punch on.
49(31)"
LGTBYP
Bypass
or LGTWXCHl
Ending character
53(35)*'
LGTDELET
Delete.
50(32)*'
(Reservedl
or LGllNXCH2
Ending character
54(36)*'
LGTESLSH
Slash. (EBCDIC)
51(33)**
LGTPF
Punch off.
-
-
or LGllNXCH3
Ending character
55(37)'*
LGTESPCE
Space (EBCDIC)
"'Dlsplacement will be four bytes less if type 1 scanner is not present.
Byte Expansions
Offset/Field Name
0(0)
LGTTYPE
110
Bit Patternl
Hex Value
Contents
Terminal type identification.
X'OO'
X'02'
X'04'
X'OS'
X'08'
X'OA'
X'OC'
X'OE'
X'14'
X'lC'
X'lD'
X'20'
X'22'
X'24'
X'2S'
X'4A'
X'4C'
X'4E'
X'6A'
X'6C'
X'6E'
X'8C'
X'8E'
2741.
2740 Basic.
2740 Station Control.
2740 Transmit Control.
2740 Station Control with checking.
2740 Transmit Control with checking,
2740 with checking.
2740 Model 2 with checking.
2740 Model 2 without checking.
1050.
MTA.
TTYI·B (83B3).
TTYII.
TTY World Trade,
TTYI·A (115A).
esc EBCDIC point-ta-point station.
BSC EBCDIC control station.
SSC EBCDIC tributary station.
SSC ASCII point-to-point station.
SSC ASCII control station.
BSC ASCII tributary station.
SDLC Primary station.
SDLC Secondary station.
3704 and 3705 Program Reference Handbook
LKB
LINK CONTROL BLOCK
Program: NCP#
Size in bytes: 40(28)
Created by: NCP Generation. One for each link.
Pointer to LKB: RVT
Function: Contains fields for scheduling link operation and for maintaining link status
information.
Queue Control Block (See aCB for input queues for bit definition)
0(0)
2(2)
LKW1ECB
LKWLECB.
Pointer to first element queued
Pointer to last element queued
(Shifted address).
(Shifted address).
4(4)
LKWSTAT
Task and queue
status.
5(5)
LKWPRKEY
OCB 10 flag and
task protect key.
616)
LKWLlNK
Pointer to next aCB on the queue
(Shifted address).
8(8)
----- -l- -----
LKWTSKEP
Task Entry Point (Last 18 bits).
LKWMCBO
Major control block
displacement.
LKWSCHEO
Task dispatching
priority.
14(E)
12(C)
LKWLUNK
Pointer to previous aCB on queue
LKWSAVE
Address of save area pushdown
(Shifted address).
list (Shifted address).
---
16(10
LKBNWAOR
Network address of link.
20114)
LKBSVTO
21115)
LK8SWST*
SVT displacement.
SWitched status
(Remote only)
flags.
18112)
LKBSTAT*
Status of link.
22(16)
Reserved.
19(13)
LK8TYPE*
Link type.
23(17)
LKBSNOC
Stations not
quiesced count.
(ANS)
24(18)
-------1
LKBTCHN
LKB chain pointer. Points to an altemate
link's LKB. (Last 18 bits.)
LKBBLMST*
Remote link backup
moni~or
and status
28(lC)
Reserved
36(24)
LKBAC8P
Address of adapter control block.
* Indicates a byte expansion follows.
Data Area Layouts
111
LKB
Byte Expansion
Offset/Field Name
Bit Pattern/
Hex Value
18(12)
LKBSTAT
Status of link.
1 ...
. 1 ..
.. 1.
... 1
.. 1.
... 1
The link is active; an Activate Link
command has been successfully
processed.
Activate Link in progress .
Deactivate Link in progress .
Link quiesce pending. (Auto network
shutdown)
OL IT in progress .
OLLT in progress .
Link type.
19(13)
LKBTYPE
1 ...
. 1 ..
.. 1.
... 1
1 ...
. 1..
21(15)
LKBSWST
Leased.
Switched .
One or more clusters attached to this link .
One or more remote controllers are attached to this link.
One or more terminals are attached to
this link.
Secondary link .
Switched status flags.
1...
. 1..
.. 1.
•.. 1
Connection exists.
Link in answer mode .
Dial in progress .
Switched Enable pending .
Remote backup link monitor and link
status.
24(18)
LKBBLMST
1. ..
. 1..
.. 1.
... 1
112
Contents
Link to local controller.
The current link to the local controller.
Start OT continue monitoring links to the
local controller.
Currently monitoring links to the local
controller.
3704 .and 3705 Program Reference Handbook
LLG
LOGICAL LINE GROUP CONTROL TABLE
Program: NCP1, NCP2
Size in bytes: 12(C) plus 4 bytes for each line in the line group.
Created by: NCP generation.
Pointer to LLG: RVTRP field in RVT.
Function: Consists of a line scan parameter area, plus one pointer to the LCB for each
line in the line list.
0(01
LLGBCUP
Pointer to current group (last 18 bits).
LLGFLAGS'
Logical line
group flags.
·1
4(4)
1 6 (61
LLGNOL
Number of lines in group.
LLGLTG
Number of lines to go.
8(8)
LLGOSET
Current offset into line table.
12(C)
LLGPTR
Pointer to the LCB for the first line in this group. Pointers to subsequent lines in the
group follow this field. If this is the system (LLGFLAGS, bit 0 on). this field is set
to zero and no other pointers follow it .
.
Indicates a byte expBnslon fallows.
Byte Expansions
Offset/Field Name
0(0)
LLGFLAGS
Bit Pattern!
Hex Value
Contents
Logical line group flags.
1 ...
.1 .
.. 1.
This is the LLG for the system.
LLG in use .
At least one line requires waiting before
group operation complete.
Data Area Layouts
113
LNVT
(Type 1)
Program: NCP, EP
Size in bytes: 16(10) for each line.
Located: Starts at storage loca~ion X'SOO',
Created by: NCP and EP generation.
Referenced by: Level 2 routines.
Function: Allows the
level 2 routines to find a line's eeB when only the line address is
known.
O·15(O·F)
BCB for the first line.
16·31(10·1F)
8CB for the second line,
I
n·n+F
114
BCB for the last line.
3704 and 3705 Program Reference Handbook
LNVT
IType 2)
LINE VECTOR TABLE Ifor Type 2 .canner)
Program: NCP. EP
Size in bytes: Variable. depending on number and type of communication scanners
attached and on the highest line interface address specified.
Located: Starts at storage location X'840'.
Created by: NCP and EP generation.
Referenced by: EP and NCP level 2 routines.
Function: Allows the level 2 routines to find a line's eGa when only the line address is
known.
2·n
0(0)
Address pointer to corresponding
Two bytes for each line interface
ACB INCPI or eCB IEP).
address:
Data Area Layouts
115
LINE TRACE CONTROL BLOCK
LTCB
Program: NCP
Size in bytes: 32(20)
Created by: NCP generation.
Pointer to LTCB: CXTCCT address at CXBCTRC in link edit map, or SYS LTBfield in
HWE. The LTCB is located 36 (24) bytes beyond this address.
Function: Contains the pertinent parameters for the line trace function. For duplex
operation two LTCBs are required - one for transmit leg and one for the receive leg.
2(2)
0(0)
CCTL2
Address of normal level 2 character
service routine when trace first
started on this line.
CCTSTATE
References the pseudo state address
table used to invoke line trace,
6(6)
4(4)
CCTACB
Pointer to the ACB for the line
being traced.
7(7)
CCTCUT
Buffer limit per
line trace control
block.
buffers that can be
transferred across
the channel with one
host Read.
101A)
81B)
CCTSAVE
Save area for link address.
CCTTIME
Timer control field for line trace.
CCTTMOUT
Interval timer
field for line
trace.
111B)
CCTTENTH
Tenth second timer
started when trace
began.
141E)
121C)
CCTBCB
Address of vector to this line's ACB.
16(10)
CCTMAXBF
Maximum number of
CCTCHAR
Count of the number of buffer locations
remaining in the current buffer.
CCTHDBUF
Pointer to first buffer in current chain (last 18 bits)
CCTBFMAX
Maximum number
of buffers to be
filled before trans·
ferring diagnostic
units to host.
20(14)
CCTITIME
Initial value of
interval timer field
for line trace.
21(15)
Unused.
22(16)
CCTEPBAR
BAR for EP line
(NCP2)
2411B)
CCTDATA
Address of next diagnostic unit to be stored (last 18 bitsl.
C~T~FS~D- -I
Number of bytes
in full trace
buffer.
2Bl1C)
CCTSTART
Pointer to beginning of current buffer (last 18 bits).
"Indicates a byte expansion follows.
116
3704 and 3705 Program Reference Handbook
LINE TRACE CONTROL BLOCK INCP#)
LTCB
INCP#)
Program: NCP
Size in bytes: 72(48)
Created by: NCP generation
Pointer to LTCB: CXTCCT address at CXBCTRC in link edit map. or SYSLTB field in
HWE. The LTCB is located 36(24) bytes beyond this address.
Function: Contains the pertinent parameters for the line trace function. For duplex
operation two LTCBs are required-one for the transmit leg and one for the receive leg.
0(0)
2(2)
CCTACB
Pointer to the ACB for the line
CCTL2
Address of normal level 2 character
service routine when trace
first started on this line.
4(4)
being traced.
6(6)
Reserved
CCTWORK
Timer work entry for eCT.
81S)
lOlA)
CCTTIME
CCTLINK
Pointer to the next ACB in level
2-3 chain, since the eGB is
Timer control field for line trace.
--
queued as the dummy ACB.
--
Interval Timer
l1(B)
CCTTENTH
Tenth second timer
field for Hne
trace.
started when trace
began.
CCTTMOUT
121C)
141E)
CCTFLAG*
CCTFLAGs field for CSB.
CCTBCB
Address of vector to this line's ACB.
16(10)
18(12)
CCTSCNT
CCTCHAR
Field to accumulate status byte
count.
Count of the number of buffer loca·
tions remaining in the current
buffer.
20(14)
22(16)
CCTDCNT
CCTENOl
Fiel.d to accumulate data count.
Line status for queuing.
2411S)
CCTOATA
_
•
~
_
CCTBFSZO
~
~ddress
Number of bytes in
full trace buffer.
of the next diagnostic unit to be stored.
-I
2S11C)
CCTSTART
-
-
_ rOinter to the beginning of the current buffer.
CCTRTT*
Line type
Data Area Layouts
117
LTCB
(NCP#)
32(20)
34(22)
CCTITIME
CCTEPBAR
Initial value of interval
BAR for EP line.
timer field for line trace.
36(24)
CCTHDBUF
.
_----
-----.
Pointer to first buffer in current chain .
CCTBFMAX
Maximum number
of buffers to be
filled before
transferring
diagnostic units
to the host.
40(28)
CCTL3
Address of level 3 copy routine
44(2C)
42(2A)
CCTCUT
Buffer limit per
line trace block.
43(28)
CCTMAXBF
Maximum number of
buffers per BTU on
channel.
46(2E)
CCTSAVE
Save link address.
48(30)
CCTCTL
Control flags. Must always equal zero.
50(32)
CCTESTAT
Expected ending status.
CCTCHRl
Number of buffer locations
remaining in the buffer during copy.
52(34)
CCTDATAl
Contains the address of the next data position when control
is passed to the copy routine.
56(38)
CCTSTRTl
Pointer to the current copy buffer.
60(3C)
CCTDDATA
Save field for the pointer to the current data character to be copied
during transfer of buffers because of buffer cutoff.
64(40)
CCTDSTRT
Save field which contains the current data buffer pointer during
transfer of buffers.
68(44)
CCTDSAVE
Data pointer save field during transfer of buffers.
··-·ccTficHR---Save field which
contains the
residual data
count during
transfer.
*Indicates a byte expansion follows.
118
3704 and 3705 Program Reference Handbook
LTCB
INCP#I
Byte Expansion
Offset/Field Name
Bit Pattern/
Hex Value
141EI
CCTFLAG
Contents
CCTFLAGs field for a type 3 scanner
during copy.
x •..
l=Receive
O=Transmit
.x ..
l=BSC
O=SDLC
l=Branch and link from C}:<BCOPY3
••• X
•..• x ...
O=Not
l=Currently processing insert function
O=Not
l=Leading Graphics transmitted
O=Not
.x ..
..x.
... x
l=Buffer request for BCC store
O=No buffer store request
1=Level3 copy active
O=Not active
l=ITB received (Adjust for BCC)
O=Not ITB
2BllCI
CCTRTI
X'OO'
X'BO'
X'CO'
Line type
Half.cfuplex
Duplex
Duplex·transmit leg
Data Area Layouts
119
LINE TEST CONTROL BLOCK
LTS
INCP1,2)
Program: NCP1, NCP2
Size in bytes: 36(24)
Created by: NCP generation.
Pointer to LTS: Located at CXTLTS in CXSGMISC.
Function: Contains control information for panel test operations.
W)
O{O)
LTSCTL'
2(2)
LTSPDSYN
PAD orSYN
Control byte.
character for
this line.
4(4)
3(3)
LTSXTPCF
LTSMSDF
The system gen·
erated Set Mode
SDF.
The system
generated LCD
value.
6(6)
LTSLNAD
LTSSVL2
The line address of the line being
tested.
The saved CCBL2 for the line being
tested.
SIS)
LTSDIALL
Buffer for non X'FF' receive data characters or autocall dial digits.
116 bytes)
2411S)
2611A)
DLiMETER
DIGCNTR
Counter for non X'FF' data characters
Counter for autocall dial digits and
receive data characters.
when receiving.
2S11C)
3011E)
LTSACLN
LTSL2
Autocall line address.
Address of entry point for level 2
interrupt.
34(22)
32(20)
ALLONES
Constant of all ones.
LTSSVL3
Saved level 3 address used in a
dial operation.
*lndlcates a byte expansion follows.
Byte Expansions
Offset/Field Name
Bit Pattern/
Hex Value
O{O)
LTSCTL
1 .••
Control field.
.x ..
.. 1.
... 1
.•• •(x .••
.... ... 1
120
Contents
Line is initialized.
1 = duplex
0= half d·uplex
Autocallline .
Monitor.ring-indicator is installed .
1 = Command has not ended .
0= Command has ended.
Emulation line .
3704 and 3705 Program Reference Handbook
LINE TEST CONTROL BLOCK
LTS
(NCP#)
Program: NCP#
Size in bytes: 56(38)
Created by: NCP generation.
Pointer to LTS: Located at CXTLTS in CXSGMISC.
Function: Contains control information for line test operations.
0(0)
LTSCTL'
Control byte 1.
1(1)
LTSPOSYN
PAD or SYN character for this line.
2(2)
3(3)
LTSSTMD
The system
generated Set
Mode SDF.
4(4)
LTSLCD
The system
generated
LeB value.
6(6)
LTSXLAD
LTSRLAD
Duplex, receive-line address.
The line address of the line being tested.
8(8)
LTSRDATP'"
Receive buffer address.
LTSDIALL
Buffer for receive data characters or auto-call dial digits.
(16 bytes)
26(lA)
24(18)
LTSNFCNT"
LTSOCNT
Count for nonX'FF' data
Counter for non X'OO' data
characters when receiving.
characters when receiving.
28(lC)
LTSERCNT
SD LC receive error counter.
Reserved**·
30(lE)
31(lF)
LTSTURN
LTSDCNT
Counter for auto-call
Transmit turn
dial digits and receive
LCD/PCF.
32(20)
data characters.
34(22)
LTSACLN
Auto-call line address.
36(24)
LTSXL2
Transmit level 2 pointer.
38(26)
LTSRL2
LTSDATAP
Receive level 2 pointer.
40(28)
LTSRCCI
Rcv. compare
character 1
44(2C)
LTSWAP2
Transmit
swap buffer 1
48(30)
LTSXCNTl
41(29)
LTSRCC2
Rcv. compare
character 2
45(2D)
LTSXENDO
Buffer 0
residual transmit
count
49(31)
LTSRCVMD'
Buffer 1
total transmit
count
Receive
options
52(34)
.-,.".'"'1",."""", .-.
LTSBUFSV'"
LTSNLCHR"
Transmit buffer pointer.
42(2A)
LTSRCC3
43(2B)
LTSWAPI
Rcv. compare
character 3
46(2E)
LTSXCNTO
Transmit swap
buffer 0
compare
character
47(2F)
LTSXENDl
Buffer 0 total
transmit count
Buffer 1
residual transmit
count
50(32)
LTSBCC
Received BCC characters
54(36)
LTSCTL2'
Reserved
Contro I byte 2
53(35)
LTSLCHR"
Next to last
Last received
ReV character
character
*Indicates a byte expansion follows.
**Type 2 communication scanner only
***Type 3 communication scanner only
Data Area Layouts
121
LTS
(NCP#)
Byte Expansions
Bit Pattern!
Offset/Field Name
0(0)
tTSCTL
Hex Value
x ...
. x •.
.. x.
.. .x
. ... x ...
.x._
1-S0LC
O-Not SOLC
.. x.
1=CCBL2 is set-up .
O=CCBL2 is not set-up.
1=EP line .
O=NCP line.
•• •X
49(31)
LTSRCVMO
xxx. _. _.
...x ....
.... x ...
. 1 ..
.. 1.
... 1
54(36)
LTSCTL2
x .•.
.x ..
.. x _
••• X
122
Contents
Control byte:
l=lnitialized.
O=Not initialized.
1=Command has not ended .
O=Command has ended.
1=Auto call .
O=No auto call.
1=Monitor-ring-indicator.
O=No monitor-ring-indicator.
1=Ouplex adapter .
O=Half-duplex adapter.
( Reserved I.
1=Two character compare on receive .
O=One character compare.
(Reserved)
Modem test active .
BSC BeC accumulation on ReV .
SOLC Bec accumulation on ReV .
Control byte 2
1=Line on type 3 scanner
0= Line not on type 3 scanner
1=New sync
O=No new sync
1-NRZI mode
O=Non NRZI mode
1=Scan received data
O=No scan
(Modem test, only)
3704 and 3705 Program Reference Handbook
LUB
LOGICAL UNIT CONTROL BLOCK
Program: NCP#
Size in bytes: 53(35)
Created by: NCP generation lU macro.
Pointer to LUB: RVT (leased link), LUV (switched link)
Function: Provides aCBs, status, and control information for a logical unit.
LU/SSCP Process Queue Control Block *
0(0)
212)
LULLECB
LULlECB
Pointer to first element queued
(Shifted address).
4(4)
LULSTAT'
Task and queue
1 5(5)LULPRKEY'
Pointer 10 last element queued
(Shifted address!'
6(6)
LULLINK
Pointer to next aCB on the queue
(Shifted address).
aCB 10 flag and
task protect key.
status.
....... r
8(8)
LULMCBD
Major control
block displacement.
LULTSKEP
Task entry point I Last 18 bits) .
LULSCHED
Task dispatching
priority.
12(C)
14(E)
LULSAVE
Address of save area pushdown
list (Shifted address!'
LULLUNK
Pointer to previous aCB on queue
(Shifted address).
APPL!LU Process Queue Control Block *
16(10)
lB(12)
LUA1ECB
Pointer to first element queued
(Shifted address).
20114)
LUASTAT
Task and queue
status.
24(18)
1
21(15
LUAPRKEY
GCB) ID flag and
task protect key.
....... r
LUALECB
Pointer to last element queued
(Shifted address).
22116)
LUALINK
Pointer to next aCB on the queue
(Shifted address).
LUATSKEP
Task entry point (Last 18 bits) .
LUAMCBO
LUASCHED
Major control
Task dispatching
block displacement.
priority.
28(lC)
LUASAVE
Address of save area pushdown list
(Shifted address).
30(lE)
LUALUNK
Pointer to previous ace on queue
(Shifted address).
*See ace for Input Queues for all bit definitions.
Data Area Layouts
123
LUB
32(20)
LUBCUB
Address of Common Physical Unit B)ock (CUB)
(Last 18 bits)
LUBCSTAT
Reserved.
1
36(24)
38(26)
LUBNALU
Network address of this logical unit.
40(28)
LUBCPSET'
Session control
pri mary status.
41(29)
LUBCSSET'
Session Control
secondary status.
45(2D)
LUBASSET'
44(2C)
LUBAPSET'
Application primary Applicationsecondary
status.
status.
48(30)
LUBPC
Pacing count.
.
LUBTCNT
Transmission counter,
42(2A)
LUBNAPL
Network address of application
cUifently in session
46(2E)
LUBM
Pacing
/47(2F)
LUBN
Pacing
parameter M.
parameter N.
49(31)
LUBLALU
Local address of
logical unit .
IndIcates a byte expanSion follows.
Terminal Node (type 1 PU) Extension
The following seven halfwords are for terminal node
sequence number management.
50(32)
LUBAOSLU
SSCP·LU expedited
outbound identification.
52(34)
54(36)
LUBSOSLU
SSCP·LU normal
outbound identification.
56(38)
LUBAOLLU
LU-LU expedited
outbound identification.
58(3A)
LU-LU normal
inbound sequence number.
60(3C)
124
LUBSOLLC
LU-LU normal
outbound check.
62(3E)
LUBSOLLS
LUBIDGN
LU-LU normal
outbound save.
Identification number
gen.
3704 and 3705 Program Reference Handbook
LUB
Byte Expansions
Offset/Field Name
Bit Pattern!
Hex Value
401281
LUBCPSET
Contents
SCP primary status:
1.
. 1.
... 1
1 ...
411291
Session established.
Exception condition exists .
Processing Activate Logical.
Processing Deactivate Logical.
SCP secondary status:
LU8CSSET
Processing Clear.
4412CI
Application primary status:
Session established.
Exception condition exists.
Processing Bind .
Processing Unbind .
so Le/SSC path function. (LUS-4
contains the address of the SPS)
LUBAPSET
1 ..
,1.
.1
... 1.
. . . . . 1 ..
4512DI
LUBASSET
Application secondary status:
x ...
l=Processing Clear.
Q=Not processing.
l=Awaiting pacing from LU .
O=not waiting.
l=Pace required by host .
O=not required.
Null SB PIU pending .
.x.
• •X •
... 1
1 ...
INB
. 1 ..
.. 1.
SB PI Upending .
PS I 0 pending .
Bracket state management mode .
... 1
Data Area Layouts
125
LOGICAL UNIT VECTOR TABLE (LUV'
LUV
Program: NCP#
Size in bytes: One 4·byte entry for each logical unit that can be assigned to a switched
SOLe link (specified at NCP generation).
Created by: NCP generation.
Pointer to LUV: CUBLUB field in CUB.
Function: Used to locate the logical unit control blocks (LUBs) that are assigned to a
switched SOle link.
LUV Entry
0(0)
LUVLUB
. , .•.
P?i~te~ t? ~U1B. (Last 18 bits'
1(1)
LUVLA
LUVFLGS'
Status flags.
IOQical unit.
*Indicates a byte expansion follows.
Local address of
Byte Expansions
Bit Patternl
Offset/Field Name
Hex Value
1(1)
LUVFLGS
126
1. ..
. 1 ..
Contents
LUV status flags.
Last entry in LUV.
Entry in use•
3704 and 3705 Program Reference Handbook
LINK XIO CONTROL BLOCK
LXB
Program: NCP#
Size in bytes: 36(24)
Created by: NCP Generation
Pointer to LXB: By LKBACBP field in LKB
Function: Contains the status of SOLe link operations
0(0)
LXBIMCTL'
1(1)
LXBCMANO'
I/O command.
2(2)
SIS)
6(6)
LXBSTAT'
Command ending
status field.
Immediate control
LXBCMOOS'
Command modifiers field.
command flags.
4(4)
LXBEXTST*
LXBRBLUC
Extended
error status.
Received BLU
command field.
9(9)
8(8)
LXBEREST
LXBRTYCT
ERP retry count.
First error
extended status.
see LXBEXTST.
10(A)
LXBERST
First error status.
7(7)
LXBSTATC'
Completion code
byte of status.
I1(B)
LXBHSTAT
Hold SOLe status.
Set upon first
recoverable error.
- - - - - -- -
or
LXBLTSM
SCF mask field. (when OLlTis activel.
12(C)
14(E)
LXBOATAP
Space for OLTTIOB/XIO commands.
or
LXBAEXP
Address expected
in response
-
-
-
-
I
Pointer to first buffer of data
- -
-
-
18(12)
- --
LXBFNLPT
Final buffer pointer.
- -or - -
LX8POLLT
Poll Cycle start time
- - -
- or- - -
-
LX81NPUT
Input control-data pointer to
command reject (CMDR) data received.
- -
or
LX8LTL2
Secondary CCBL2 (when OLLT active).
-
LX8LTCT
Transmit or Receive count (OLL n.
20(14)
LX8QOFF
L2/L3 block overrun queue
he..ad pointer.
- -
-
-- - -
-
p~6~)
--
-
-
-
-
-
LX8QON
L2/L3 block overrun queue
tail painter.
- - - - -
-
LX8LK8P
Pointer to line/link control block.
(shifted address).
- -
22(16)
Space for OLTT IOB/XIO commands
-------or
LXBLTLAB
Pointer to lookahead buffer (OLlTLAB)
-
24(18)
.
- - - - - - -
or
LXBTC8PT
Pointer to OLlT control block.
16(10)
-
received.
or
LXBSTYPE
Station polled
CUB/SGB type field
- - - -
26(IA)
LSB8KSIZ
Received block size
(number of data characters stored) .
Indicates a byte expansion follows.
Data Area Layouts
127
lXB
28(lC)
lXBPOll
Pointer to current SOT entry being polled.
(Half-duplex and duplex receive leg, primary stations only.)
30(lE)
lXBCPCMD
Contact poll
command executed.
or
lXBRACBP
Pointer to receive leg of a
duplex link (transmit leg only),
32(20)
LXBSEL
Output SOT pointer-pointer to current station
that I format data was sent to (primary stations only).
34(22)
or
lXBCPOll
Contact poll offset
into SOT.
LXBXACBP
Pointer to transmit leg of a
duplex link (Receive leg only).
Byte Expansions
Bit Pattern!
Offset/Field Name
Hex Value
Contents
X'80'
Reset Immediate issued.
0(0)
Immediate control command flags:
LXBIMCTL
Set Mode Commands (for idle or busy
lines):
X'04'
Read line type.
X'06'
X'lO'
X'12'
Set text error retry limit.
Set receive buffer cutoff factor.
Start line trace.
X'14'
X'18'
X'lA'
Stop line trace.
Set operation link.
Reset operational link.
Set Mode Commands (idle lines only):
X'05'
X'07'
1(1)
LXB command:
LX8CMAND
2(2)
LXBCMOOS
No lID occurred
X'OO'
X'S3'
X'SD'
X'SF'
X'30'
X'32'
Disable.
Enable.
Dial.
Run SDLC link.
Run Initial (remote NCP)
Byte 0
Command modifiers:
.x . . . . . .
128
Set line adapter interface parameters.
Set line control procedure.
1 =Suppress ending a new command due
to outstanding status.
O=lmmediate end to new command
when status is outstanding.
l=No retry .
O=Retry.
3704 and 3705 Program Reference Handbook
lXB
Bit Pattern!
Offset/Field Name
He~Value
.. ,x ....
Contents
l-Immediate retry if errors while normal
polling.
.•.. .•. x
O==lf errors, retry at next normal poll
cycle.
1==00 not release transmitted buffers .
O=Release transmitted buffers after ACK.
Byte 1
x ...
1=Perform command reset step first.
O",Normal command execution.
x ... ... .
l=Overrun.
.... x ...
l=Btock overrun occurred .
4(41
lXBEXTST
Extended error status.
O=normal.
O=No block overrun occurred.
.. 1 .
.... ... 1
Abort received .
Monitor count overflow. (If more than 64
t~mporary
lXBSTAT
station errors occur.)
Status equates:
6(61
Extended error status.
Format exception {invalid SOLe formatl.
Sync check .
Block data check error .
SOLe poll/final bit.
1 ...
.1.
.. 1.
... 1
Run command error exception phase field:
.... 000.
.... 001.
010.
all.
100.
101.
110.
111.
No errors .
Poll type is 'R R' .
Poll type is 'RNR'.
Poll type is 'NS'.
Command not executed because of
outstanding status.
Error while sending text (I·format).
Error while sending normal polling or
response (S-formatJ.
Error while sending NS control sequence.
Completion code first status byte:
7(71
lXBSTATC
Normal final status: control information
received in I or S·format.
Normal final status: data received in
I·format.
Normal final status: data received in
NS·format.
Special 0 final status.
Special 1 SOLC final status.
Hardware error.
000.
001.
all.
100.
101.
111.
Normal final status{bits 0·2=000,001,011)
... 0
... 0
... 0
... 0
... 0
... 1
.1
. .. 1
000.
001 .
010.
110 .
111.
010.
110.
111.
Time-out (something received).
SO LC command reject.
Buffer cutoff.
Partial ACK (RR) or negative ACK .
Reject received.
End of block (I-format) .
Positive ACK (RR).
Wait ACK (RNRI .
Data Area Layouts
129
LXB
Offset/Field Name
Bit Pattern!
Hex Value
Contents
100.
Special 0 final status (special status or
control information received in NS format):
.. .0
.. . 0
•..0
.. .0
... 0
000.
001 .
010.
110.
111 .
... 1 110.
... 1 Ill.
101.
.. .0
.. .0
... 0
.•. 0
...0
...0
000 .
001 .
010 .
011.
100.
110.
... 1
... 1
... 1
... 1
000.
001 .
all .
100.
... 1 110.
... 1 111.
111.
. .. 0 000.
130
Timeout (nothing received).
Command reject.
Buffer pool depleted.
Reset.
Invalid address received in BLU from
secondary,
Disabled.
Enabled.
Special 1 SOLe final status (control
information received in 5 or I format):
Timeout with only flags received.
Received invalid command.
Received invalid N tR) in I or 5 format.
: Link acti!i~ time-out. (Secondary only) .
Received DISC:
Received RQI. (This bit configuration
also represents 81M in CCBSTAT1.)
Record statistics.
Received SNRM.
Received RO L.
Received 81M. (51M is represented by
... 0 110. in CCBSTAT1.)
Received non-sequenced ACK SO LC
response.
'Received non-sequenced XIO SOLe
response.
Hardware/user error final status:
User Error - MTA unique .
1. Code and terminal have been identified.
but user has not defined them "as part
of the MTA line.
2. User has supplied invalid LCST parameter. such as non-existant line speed.
... 0 010.
Communication Scanner Check - not
currently in use.
... 0 100.
Adapter Check 1. Timer has detected no level 2 interrupt
when at least one was expected.
2. Modem self-test failed to get a level 2
interrupt after placing the PCF in
turnaround.
3. Enable or dial failed to get a level 2
interrupt after setting the PCF to set
mode.
... 0101.
Adapter Feedback Check1. TImer detects an lCOof X'F'. which
results from a hardware-detected error
within the adapter.
2. Improper SYSGEN about the adapter
in use.
3. Stop bit error on a SSC line.
3704 and 3705 Program Reference Handbook
Bit Pattern!
OffsetlField Name
Hex Value
Contents
... 0 110.
Equipment Check - not currently in use .
... 1 000.
Modem error - Set when the SCF modem
error bit is on.
1. Occurs when DSR drops during a transmit or receive operation.
2. Can be set by the timer.
3: Set if CTS drops while transmitting .
... 1 001.
Transmit Clock or CTS Failure1. During enable or write control
operation, a Lelfel 2 in~erruPt failed to
follow line turnaround.
2. During enable on a full duplex line.
CTS failed to come up.
3. Time-out occurs with PCF of transmit
initial (8) .
... 1 010.
DSR Turn On Check - DSR fails to come
up during an enable or dial operation .
... 1 100.
DSR Turn Off Check - DSR fails to drop
during a disable operation .
... 1 110.
Auto call check 1. Initial dial PCF 'F' sees AeR. DLD.
COS, or PN a up.
2. Dial PCF '4' sees ACR, COS, or PND up.
1111 1111
Program Failure 1. Line I/O code completed in an
impossible status, le.g. ENQ on SIS
line)
2. A negative data length was computed.
•.••
Poll/final bit.
. .. x
Data Area Layouts
131
OLLTCB
or<LINE LINE TEST CONTROL BLOCK
Program: NCP#
Size in bytes: 48(30)
Created by: Specification of OLT at NCP generation and the receipt of a test line or
test line and disconnect command (block is built in a leased bufferl.
Pointer to OLLTCB: OQBOLL field in OlLTQCB.
Function: Contains current information on the operation of an online line test.
0(0)
2(2)
OLLTRXCT
Residual transmit character count.
4(4)
OLLTCCT
Receive character compare count.
6(6)
OLLTRRCT
Residual receive character count.
OLLTNCCT
Receive character non-compare count.
8(8)
-
OLLTFLGS
Flag field.
OLLTDICW
Dial SDF/PDF return if error.
-r
DLLTDRCT
Dial residual
count if error.
15(F)
OLLTCMFG"
Special communications flag.
Remainder of flag field.
18(12)
16(10)
OLLTlCW1
ICWl contents at completion
of level 2 command.
OLLTICW2
ICW2 contents at completion
of level 2 command.
22(16)
20(14)
OLLTSYSF"
OllT System flags.
OLLTICW3
ICW3 contents at completion
of level 2 command.
26(1A)
24(18)
OLLTCCRA
Current command relative address.
28(1C)
OLLTECRA
Failing command relative address.
30(1E)
OLLTECBA
Error command branch relative address.
OLLTCCSA
Current command start address.
34(22)
32(20)
OLLTFBAD
OllT first buffer address.
OLLTQCBA
OCB control block address.
36(24)
OLLTCCBA
Current command buffer address.
40(28)
OLLTLKBA
Pointer to lKB/lCB.
44(2C)
.
OLLTWRK
Work area for level 5 .
IndIcates a byte expansIOn follows.
132
3704 and 3705 Program Reference Handbook
OLLTCB
Byte Expansions
Offset/Field Name
15(F)
OLLTCMFG
22(16)
OLLTSYSF
Bit Pattern/
Hex Value
Contents
X'OS'
X'04'
X'02'
Dial command active.
Set time delay active.
Transmit on count active.
Byte 0
OLLT system flags:
1 ...
No level 2 interrupt occurred
before time-out.
SCF mask error was detected during
level 2 interrupt.
A miscellaneous error was detected
in level 2.
Halfword compare error .
Scanner interlock error.
Post unsuccessful.
Dial ACR error .
Dial ACU error .
.1 ..
.. 1 .
. ,.1,
1 ...
,1 ..
.. 1,
... 1
Byte 1
1 ...
.1 ..
.. 1.
.. . 1
1 ...
. x ..
.. 1 .
... 1
Character compare halfword (0 LLTCCT)
has overflowed.
Character non·compare halfword
(OLLTNCCT) has overflowed.
Count went to zero on a receive
SO LC command.
Abort condition detected .
Abort sequence in progress.
Linellink test .
O==SD LC link test.
l=BSC/SS line test.
Wait state .
Reset command received.
Data Area Layouts
133
ONLINE LINE TEST LOOKAHEAD BUFFER
OLLTLAB
Program: NCP#
Size in bytes: Variable.
Created by: NCP upon receipt of a Test Line or Test Line with
Disconnect command.
Pointer to OLLTLAB: lXBLTLAB field in ACB.
Function; Temporarily holds consecutive I/O interpretive commands
for lookahead decode. The commands are:
• Transmit Character and Turn
• Transmit on Count
• Receive SOLe
• Receive and Compare
• Receive and Count
0(0)
2(2)
1
Buffer chain pointer.
Offset to next
command to be
executed.
13(3)
Flags·
4(4)
OLLT 110 interpretive commands.
(3
maximuml
*Indicates a byte expansion follows.
Byte Expansion
Offset/Field Name
3(3)
Bit Pattern!
Hex Value
Flags
(No name)
1 ...
.1 ..
.. 1.
... 1
134
Contents
Transmit on Count phase 1 complete.
Transmit Turn phase 1 complete .
Receive phase 1 complete .
Receive and compare active or no buffer
available in level 3.
3704 and 3705 Program Reference Handbook
ONLINE liNE TEST OCB CONTROL BLOCK
OllTOCB
Program: NCP#
Size in bytes: 24(18) for half-duplex lines.
48(30) for duplex lines.
Pointer to OLLTOCB: OLLTQCBA field in OlLT control block.
Function: "contains aCBs for OLLT routines (two identical aCBs for
duplex operation).
See aCB for Input Queues for all bit definitions
0(01
2(21
OCB1ECB
OCBlECB
Pointer to first element ql!eued.
(Shifted address)
Pointer to last element queued.
(Shifted addressl
4(41
OCBSTAT"
5
1 (51OCBPRKEY'
Task and queue
aCB ID flag and
status.
task protect key.
8(81
6(61
OCBLlNK
Pointer to next ace on the queue.
(Shifted address)
r----
OCBTSKEP
Task entry point (last 18 bits).
OCBMCBD
Major control
block displacement.
9(91
OCBSCHED'
Task d.isp~tching
priority.
14(E)
12(CI
OCBSAVE
OCBlUNK
Address of save area push-down
list. (Shifted address)
Pointer to previous aCB on the queue.
(Shifted address)
16(10)
18(12)
OOBACB
Reserved.
Pointer to ACB.
20(14)
.
Indicates a byte expansion occurs
OOBOll
Pointer to OLLT .
the QCB for Input Queues.
In
, - - - - - - - - - - - - ----------- - - ---1
)
I
I
I
II
Identical aCB for duplex operation.
II
I
I
I
I
IL _________________________ lI
Data Area Layouts
135
OLITCB
ONLINE TERMINAL TEST CONTROL BLOCK
Program: NCP
Size in bytes: 37(25)
Located in: Dynamically allocated buffer.
Created: When a BTU Test command is received.
Pointer to OLTT: DVBSDRT field in OVB when in online test mode.
Function: Contains status flags and counters from diagnostic lID operations.
0(0)
OLTCTRS
Counters
8(8)
OLTFLGS
Flags. (This field can also be used for counters.)
18(12)
OLTEXST
16(10)
OLTSTAT
Status field (same as IOBSTAT).
19(13)
(Reserved).
Extended status
field (same as
IOBEXTST).
20(14)
OLTPHER
21(15)
OLTFSTS
Phase error-
First status·
converted.
converted.
24(18)
22(16)
OLTFNLS
Final status - converted.
26(lA)
OLTTEMP
OLTCCMAD
Current relative command address.
Temporary halfword work area.
30(lE)
28(lC)
OLTFBAD
Address of first BCU buffer
OLTLCBAD
LeB address. (Shifted address)
(Shifted address)
32(20)
OLTCBAD
Current command buffer address (last 18 bits).
OLTCBOF
Offset into current
buffer.
36(24)
OLTXFER
Maximum buffers
in Read subblock.
136
3704 and 3705 Program Reference Handbook
PCB
PANEL CONTROL BLOCK
Program: NCP
Size in bytes: 24(18)
Created by: NCP generation.
Pointer to PCB: SYSPDBP field in HWE.
Function: Provides an area through which information is passed between modules
supporting control panel operation.
Notes: This control block is required to be tailored for a specific machine. It requires
the following information:
• Type of channel adapter installed .
• Type of communication scanner installed.
The channel adapter and communication scanner type information is used to generate
the invalid external register address ranges for input. This information is used to verify
external register addresses entered into the dynamic register display and address trace routines in order to avoid input/output instruction checks.
The invalid external register ranges follow the PCB in storage.
0(0)
PCBAOSW
Value of the ADDRESS/DATA switches (last 18 bits).
PCBCTL
Control byte:
used as interface with level 3
panel service
module.
4(4)
616)
PCBFNSW
Value of the DISPLAY/FUNCTION
SELECT switch.
1 7 (7)PCB02CTL
PCBD1CTL
Display 1 can·
trol byte.
Display 2 control
byte.
818)
PCBDIAD
Display 1 address (last 18 bits).
- PCBFUNCE
- - - - -I
Function exten·
sion control
byte.
121C)
PCB02AD
Display 2 address (last 18 bits).
- PCBAPNSL
- - - - -I
Display append·
age select byte.
16(10)
18(12)
PCBICPAD
Panel request intercept address.
(Always shifted regardless of
storage size.)
20(14)
PCBICWO
Current ICW address with bit 38 on.
22116)
PCBICWN
(Reserved).
New lew address· request for
data set lead display.
Data Area Layouts
137
PCF
PCF STATE VECTOR TABLE
(Type 1 Scanner only)
'Program: PEP. EP
Size in bytes: 128(BF)
Located in: Module CYANUC (EP). $LVL2 (NCP)
Created by: NCP and EP generation.
Pointer to PCF State Vector Table: BCBVCT field in BCB
Referenced by: CYABITlO(EPI. CYABIT20(EPI. CYABIT30(EP). CXBBTSV(NCP).
Function: Provides address pointers to bit service routines.
Note: Offsets are shown within each table. The actual offset will be determined by the
location of the table within the link edit map.
Start/Stop
0(0)
2(2)
CYANOOPX(EP)
CXBBTSV2(NCP)
Address pointer to PCF 0 - No-cp.
4(4)
6(6)
CYABPCF2(EP)
CXBBTSV4(NCP)
Address pointer to PCF 2 - Monitor DSR.
CYAPCF3(EP)
CXBBTSV5(NCP)
Address pointer to PCF 3 - Monitor
RI/OSR.
10(A)
B(B)
CYAPCF45(EP)
CXBBTSV6(NCP)
Address pointer to Monitor Phase.
CYAPCF45(EP)
CXBBTSV6(NCP)
Address pointer to Monitor Phase.
14(E)
12(C)
CYANOOPX(EP)
CXBBTSV2(NCP)
Undefined for start-stop.
CYASRCVT(EP)
CXBBTSVO(NCP)
Address pointer to PCF 7 - Receive.
18(12)
16(101
CYASPCF8(EP)
CXBBTSV7(NCP)
Address pointer to PCF 8· Transmit
Initial.
20(14)
CYAXSSTT(EP)
CXBBTSVB(NCP)
Address pointer to PCF 9 - Transmit
Normal.
22(16)
CYASPCFA(EP)
CXBBTSVA(NCP)
Address pointer to PCF A - Transmit
Break.
CYASPCFB(EP)
CXBBTSV8(NCP)
Address pointer to PCF B - Prepare
to turn.
26(IA)
24(18)
CYASPCFC(EP)
CXBBTSV9(NCP)
Address pointer to PCF C - Transmit
Turn. RTS Off.
28(IC)
CYASPCFO(EP)
CXBBTSVH(NCP)
Address pointer to PCF D - Transmit
Turn, RTS on.
30(IE)
CYANOOPX(EP)
CXBBTSV2(NCP)
Undefined for start-stop.
138
CYAMPCF HEP)
CXBBTSV3(NCP)
Address pointer to PCF 1 - Set Mode.
CYAMPCFF(EP)
CXBBTSVI(NCP)
Address pointer to PCF F - Disable.
3704 and 3705 Program Reference Handbook
peF
SOLe
0(0)
2(2)
CXBBTSV2
CXBBTSV3
Address pointer to PCF 1 -
Address pointer to PCF 0 No..ap
4(4)
Set Mode
6(6)
CXBBTSV4
CXBBTSV5
Address pointer to PCF 2 -
Address pointer to PCF 3 -
Monitor DSR
S(S)
Monitor RJlDSR
10(A)
CXBBTSVP
CXBBTSVP
Address pointer to Monitor
Phase (flags)
Address pointer to Monitor
Phase - Allow DSR error (flags)
12(C)
14(E)
CXBBTSVQ
CXBBTSVR
Address pointer to Receive
Data - PCF 7
Address pointer to Receive
Flags - No interrupt
16(10)
lS(12)
CXBBTSVS
Address pointer to PCF 8 -
CXBBTSVT
Address pointer to PCF 9 -
Transmit Initial
20(14)
Transmit Normal
22(16)
CXBBTSVU
Address pointer to PCF A Transmit new sync
24(lS)
CXBBTSV2
Undefined for SDLe
(No-op)
26(lA)
CXBBTSV9
Address pointer to PCF C Transmit Turn, RTS off
CXBBTSVV
Address pointer to PCF D -
Transmit data continuousNo interrupt
2S(lC)
30(lE)
CXBBTSV2
Undefined for SOLe
(No-op)
CXBBTSVI
Address pointer to PCF F Disable
Data Area Layouts
139
PCF
Binary Synchronous
D(D}
2(2}
CYANOOPX(EP}
CXBBTSV2(NCP}
Address pointer to PCF 0 - No-ap.
CYAMPCF HEP}
CXBBTSV3(NCP}
Address pointer to PCF 1 - Set Mode.
6(6}
4(4}
CYABPCF2(EP}
CKBBTSV4(NCP}
CYABPCF3(EP}
CXBBTSV5(NCP}
Address pointer to PCF 2 - Monitor DSR.
Address pointer to PCF 3 - Monitor
RI/DSR.
lOlA}
S(S}
CYAPCF45(EP}
CXBBTSV6(NCP}
Address pointer to PCF 4 - Monitor
Phase, DSR Check Off.
CYAPCF45(EP}
CXBBTSV6 (NCP)
Address pointer to PCF 5 - Monitor
Phase, DSR Check on.
l4(E}
l2(C}
CYANOOPX(EP}
CXBBTSV2(NCP}
CYARCDTA(EP}
CXBBTSVC(NCP}
Undefined.
Address pointer to PCF 7 - Receive.
lS(l2}
l6(1O}
CYABPCFS(EP}
CXBBTSVE(NCP}
Address pointer to PCF 8 - Transmit
Initial.
CYAXMDTA(EP}
CXBBTSVG(NCP}
Address pointer to PCF 9 - Transmit
Normal.
22(l6}
20(l4}
CYABPCFA(EP}
CXBBTSVF(NCP}
CYANOOPX(EP}
CXBBTSV2(NCP}
Undefined.
Address pointer to PCF A - Transmit
New Sync.
26(1A}
24(1S}
CYASPCFC(EP}
CXBBTSV9(NCP}
Address pointer to PCF C - Transmit
Turn. RTS Off.
Turn, RTS On.
3O(1E}
2S(1C}
CYANOOPX(EP}
CXBBTSVI (NCP)
Undefined,
140
CYASPCFD(EP}
CXBBTSVH(NCP}
Address pointer to PCF 0 - Transmit
CYAMPCFF(EP}
CXBBTSVI(NCP}
Address pointer to PCF F - Disable.
3704 and 3705 Program Reference Handbook
PCF
Dial
2(2)
0(0)
CYAOINOP(EP)
CXBBTSVJ(NCP)
Address pointer to peF 0 No-op_
4(4)
CYANOOPX(EP)
CXBBTSV2(NCP)
peF 1 undefined for Dial.
6(6)
CYANOOPX(EP)
CXBBTSV2(NCP)
peF 2 undefined for Dial.
CYANOOPX(EP)
CXBBTSV2(NCP)
peF 3 undefined for Dial.
B(B)
10(A)
CYAPCF04(EP)
CXBBTSVKINCP)
Address pointer to peF 4 - Monitor
CYAPCF05(EP)
CXBBTSVLINCP)
Address pointer to peF 5 . Monitor
Call Unit.
Call Unit.
12(C)
14(0)
CYANOOPX(EP)
CXBBTSV2INCP)
peF 6 undefined for Dial.
CYANOOPXIEP)
CXBBTSV2INCP)
peF 7 undefined for Di<ll.
16(10)
lB(12)
CYAPCFDBIEP)
CXBBTSVM(NCP)
Address pointer to peF 8 - Digit Valid.
20(14)
CYANOOPX(EP)
CXBBTSV2(NCP)
peF 9 undefined for Dial.
22(16)
CYANOOPX(EP)
CXBBTSV2INCP)
peF A undefined for Dial.
CYANOOPX(EP)
CXBBTSV(NCP)
peF B undefined for Dial.
26(lA)
24(18)
CYANOOPXIEP)
CXBBTSV2INCP)
peF C undefined for Dial.
2811C)
CYANOOPX(EP)
CXBBTSV2(NCP)
peF 0 undefined for Dial.
30(lE)
CYANOOPX(EP)
CXBBTSV2INCP)
peF E undefined for Dial.
CYAOPCFFIEP)
CXBBTSVN(NCP)
Address pointer to peF F - Disable.
Feedback Check
I
0·31(0·lF)
CYANOOPX(EP)
CXBBTSV2INCP)
Feedback check peFs are No-op.
Data Area Layouts
141
PATH INFORMATION UNIT (FIOO)
PIU
(FIDO)
Program: NCP#
Size in bytes: 34(22) plus variable length text.
Function! Basic unit of transmission in the TP network. The FIDO PIU is used for
requests directed to sse and start-stop devices.
Note: This PIU layout is as it appears in an NCP buffer. The basic PIU begins with the
transmission header.
Buffer Prefix
3(3)
2(2)
0(0)
UOBUFCHN
UOOFFSET
UOOATCNT
Buffer prefix chain field.
(Shifted address.)
Buffer prefix
data offset field.
Buffer prefix
data count field.
Event Control Block
4(4)
UOCSTAT
1 5 (5) UOESTAT
Block status flags.
I
6(6)
UOECHN
ECa chain pointer.
Event status flags.
lOlA)
8(81
UOTMINT
UOWOCB
aCB for waiting task.
Set time interval, as specified
by SETI ME macro.
or UOTCNT
I
or UOBLKNS
Hold area for blocks N(s).
PI UO text count.
12(CI
UIBlTYPE
'113(0)
UIBISTAT*
Equal to 1st byte of
destination RVT
UIB status
----------or
UIBLBBA (NCP#I
Last buffer of PIU address
Transmission Header
141E)
THOBO'
TH Byte 0
15(FI
Reserved.
181121
16(101
THOOAF
THOOAF
Destination network address.
Origin network address.
22116)
20(141
THOSNF
Sequence number.
Indicates a byte expansion follows.
142
I
3704 and 3705 Program Reference Handbook
THOOCF
Count (RH + RU).
PIU
(FIDO)
Request/Response Header (RH)
24(18)
RHOBO'
RH
Byte O.
25(19)
RHOB"
RH
Byte 1.
27(1B)
RHOPAO
26(IA)
RHOB2'
RH
FIOO pad between
RH and RU.
Bvte2.
(See Section 4)
Request/Response Unit (RU)
28(IC)
RUOCMO
BTU command.
(Refer to Section 3)
32(20)
RUOSRP
BTU system
29(10)
30(1 E)
RUOMOO
BTU command
modifier.
(Refer to Section 31
33(21)
RUOLRP
BTU extended
response.
response.
(Refer to Section 7)
(Refer to Section 7)
,
RUOFLG
BTU flags.
(Refer to BTU)
Text field.
(Variable length.~
Indicates a byte expanSion follows.
Offset/Field Name
13(0)
UIBOSTAT
14(E)
THOBO
Bit Patternl
Hex Value
Recurrent PIUlsensitive data indicator.
X'BO'
X'01'
X'02'
X'03'
X'04'
X'05'
X'OS'
X'O]"
Invalid DAF.
Unrecoverable path error.
Unrecoverable station error.
Invalid DCF.
Incomplete header.
Format error.
Auto network shutdown in progress,
Transmission header byte O.
..00
.•.• 01 ..
.... 10 ..
.... 11..
.... 00 ..
.... ... x
24(IB)
RHOBO
Contents
UIS status.
FIDO BSC/55 node .
Last segment .
First segment .
Only segment.
Middle segment.
l=Expedited flow .
O=Normal flow.
Request/response byte O.
x ...
.xx.
.x ..
l=Response.
O"'Request.
OO=FM data
}
01=Network control.
10=Data flow control.
11=Session control.
l=Formatted.
O=Unformatted.
l=Sense data included .
O=No sense data included.
.. 11
Only element .
.. 10
..01
.. 00
First element .
Last element.
Middle element .
)
( See
Section 4
Data Area Layouts
143
PIU
(FIDO)
Offset/Field Name
Bit Pattern/
Hex Value
25(19)
RHOBI
Request/response byte 1.
1 ...
.. 1.
... 1
. 1 ..
... 1
26(IA)
RHOB2
FME/DR1 requested/sent.
RRN/DR2 requested/sent .
Exception response requested/sent .
Reserved .
Pace .
RH byte 2.
1. ..
. 1 ..
.. 1.
.. ,. x .. ,
144
Contents
Begin bracket.
End bracket .
Change direction (HDX only),
Code selection indicator
Q-EBCDIC
I-ASCII
3704 and 3705 Program Reference Handbook
PATH INFORMATION UNIT (FI01)
PIU
(FI01)
Program: NCP#
Size in bytes: 36(24) plus variable length text.
Function: Basic unit of transmission in the TP network. The FIDl PIU is used for transmission between the host,local NCP, and remote NCP.
Note: This PIU layout is as it appears in an NCP buffer. The basic PIU begins with the
transmission header.
Buffer Prefix
0(0)
U1BUFCHN
Buffer prefix chain field.
(Shifted address.)
Event Control Block
I
4(4)
U1CSTAT
Block status flags.
15(5)
U1ESTAT"
Event status flags.
8(B)
I
6(6)
U1ECHN
ECB chain pointer.
1O(A)
U1TMINT
Set time interval, as specified
-
-
~Y S~TIM_E
ma.era.
-
or U1TCNT
U1WOCB
aCB for waiting task.
-
-
-
PIUl text count.
-
or U1BlKNS
Hold area for blocks N(s).
121C)
F/13IO)
UIB1TYPE
UIB1STAT'
.Equal to 1st byte of
UIS status
RVT
-ordestination
- - - - -
.
- -
UIBlBBA (NCP;'I)
Last buffer of PIU address
UReter to ECBESTAT field of the Event Control Block.
Transmission Header
14(E)
TH1BO'
TH byte O.
16(10)
I
15(F)
Reserved.
18(12)
TH1DAF
THlOAF
Destination network address.
Origin network address.
20(14)
22116)
TH1SNF
Sequence number.
TH10CF
Count (RH + RU).
Request/Response Header (RHJ
24(18)
RH1BO'
RH
ByteO.
25(19)
RH1Bl'
RH
Byte 1.
(See Section 4)
Indicates a byte expansion follows.
.
26(1A)
RH1B2'
RH
Byte 2.
Data Area Layouts
145
PIU
(FID1)
Request/Response Unit (RUI
27(1B)
RU1BTO
1st byte of prefix
for session
control FM requests.
(Refer to Section 41
- . -
-
~
.
or RU1RCO
Request code for
non session
control FM requests.
(Refer to Section 41
2B(1C)
RU1BT1
2nd byte of prefix
for session control
FM requests.
(Refer to Section 4)
29(10)
RU1RC2
Request code for
session control
FM requests.
(Refer to Section 41
32(20)
RU1WT'
race type indicator.
33(21)
RU1TM
Time field for
active trace
and record trace data.
30(1 E)
RU1NA
Network address for session control
FM requests.
34(22)
RU1SCA
Subchannel address
for EP line.
35(23)
RU1RTT'
Type of record trace
data req uest.
""'Indicates a byte expansIOn follows.
Byte Expansions
Offset/Field Name
13(D)
UIB 1STAT
Bit Pattern/
Hex Value
UIS status.
X'BO'
X'01'
X'02'
X'03'
X'04'
X'05'
X'06'
x'or
14(E)
TH1BO
Recurrent PIU.
Invalid OAF.
Unrecoverable path error.
Unrecoverable station error.
Invalid OCF.
Incomplete header.
Format error.
Auto network shutdown in progress.
Transmission header byte O.
. .01
..•. 01 ..
10 ..
11 ..
. 00.
24(18)
RH1BO
FlO 1 Intermediate node .
Last segment.
First segment.
Only segment .
Middle segment.
l=Primary to secondary flow.
O=Secondary to primary flow.
1=Expedited flow.
O=Normal flow.
Request/response byte O.
.xx.
.... x ...
146
Contents
l=Response.
O=Request.
OO=FM data
}
01=Network control
10=Oata flow control
11=Session control
l=Formatted .
O=Unformatted.
3704 and 3705 Program Reference Handbook
(See
)
Section 4
PIU
(FI01)
Bit Pattern!
Offset/Field Name
Hex Value
.x ..
.. 11
· .10
· .01
· .00
25(19)
RH1Bl
Last element.
Middle element.
FME/DR 1 requesled/sent.
RRN/DR2 requested/sent .
Exception response requested/sent .
. 1. .
Reserved .
..• 1
Pace .
RH byte 2.
Begin bracket.
1 ...
. 1 ..
.. 1.
0
•••
End bracket .
x ...
Change direction IHDX only),
Code selection indicator.
O=EBCDIC
l=ASCII
Trace type indicator:
32(20)
RU1WT
Only element .
First element.
Request/response byte 1.
1. ..
.. 1.
... 1
26(lA)
RH1B2
Contents
l=Sense data included."
Q=No sense data.
......xx
Type 2 scanner - 01
Type 3 scanner - 11
35(23)
RU1RTT
Type of Record Trace Data requested:
x ...
.x ..
· .01
· .10
1=Duplex.
O=Half<luplex .
Ifbit 1=1,
l=Transmit leg.
O=Receive leg.
This is not the last Record Trace Data
request.
This is the last Record Trace Data request
because a Deactivate Trace has been
· .11
I
received.
This is the last Record Trace Data request
because line Trace has been treminated
due to slowdown.
"See Section 8.
Data Area Layouts
141
PATH INFORMATION UNIT (FI02)
PIU
(FI02)
Program: NCP#
Size in bytes: 32(201 plus variable length text.
Function: Basic unit of transmission in the TP network. The FID2 PIU is used for
transmission between the NCP and the cluster control unit.
Note: This PIU layout is as it appears in the NCP buffer. The basic PIU begins with the
transmission header.
Buffer Prefix
0(0)
U2BUFCHN
Buffer prefix chain field.
(Shifted address.)
Event Control Block
4(4)
U2CSTAT
Block status flags.
15 (5)U2ESTAT
6(6)
U2ECHN
ECB chain pointer.
Event status flags.
10(A)
8(8)
U2WQCB
U2TMINT.
Set time interval as specified
ace for waiting task.
by SETIME macro.
or U2BLKNS
Hold area for blocks N(s)
or U2TCNT
PI U2 text mode.
12(C)
UIB2TYPE
Unused.
lJIB2STAT'
1 13(0
)
UIB status.
141E)
Alignment bytes.
16(10)
Alignment bytes.
Transmission Header
18(12)
TH2BO'
TH by teO.
1
20(14)
TH20AF
Destination
network address.
121(15)
TH20AF
Origin network
22(16)
TH2SNF
Sequence number field.
address.
Request/Response Header (RH)
24(18)
RH2BO'
RH
ByteO.
25(19)
RH2Bl'
RH
Byte 1.
(See Section 4)
-I n~ Icates a byte expansion follows.
148
19(13)
Reserved.
1
26(lA)
RH2B2'
RH
Byte 2.
3704 and 3705 Program Reference Handbook
PIU
(FID2)
Rcquest/Response Unit (RU)
27(lB)
RU2BTO
1 st byte of prefix
for session control
FM requests. (Refer
to Section 4)
"or RU1"RC"0 "
"
Request code for
non session control
FM requests. (Refer
to Section 4)
2B(lC)
RU2BTl
2nd byte of prefix
for session control
FM requests.
(Refer to Section 4)
29(10)
RU2RC2
Request code for
session control FM
requests. (Refer to
Section 4)
30(lE)
RU2NA
Network address for session control
FM requests.
Byte Expansions
Bit Pattern!
Offset/Field Name
13(D)
UIB2STAT
18(12)
TH280
Hex Value
X'BO'
X'Ol'
X'02'
X'03'
X'04'
X'05'
X'OS'
X'07'
Recurrent PIU.
Invalid DAF.
Unrecoverable path error.
Unrecoverable station error.
Invalid DCF.
Incomplete header.
Format error.
Auto network shutdown in progress.
Transmission header byte O.
. . 10
.... 01
10 ..
11 ..
00.
24(18)
RH2BO
F ID2 Cluster node .
Last segment.
First segment.
Only segment.
Middle segment.
l"'Primary to secondary flow.
O"'Secondary to primary flow.
l"'Expedited flow.
O"'Normal flow.
Request/response byte O.
l"'Response.
O"'Request.
OO~FM data
.XX.
.X •.
.. 11
· .10
· .01
· .00
I
Contents
Uis status.
}
01"'Network control.
lO"'"Oata flow control.
11 =Session control.
l=Formatted.
O=Unformatted.
l=Sense data included.*
O=No sense data.
Only element .
First element.
Last element.
Middle element.
(see
)
Section 4
*See Section 8.
Data Area Layouts
149
PIU
(FID2)
Offset/Field Name
Bit Pattern!
Hex Value
Contents
25(19}
RH2BI
I ...
.. 1.
... 1
. 1 ..
... 1
Pace .
RH byte 2
26(1A}
RH2B2
FME/DRl requested/sent.
RRN/OR2 requested/sent.
Exception response requested/sent .
Reserved .
I ...
. 1 ..
. .1.
.•.. x ..•
Begin bracket.
End bracket .
Change direction (HDX only) .
Code selection indicator .
Q=EBCDIC
I=ASCII
150
3704 and 3705 Program Reference Handbook
PIU
(FI03)
PATH INFORMATION UNIT
Program: NCP#
Size in bytes: 36(24) plus variable length text.
Function: Basic unit of transmission in the TP network. The FID3 PIU is used for
transmission between the NCP and a terminal node.
Note: This PIU layout is as it appears in an NCP buffer. The basic PIU begins with the
transmission header.
Buffer Prefix
0(0)
U3BUFCHN
Buffer prefix chain field.
(Shifted address.)
Event Control Block
4(4)
U3CSTAT
Block status flags.
15(5)
6(6)
U3ECHN
U3ESTAT
Event status flags.
ECB chain pointer.
10(A)
8(8)
U3WQCB
aCB for waiting task.
U3TMINT
Set time interval, as specified
by SETIME macro.
- ·or ·U3TCNT -
or U3BLKNS
Hold area for blacks N(s).
PI Ul text count.
12(C)
['3(0)
UIB3TYPE
UIB3STAT
Equal to lst byte of
UIB status.
destination RVT.
14(E)
Eight bytes for FID3 TH alignment.
Transmission Header
Request/Response Header (RHI
24(18)
RH3BO'
RH
Byte a
(See Section 4)
25(19)
RH3Bl'
RH
Byte 1
* Indicates a byte expansion follows.
26(1A)
RH3B2'
RH
Byte 2
Data Area Layouts
151
PIU
(FID3)
Request/Response Unit (RU)
27(IB)
RU3BTO
1st byte of prefix
farSCP·FM
requests.
(Refer to Section 4)
- -
- - - - -
ar RU1RCO
Request code for
nan SCP·FM
requests.
(Refer to Section 4)
2S(lC)
RU3BTl
2nd byte of prefix
farSCP·FM
requests.
(Refer to Section 4)
32(20)
RU3WT
Trace type indicator.
29(10)
RU3RC2
Request code for
SCP-F M requests.
(Refer to Section 4)
30(lE)
RU3NA
Network address for SCP-FM requests.
34(22)
33(211
RU3TM
RU3SCA
Subchannel address
Time field for
active trace
for EP line.
and record trace data.
35(23)
RU3RTT
Type of record trace
data request.
"'Indicates a byte expansion ~ollows.
Byte Expansions
Offset/Field Name
13(0)
UIB3STAT
22(lS)
TH3BO
Bit Pattern/
Hex Value
UIBstatus.
Recurrent PI U.
Invalid OAF.
Unrecoverable path error.
Unrecoverable station error.
Invalid OCF.
Incomplete header.
Format error.
Auto network shutdown in progress.
X'SO'
X'Ol'
X'02'
X'03'
X'04'
X'OS'
X'OS'
X'07'
Transmission header byte 0
.. 11
..•. 01 ..
.... 10 ..
.... 11. .
.. ,.00 ..
..x.
.... ...x
23(17)
TH30AOF
FID3 terminal node .
Last segment .
First segment.
Only segment .
Middle segment.
1=Primary to secondary flow .
O=Secondary to primary flow.
1=Expedited flow .
O=Normal flow.
Local session 10.
x ...
.x . .
. .xx xxxx
152
Contents
1=to/from lU.
O=ta/fram SSCP.
1=to/from logical unit .
O=to/from physical unit.
local address of station .
3704 and 3705 Program Reference Handbook
PIU
(FID3)
Bit Pattern!
Offset/Field Name
Hex Value
24(18)
RH3BO
.XX.
Contents
Request/response byte O.
l=Response.
O=Request.
OO=FM data
}
01 =Network control.
10=Oata flow control.
.... x ...
)
( See
Section 4
11=Session control.
l=Formatted .
O=Unformatted.
25(19)
RH3Bl
.x ..
l=Sense data included, *
O=No sense data.
.• 11
.. 10
. .01
. .00
Only element .
Request/response byte 1.
FMEIDRl requested/sent.
RRN/DR2 requested/sent .
Exception response requested/sent.
1 ...
.. 1.
... 1
. 1 ..
... 1
26(lA)
RH3B2
First element .
Last element .
Middle element.
Reserved .
Pace .
Request/response byte 2.
1 ...
.1 ..
.. 1.
Begin bracket (B8)
End bracket (EB)
Change direction (HDX only),
Code selection indicator.
I
O=EBCDIC
l=ASCII
'See Section 8.
Data Area layouts
153
PSB
PHYSICAL SERVICES BLOCK
Program: NCP#
Size in bytes: 52134)
Created by: NCP generation. One for each NCP.
Pointer to OS8: RVT and HWE
Function: Contains parameters necessary to the control of the dialog between the
System Services Control Paint and the NCP Physical Services.
Physical Services Process Queue Control Block (Outbound)
(See aCB for Input Queues for all bit definitions.)
212)
010)
PSBLECB
PSB1ECB
Pointer to first element queued
(Shifted address).
414)
PSBSTAT
Task and Queue
1
Pointer to last element queued
(Shifted address).
515 PSBPRKEY
) 10 flag and
aCB
task protect key.
status.
616)
PSBLINK
Pointer to next aCB on the queue
(Shifted address).
818)
PSBTSKEP
------T-- ----
Task entry point (last 18 bits).
PSBMCBO
Major control
block displacement.
PSBSCHEO
T ask dispatching
priority.
141E)
121C)
PSBSAVE
PSBLUNK
Address of save area pushdown
list (Shiftoo address).
Pointer to previous aCB on queue
(Shifted address).
Intermediate Network Node (INN) Error Handler Queue Control Block (Inbound)
(See QCB for Input Queues for all bit definitions.)
16110)
18112)
IEH1ECB
IEHLECB
Pointer to first element queued
(Shifted address).
Pointer to last element queued
(Shifted address).
22(16)
20114)
IEHSTAT
Task and queue
status.
1
21(15
IEHPRKEY
aCB )10 flag and
IEHLlNK
Pointer to next aCB on the queue
task protect key.
IShifted addressl_
24118)
IEHTSKEP
---- ---r- ----
Task entry point (last 18 bits).
IEHMCBO
IEHSCHEO
Major control
block displacement.
Task dispatching
priority.
2811<;,
IEHSAVE
"Ull",
Pointer to previous aCB on queue
(Shifted address)_
IShifted address)_
32120)
34122)
PSBEQI
Inbound sequence number ..
154
IEHLUNK
Address of save area pushdown list
3704 and 3705 Program Reference Handbook
PSBSEQO
Outbound sequence number.
PSB
38(26)
36(24)
PSBAORPS
Network address of NCP
physical services.
PSBAORPC
Network address of physical
service control point.
42(2A)
PSBPSTAT*
40(28)
PSBLACNT
Active link count.
1 43(2B)
PSBSSTAT*
Physical services
Physical services
primary status.
secondary status.
44(2C)
PSBLDIO
Load rD characters.
52(34)
PSBTCHN
Used by the remote NCP only. Initially. this field points to the first LKB in a chain
of LKBs that can be used as the link to the local controller. After IPL, this field
points to the LKB for the link that the remote NCP is currently using as the operationallink to the local NCP. In a local Nep, this field is all zeros.
56(38)
PSBSITO
SVT index for the
channel entry. (For
a remote Nep, this
field is set to zero
at NCP generation~
After the remote
NCP is initialized,
this field continues
the SVT index for
the current path to
the host.)
57(39)
PSBCSTAT*
Configuration reo
58(3A)
Reserved
start status.
Auto Network Shutdown Extension
61(30)
60(3C)
PABANSC'
PSBCANST*
I
Auto network shut- Condition causing auto
down status.
network shutdown.
62(3E)
PSBPLNOC
BSC/SS lines not quiesced count.
64(40)
PSBSLNOC
SOLC links not quiesced count.
* Indicates a byte expansion follows.
Data Area Layouts
155
PSB
Byte Expansions
Bit Pattern/
Offset/Field Name
Hex Value
Contents
1. ..
Session established.
Data flow enabled .
Data flow active.
Physical services primary status.
42(2AI
PSBPSTAT
. 1.•
.• 1.
43(2BI
PSBSSTAT
Physical services secondary status.
I. ...
. 1..
Processing Clear command.
Recovery mode.
Configuration restart status.
57(391
PSBCSTAT
'1. ..
. 1..
.. 1.
... 1
Path to host down state .
Auto network shutdown state.
Activate Physical required state .
NCP is cold.
Auto network shutdown status.
60(3CI
PSBCANST
1. ..
. 1..
.. 1.
SNA network quiesce complete.
BSC/SS network quiesce complete .
BSC/SS RVT scan complete .
Condition causing auto network shutdown.
61(301
PSBANSC
X'02'
X'03'
X'04'
Auto network shutdown invoked from
panel.
Attention or activity timeout.
Unexpected Activate Physical.
DISC received from local NCP. (Remote
X'05'
SNRM received from local NCP. (Remote
X'01'
NCP onlvl
NCPonlvl
X'06'
156
Unrecoverable SDLC error on link to
local. (Remote NCP only)
3704 and 3705 Program Reference Handbook
QUEUE CONTROL BLOCK
aCB
(EP)
Program: EP
Size in bytes: 50(32)
Located: Starts at storage location X' 700',
Created by: EP generation.
Updated by: LCP, ICP.
Referenced by: LCP,ICP.
Function: Provides a pointer to the first and last
DID)
cess on all queues,
2(2)
TMRF
Pointer to next eCB checked for
time-out.
IPL save registers.
4(4)
18(12)
16(10)
OCBF'
aCB flags and active command.
QCBT
(OCBTIO)
Save area for TIC eCB.
22(16)
20(14)
PDSOF
Address pointer to the first eCB in
the priority data service out queue.
PDSOL
Address pointer to the last eGa in the
priority data service out queue,
26(lA)
24(18)
DSOF
DSOL
Address pointer to the first eCB in
the data service out, queue.
Address pointer to the last eCB on the
28(1C)
data service out queue.
30(lE)
DSIF
Address pointer to the first eCB in
the data service in queue.
32(20)
DSIL
Address pointer to the last eCB in the
data service in queue.
34(22)
SOF
SOL
Address pointer to the first CCB in
the status out queue.
Address pointer to the last CCB in the
status out queue.
36(24)
38126)
SNOF
SNOL
Address pointer to the first CCB in
the sense out queue.
Address pointer to the last CCB in the
sense out queue.
40(28)
42(2A)
SSF
Address pointer to the first CCB in
the stacked status queue.
44(2C)
SSL
Address pointer to the last CCB in the
stacked status queue.
4612E)
CSPOl
CSPQ2
Address pointer to the first char·
acter serviced (type 1 scanner).
Address pointer to the last character serviced (type 1 scanner).
48130)
SVCO
*Indlcates a byte expanSion follows.
Data Area Layouts
157
aCB
(EP)
Byte Expansions
Offset/Field Name
16(10)
aCBF
Bit Patternl
Hex Value
QCBflags.
1. ..
. 1 ..
.. 1.
... 1
1 ...
.x . .
158
Contents
Set suppress out down.
Set stacked status service .
Set sense service .
Set TID sequence .
Do not dequeue from
stacked status queue.
Panel command flag .
3704 and 3705 Program Reference Handbook
QUEUE CQNTRQl BLOCK FOR INPUT QUEUES
QCB
(lnputl
Program: NCP
Size in bytes: 16(101 when no BHRs are defined; 20(14) when SHRs are defined.
Created by: NCP .generation.
Pointer to aCB: Variable.
Function: Controls input queues.
Note: This is the general format for all input queues. The XYZ identifier at the
beginning of each label is replaced with a different three letter identifier for each
particular input queue.
0(0)
2(2)
XYZ1ECB
XYZlECB
Pointer to first element queued.
(Shifted address)
Pointer to last element queued.
(Shifted address)
4(4)
XYZSTAT'
Task and queue
status.
5(5)
XYZPRKEY*
QCB ID flag and
task protect key.
6(6)
XYZLlNK
Pointer to next aCB on the queue.
(Shifted address)
B(B)
XYZTSKEP
Task entry point (last 18 bits).
XYZMCBD
Major control
block displace-
9(9)
XYZSCHED*
Task dispatching
priority.
ment.
12(C)
14(E)
XYZSAVE
XYZlUNK
Address of save area push·down
list. (Shifted address)
Pointer to previous aCB on the queue.
(Shifted address)
16(10)
XYZBHSET
BH set (or BHR) address (last 18 bits).
This field included only when BHRs are defined.
XYZBHRSr
BH R status bit.
T" " " " " "_I
17(11)
XYZBHSCH*
BHR
s~heduling
bits.
*lndicates a byte expansion follows.
Data Area Layouts
159
aCB
(Input)
Byte Expansions
Offset/Field Name
4(4)
XYZSTAT
Bit Pattern!
Hex Value
1 ...
. 1 ..
.. 1.
... 1
1 ...
.1 ..
... 1
5(5)
Task in pending state
(triggered).
Task in wait state .
Delayed task pending bit (task
is triggered while active).
Task is not in ready state .
Task is reentrant.
BHR extension definition:
task can execute BHRs.
Element has been dequeued (and
not returned to the queue)
during execution of active task.
QCB 10 flag and task protect key,
XYZPRKEY
1010 1 ...
. xxx
9(9)
XYZSCHED
Task
Task
Task
Task
priority
priority
priority
priority
is
is
is
is
productive.
immediate.
appendage.
nonproductive.
BHR status bits.
Point 2 execution,
10 ..
01 ..
11 ..
.. 1.
... 1
1 ...
Point 1 execution.
Point 3 execution.
First time BHR controller called .
BHR sequence aborted .
BH R protect key.
. 1 ..
BHA
BHR
BHA
BHR
17(11)
XYZBHSCH
Indicates that this is a pseudoinput or input QCB.
Protection key .
Task dispatching priority.
100.
010.
001.
000.
16(10)
XYZBHRST
160
Contents
Task and queue status.
BHA scheduling bits.
1 ...
. 1 ..
.. 1.
scheduled
scheduled
scheduled
scheduled
3704 and 3705 Program Reference Handbook
for Read command.
for Invite command .
for Write command .
after liD .
QUEUE CONTROL BLOCK FOR WORK QUEUES
QCB
lWorkl
Program: NCP
Size in bytes: 8(81
Created by: NCP generation.
Pointer to aCB: Variable.
FUnction: Control work queues.
Note: This is the general format for all work queues. The SWO identifier at the
beginning of each label is replaced with a different three letter identifier for each
particular work queue.
0101
2121
SWQ1ECB
SWQLECB
Pointer to first element queued.
(Shifted address)
Pointer to last element queued.
4141
(Shifted address)
6161
SWQSTAT'
Task and queue
status.
SWQPRKEY'
5151
aeB ID flag and
1 task protect key.
SWQLlNK
Pointer to the next aCB on the queue.
(Shifted address)
*Indlcates a byte expansion follows.
Byte Expansion
Offset/Field Name
Bit Pattern!
Hex Value
4141
SWQSTAT
1. ..
.. 1.
... 1
1 ...
.1. .
... 1
5(51
SWQPRKEY
Contents
Task and queue status.
1010 0 ...
.... .xxx
Task in pending state (triggered).
Delayed task pending bit (task
is triggered while active.)
Task is not in ready state .
Task is reentrant.
BHR extension definition:
task can execute BHRs.
Element has been dequeued
(and not returned to the
queue) during execution of
active task.
aCB ID flag and task protect key.
Indicates that this is a work aCB.
Protect Key .
Data Area Layouts
161
RVT
RESOURCE VECTOR TABLE
(NCP1,21
Program: NCP1, NCP2
Size in bytes: Variable depending upon numbers of entries.
Created by: NCP generation.
Pointer to RVT: SYSRVTAD field in word direct addressable storage (XDA).
location X'07ES',(Points to the two-byte count field preceding the first RVT entry.)
Function: Serves as the master directory to level 5 resource control blocks. Each
entry contains a type field plus the address of the resource control block for that
resource,
Immediately preceding the first entry is a halfword that contains the highest ID
allowed. Entry 0 is reserved for this communications controller. Format of entries is as
follows.
1
·2(.2)
Highest resource 10
in table. (Number of entries
.1.)
1(1)
0(0)
RVTTYPE'
RVTRP
Pointer to resource control block. The resource control
block can be a line control block, logical line group table,
or device control block, depending upon the resource type.
-Indicates a byte expansion follows.
Resource type.
Byte Expansions
Offset/Field Name
Bit Pattern/
Hex Value
0(0)
RVTTYPE
0000 0000
100.
010.
001.
... 1
1 ...
. 10.
.11.
... 1
162
Contents
Resource type.
The communications controller.
Line.
Device.
Line group.
Input .
Output.
Switched call-in .
SWitched call-out .
Device-dependent .
3704 and 3705 Program Reference Handbook
RESOURCE VECTOR TABLE
RVT
{NCP#}
Program: NCP#
Size in bytes: Variable depending upon numbers of entries.
Created by: NCP generation.
Pointer to RVT: SYSRVTAD field in word direct addressable storage (XDA),
location X'07EB'. (Points to the two-byte field that contains the highest SSC/SS address
in the table (first entry ·2).)
The SVT entry representing the sub·area points to the two-byte field that contains the
highest network address in the table (first entry -4).
Function: Serves as the master directory to level 5 resource control blocks. Each
entry contains a type field plus the address of the resource control block for that
resource.
Immediately preceding the first entry are t\'\I'O halfwords that contain the highest
network address in the table and the highest SSC/SS ID (if any) in the table.
-4{-4}
Highest element address in the table.
O{O}
-2{-2)
Highest BSC/SS element address (if any).
RVTRP
RVTTYPE
~--_/'>..
RVTTYPE1'
Resource type.
Address of Resource Control Block. The Resource Control
Block can be a Line Control Block, Device Control Block.
. - - - . .\
Link Control Slack, Station Control
RVTTYPE2·
Block, Cluster Control Block. Logical
Unit Control Block, or Physical Services
Resource type
Control Block (always 1st entry in
indicator.
RVT).
"'Indicates a byte expansion follows.
Byte Expansions
Offset/Field Name
and Bit Pattern
OlD)
RVTTYPEl
100.
010.
001.
... 1
1 ...
.10.
.11.
... 1
0000 0000
0000 0000
1 ...
0110
0101
00 .. 1 ...
. 1 ..
11111111
Contents/Description
1(1)
RVTTYPE2
1 .. .
0 .. .
00 ..
01 ..
0.0.
0.0.
0.0.
0.0.
0.0.
0.0.
0.0.
0.0.
0.0.
0.1.
0.1.
0.1.
0.1.
0.1.
0.1.
0.1 .
010.
0 ...
O . .• xxx x
SVT entry (see SVT DSect)
RVT entry
Local resource
Remote resource
SSC/SS resource
B5C/55 line
SSC/SS device
SSC/SS line group
BSC/SS input
B5C/55 output
SSC/SS swtiched call·in
SSC/SS switched call-out
SSC/SS device dependent flag
SDLC resource
NCP physical services resource
SDLC link
CiD LC cluster
SDLC terminal
SDLC logical unit
SDLC switched
Invalid
End of RVT
High order bits of resource address
Data Area Layouts
163
SCB
STATION CONTROL BLOCK
Program: NCP#
Size in bytes: 60(3C)
Created by: Ncr generation PU macro.
Pointer to SeB: In SVT.
Function: Contains the aCB, status, and scheduling information for station control.
If station is a cluster, SGB is incorporated into CUB (see CUB).
Link Inbound Queue (LlBO) Control Block
(See aCB for Input Queues for all bit definitions)
0(0)
212)
SCB1ECB
SCBLECB
Pointer to first element queued
(Shifted address).
Pointer to last element queued
(Shifted address).
414)
SCBSTAT
\51 5 )SCBPRKEY
GCB I D flag and
Task and queue
status.
616)
SCBLINK
Pointer to next aCB on the queue
(Shifted address).
task protect key.
818)
.SCBTSKEP
T -- -
Task entry point (last 18 bits).
SCBMCBD
Major control
SCBSCHED
Task dispatching
block displacement
PrlOrlty.
14IE)
121C)
SCBSAVE
SCBLUNK
Address of save area pushdown list
(Shifted address).
Pointer to previous QCB on queue
(Shifted addressl.
Link Outbound Queue (LOBO) Control Block
18112)
16110)
SCBLOBH
SCBLOBT
Link outbound queue head pointer.
Link outbound queue tail pointer.
Link Outstanding Queue (LOSQ) Control Block
20114)
22116)
SCBLOST
SCBLOSH
link outstanding queue tail pointer.
Link outstanding queue head pointer.
24118)
SCBLKB
Address of link Control Block (18 bits).
- - SCBADRC
- - - - -1
SOLe addressing
character.
3011E)
2811C)
r-----
SCBSSCF'
SCBRSE
Network address of resource.
Service seeking
commands.
3111F)
SCBSSCP
Contact Poll
commands.
32(20)
SCBSTATS'
Station status
34122)
\33121)
SCBOCF'
SCBTCNT
Service seeking
output control flags.
Transmission counter.
36124)
SCBAPIU
Address of Physical Service PIU (18 bits).
SCBTYPE'
Station type.
I
*Indlcates a byte expansIon follows.
164
3704 and 3705 Program Reference Handbook
SCB
40(28)
SCBNR
Receive count.
44(2C)
SCBEERS
Extended retry
status.
41(2~)
42(2A)
SCBERS
SCBNS
Send count.
(Note 1)
45(20)
SCBTRTCT
46(2E)
Total retry
count.
Error retry status.
SCBOCL
•
Out~ta~di~g
•
count limit.
r
(Note 2)
48(30)
SCBPNS
NS at time of poll.
49(31)
SCBPCNT
I 50(32)
SCBRTCNT
r . . . . ...
Pass limit.
First level ERP
SCBSLC
retry count.
52(34)
SCBSRTLR
.
Second level
retry limit .
SCBCOC
Current out·
standing count.
Second level ERP
retry count.
53(35)
SCBRCMO'
Run command
modifiers.
Indicates a byte expanSion follows.
Note 1: Refer to the LXBSTAT and LXBSTATC fields of the Link XIO Control Block
for a definition of the status bits.
Note 2: Refer to the LXBEXTST field of the Link XIO Control Block for a definition
of the status bits.
SOLe Secondary Command Pseudo Buffer
54(36)
SCBCMORO
CMDR pseudo buffer link field.
56(38)
1
I
58(3A)
SCBCMORC
CMOR invalid CMO, N(s), N(r}.
SCBCMORX'
CMDRZYXW diagnostic flags.
*Indicates a byte expansion follows.
SOLe Primary Second Level ERP Fields
54(36)
SCB2ERPT
Hardware second level ERP time-out value.
56(38)
157(39)
SCBTERR
SCBERPT
1 Monitor secondary
Second level ERP
errors count_
time delay.
58(3A)
SCBERPCS
ERP control
flags send.
59(3B)
SCBOCLS
1 Outstanding count
limit save area.
Data Area Layouts
165
SCB
Byte Expansions
Bit Pattern!
Offset/Field Name
Hex Value
30(lE)
SCBSSCF
Byte 0
1. ..
. 1 .•
•. 1 .
....
••• 1
Byte 1
Contact poll commands.
Disconnect (DISC).
1. ..
.1 ..
.1 ••
•. 1.
•• • X
32(201
SCBSTATS
33(21)
SCBOCF
Service seeking output control flags.
1. ..
•1 ••
.. 1.
... 1
. 1 ..
.• 1.
•• • X
58(3AI
SCBCMDRX
77(4D)
CUBSSTAT
166
Output skip bit.
Run terminator interlock .
RNR received .
Second level delay in progress .
Duplex data .
Half-duplex poll command •
Half-duplex poll in progress .
Station type.
x ...
.. 1.
53(351
SCBRCMD
Set Normal Response mode. (SNRM)
Set Initialization Mode (51 MI
Exchange Identification (XID)
Contact poll command field .
Station status.
Remote power-off in progress .
••. 1
•1 ..
.. 1.
... 1
36(24)
SCBTYPE
Contents
Service seeking commands.
Poll skip flag.
Halt service seeking .
Not operational .
Contact poll command active .
•1 ••
••• 1
....
....
•••• ZYXW
l=Duplex station.
O=Half-duplex station.
Switched SOLe station .
Terminal node (type 1 PU) .
Cluster controller (type 2 PU) .
l=lntermediate node (INN) .
O=Boundary node (BNN).
Run command modifiers.
Override 1st and 2nd level retries .
Immed~ate ~etrv .
Z=lnvalid N(R) in received C field .
Y=Ran out of buffers while trying to receive.
X=Data received when not allowed. W must
be on with X.
W=lnvalid C field or non·implemented com·
mand. W may be on alone.
Physical unit secondary status.
1 ...
....
3270 station.
3704 and 3705 Program Reference Handbook
SWITCHED LINE GROUP ENTRY
SGE
Program: NCP
Size in bytes: 4(4) or 8(8)
Located in: Switched line group table (SGT), one SGE for each line in the group.
Created by: NCP generation.
Pointer to SGE: None. (See SGT.)
Function: Points to a line control block (LeB) or another SGT for chaining,
The following format is for:
• First entry if there is no secondary request group. (See SGT for secondary
request group.)
• Each entry after first.
• Last entry if there is no secondary service group.
0(01
SGELCBP
Pointer to LeB work queue or secondary request SGT (last 18 bits).
.
·SG·EF·LAGS:
Flags.
1
The following format is for last entry if there is a secondary service group.
0(0)
SGELCBP
Pointer to LeB (last 18 bits).
4(4)"
SGESSGP
Pointer to secondary service group.
"IndIcates a byte expansion follows.
""* Actual position depends upon number of entries in table.
Byte Expansions
Offset/Field Name
Bit Pattern
Contents
1 ...
.. 1.
... 1
Flags
Queue is present (always 1).
Not line entry .
Secondary request entry .
last line entry.
Secondary service group entry is next.
OlD}
SGEFLAGS
1. ..
. 1 ..
Data Area layouts
167
SWITCHED LINE GROUP TABLE
SGT
Program: NCP
Size: QCB, counter, and first entry for secondary request group ~ 20(14) bytes.
Created by: NCP generation.
Pointer to SGT: COESGTP field in COE; LCBESGTP field in LeB.
Function: The SGT is a group of similar type switched lines that can be used to call a
terminal that uses that group.
Switched Group aCB (SGTORQ)
(See aCB for Work Queues for all bit definitions.)
2(21
0101
SGTLECB
Pointer to last element queued.
(Shifted address)
SGT1ECB
Pointer to first element queued.
(Shifted address)
4(41
SGTSTAT
Task and queue
status.
1
S(81
6(61
5 (51
SGTPRKEY
Protection key.
SGTLlNK
PointE:r to next aCB in queue.
(Shifted address)
9(91
SGTWLL
Work load limit.
SGTWLC
Work load
1
1O (AI
SGTQL
1 111BISGTCIL
Queue limit.
Call in limit.
current size.
13(01
12(CI
Pad
SGTCIC
Call in counter.
16(101
SGTlE
Address of secondary request group SGT (last 18 bits).
SGTFLAG"
Flags.
-,
*Indlcates a byte expansion follows.
Byte Expansions
Offset/Field Name
16(101
SGTFLAG
Bit Pattern
Contents
1.
_.1.
Queue is present (always 1).
Not line entry.
Secondary request group .
Last line entry.
Secondary service group entry is next .
Flags.
... 1
1 ...
. 1 ..
168
3704 and 3705 Program Reference Handbook
SEND ID
SID
Program: NCP
Size in bytes: 4(4)
Located in: OVB.
Created by: NCP generation.
Pointer to SID: None; SID follows COE if send ID is required.
Function: Contains information required for sending hardware identification. Extension is included only for Bse switched terminals that require the 3705 to send its 10.
0(0'*
SIDIDPTR
Pointer to the ID to be sent for this device (last 18 bits).
sen:llgl~o~~t,
'I
4(4'*
- - - - - - -I
SIDCQEID
Pointer to callout 10 list.
SIDFLGS
(Reserved)
*Note. Actual pOSition depends on other extensions present. ThiS extension IS present
only if the call-out extension (CGE) is present, and always follows that extension.
Data Area Layouts
169
SUB-AREA INDEX TABLE
SIT
Program: NCP#
Size in bytes: Dependent upon maximum sub-area in the network
Created by:
NCP generation
Pointed to by: CXTSIT in the link edit map and HWE.
Function: Contains indices into the Sub-area Vector Table (SVT). The desired SIT
displacement is found by adding the sub-area address (in the OAF) to the location of the
SIT (CXTSIT). The index in the SIT entry multiplied by 4 yields the actual displacement
into the SVT for the associated resource.
170
3704 and 3705 Program Reference Handbook
SERVICE ORDER TABLE FOR BSC/SS LINES
SOT
(BSC/SS)
Program: NCp·
Size in bytes: 4 bytes in header; 4 bytes in each entry; 4 bytes in trailer.
Created by: NCP generation.
Pointer to SOT: LCBESOTP field in LeB.
Function: Defines the order in which devices on a aSC/55 line are interrogated to see
if that device requires service. Generated for multipoint lines.
Header
2(2)
(Reserved).
Entry Format
4(4)
SOTRESP
Pointer to the OVBSTAT field in the device control block (OVBI for this
device. More than one entry can point to the same
ova.
Trailer
Negative offset to first entry in SOT.
·Offset depends on the number of entries in the SOT.
Set to zero.
Data Area Layouts
171
SERVICE ORDER TABLE FOR SDLC
SOT
(SDLCI
Program: NCP#
Size in bytes: 4 bytes in header, 4 bytes in each entry, 4 bytes in trailer.
Created by: NCP generation.
Pointer to SOT: LXBPOLL field in ACB.
Function: Defines the order in which stations on an SOLe link are interrogated
to see if that station requires service.
Header
0101
Zero.
Entry Format
4(41
l
Negati;;;; Offset
to 1st entry
in SOT.
Pointer to SGB (CUB)
(representative entry).
"---v------'
14 bits
Trailer
Zero {end of tableL
172
3704 and 3105 Program Reference Handbook
SPB
SOLC/Bse PATH CONTROL BLOCK
Program: NCP#
Size in bytes: 16(F)
Created by: NCP generation.
Pointer: Fullword at LUB·4.
Function: Contains control parameters and work areas that supplement the LUB for the
SOLe/SSe path function. An SPB is created for each LUB that is associated with an
SD LC/BSC path.
2(2)
0(0)
SPBDNA
Network address of the
SPBANSIN
sse device.
Last sequence number in (APPl·NCP).
4(4)
SPBDVB
Pointer to
ova for sse device (during initialization only).
6(6)
SPBANSOT
Last sequence number out (APPL·NCP).
10(A)
8(8)
SPBNSSOT
Last sequence number out (NCP·LU).
SPBSVPSN
New sequence number in.
14(E)
SPBOSPS'
12(C)
.
SPBNSSIN
Last sequence number in (NCP·LU).
SPBSVSPN
New sequence number out.
State indicators .
I
15(F)
SPBSTAT'
Common status.
Indicates a byte expansion follows.
Byte Expansions
Offset/Field Name
14(E)
SPBOSPS
Bit Pattern!
Hex Value
1. ..
. 1 ..
.. 1.
1 ...
. 1 ..
.. 1.
15(F)
SPBSTAT
Contents
State i nd icators.
Quiesce state (primary to secondary).
Shutdown state (primary to secondary).
Sequence number to be set (primary to
secondary) .
Quiesce state (secondary to primary).
Shutdown state (secondary to primary) .
Sequence number to be set (secondary to
primary).
Common status.
1 ...
. 1 ..
.. x.
•• • X
.. 11
.. 10
.. 01
.. 00
.... x ...
Valid device or session .
Some sequence number is active. (Clean bit.)
Data "flow reset indicator .
Data flow error indicator.
An error has occurred; only session control
requests can flow .
An error has occurred; the secondary to
primary path is quiesced or shutdown .
Data flow reset state. Data cannot flow
until a SDT request is received .
Normal data flow state.
Data flow control path indicator .
l=BSC·LU.
O=APPL-LU.
Data Area Layouts
173
SVT
SUB-AREA VECTOR TABLE
Program: NCP#
Size in bytes: 4(4) for each sub-area.
Created by: NCP generation.
,
I
Pointed to: By entry in sub-area index table and HWE. The SVT is located between the
SIT and RVT. The last entries in the SVT have an X'FF' delimiter.
Function: Contains address of RVT if sub-area is local, address of SGB if sub-area is
remote, or address of CH8 (type 2 CA~ or COB (type 1 CAl if sub·area is host. The first
entry in the table is an invalid entry.
O{O}
SVTENT
Address of RVT, SGB or CHB/COB (last 18 bits)
SVTTYPE1'
-I -
SVTTYPE2'
1
"'IndIcates a byte expanSion foflows.
174
3704 and 3705 Program Reference Handbook
SVT
Byte Expansions
Offset/Field Names
and Bit Patterns
0(0)
SVTTYPEl
ContentslDescription
1(1)
SVTTYPE2
0 ..
1 ..
10
100.
101 .
10.
o ..
o
il.
11 ..
110 .
1 ..
111.
111.
O ..
00 ..
01
0 ...
0 ...
0..
O.
O.
1.
. .. 0
. .. 1
1111 1111
111.
111.
111.
111.
1 ..
1 ..
RVT entry (see RVT Osect)
SVT entry
BNN sub·area type entry
RVT does not contain BSC/SS resources
RVT contains BSC/SS resources
RVT does not contain SOLe resources
RVT contains SOLC resources
Invalid
Invalid
SD LC sub-area entry
Adjacent sub-area entry
Tandem sub-area entry
Path to sub-area is link
Path to sub-area is channel
Sub-area does not contain SSCP
Sub-area contains SSCP
High order bits of SCB or RVT address
End of SVT
Data Area Layouts
175
TND
TIME AND DATE CONTRDL BLOCK
Program: NCP
Size in bytes: 21(151
Created by: NCP generation.
Pointer to TND: SYSEBCP field in HWE.
Function: Keeps track of current time and date.
0(0)
TNDMDY
Date in the form mm/dd/yy.* (length of 8 bytes)
I
6(6)
TNDYDOY
Julian date in the form yy.ddd.* (The
yy part of this field overlaps the yy
part of the previous field.)
121C)
TNDHMS
Time in the form hh.mm.ss.**
20(14)
.
TNDUSKIP
Inhibit or allow
update of TND.
Zero = inhibit
Nonzero = allow
update .
m - month
d = day
y = year
h = hour
m = minute
s = second
176
3704 and 3705 Program Reference Handbook
CHANNEL ADAPTER TRACE TABLE
TRACE
TABLE
(CAl
Program: NCP#
Size in bytes: 24 plus 32 bytes per trace entry (number of entries is user specified).
Location: After CXCAIOS3 for type 1 channel adapter or after CXCAIOS4 for
type 2 and 3 channel adapters.
Created by: SYSCG006 assembly.
Function: Traces NCP channel adapter interrupts.
Type 1 Channel Adapter Trace Table
0101
CXCAIOS3
Contains the dump identifier characters "CXCAIOS3",
8(8)
12(C)
Address of the beginning of
the trace table.
Current address of the
trace table.
16(10)
20(14)
CTRC
Contains the identifier
characters "CTRC".
Address of the end of
the trace table.
24(181
Variable length table extended by 32 bytes per trace entry.
See Trace Entry: Type 1 Channel Adapter, for format.
Type 2 and 3 Channel Adapter Trace Table
0(0)
CXCAIOS4
Contains the dump identifier characters "CXCAIOS4".
8(8)
12(C)
Address of the beginning of
Current address of the
the trace table.
trace table.
20(14)
16(10)
Address of the end of
the trace table.
CTRC
Contains the identifier
characters "CTRC"
24(18)
Variable length table extended by 32 bytes per trace entry.
See Trace Entry: Type 2 and 3 Channel Adapter, for format.
Trace Entry' Type 1 Channel Adapter
0(0)
COBICNO
Flags entry conditions.
4(4)
2(2)
COBCND
Flags exit conditions.
6(6)
C08XR77
Contents of input external register
x'n',
8(8)
COBXR60
Contents of input external register X'60',
10(A)
COBXR61
Contents of input external register X'61',
12(C)
COBXR621
Contents of input external register X'62',
14(E)
COBXR64
Contents of input/output
external register X'64',
COBXR620
Contents of output external register X'62',
16(10)
18(12)
COBXR65
Contents of input/output
external register X'65'.
COBXR66
Contents of output
external register X'66'.
Data Area Layouts
177
TRACE
TABLE
(CA)
20(14)
22(16)
COBXR671
COBXR670
Contents of output
Contents of input external
register X'67'.
external register X'S7'.
24(18)
26(lA)
COBCCMD
COBSTAT
Current channel status.
Current channel command.
28(lC)
Address of caller.
Trace Entry' Type 2 and 3 Channel Adapter
0(0)
2(2)
CHBICND
Flags entry conditions.
4(4)
CHBXR50
Contents of input/output
CHBXR51
Contents of input/output
external register X'51 '.
external register X'50'.
8(8)
10(A)
CHBXR52
Contents of input external
register X'52',
12(C)
CHBXR53
Contents of output external
register X'53'.
14(E)
CHBXR54
Contents of output external
register X'54'.
16(10)
CHBXR551
Contents of input external
register X'55'.
18(12)
CHBXR550
Contents of output external
CHBXR56
Contents of input/output
external register X'56'.
register X '55'.
20(14)
22(16)
CHBXR57
Contents of output external
CHBXR5A
Contents of input external
register X'5A'.
register X'57'.
24(18)
26(lA)
CHBXR5C
Contents of input external
register X'5C'.
28(lC)
Address of caller.
178
CHBCND
Flags exit conditions.
6(6)
3704 and 3705 Program Reference Handbook
Halfword of zeros.
TRACE TABLE (LINE)
TRACE
TABLE
(LINE)
Program: NCP
Size in bytes: 4 for each entry.
Created by: NCP line trace routine.
Pointer: LTea fields.
Function: The NCP line trace stores four bytes of diagnostic information into a trace
entry whenever a level 2 interrupt occurs. Three bytes of the information are obtained
from the
lew
(type 2 scanner) or BeB (type 1 scanner). The fourth byte is a timer field.
The NCP stores the trace entries in dynamically allocated buffers, then transfers them to
the host with a Request Trace Data PIU. Refer to "NCP Line Trace Control Block
Relationships" in Section 1.
Trace Entry
DID}
LCD/PCF'"
Type 2 CSA- ICW
bits 16·23.
l(l}
Timer Field**
2(2}
3(3}
SCF'"
Type 2 CSA- ICW
bits 0-7.
Type 1 CSA-
Type 1 CSABCBLCPCF
(BCBt9)'
BCBSCF (BCBt6)
PDF'"
Type 2 CSA- ICW
bits 8-15.
Type 1 CSABCBPDF (BCBt7)
, Indicates a byte expansion follows.
**Contains a hex value indicating, in tenths of a second, the time that elapsed between
the activation of the trace and the level 2 interrupt represented by this entry. The
field is reset to zero when the trace starts and wraps around to zero after 25.5 seconds.
H*Section 11 describes the ICW fields.
Byte Expansions
Offset/Field Name
D(D}
LCD/peF
Bit Pattern/
Hex Value
Contents
LCP/PCF for type 1 CSA.
LCD bits:
DDll=SDLC
0100=Start-stop
0101=BSC_
0110=DiaL
0111 =Feedback.
PCF bits_
Data Area Layouts
179
TRACE
TABLE
IPEP, EP)
TRACE TABLE IPEP, EP)
Program: PEP, EP
Size in bytes: 8 for each entry
Created by: Trace routine (CYATRC) for NCP generation.
Referenced by: CYATRC and CYADSS
Function: Provides line and channel trace for selected subchannel addresses. One double
entry is made for each level 2 line interrupt and each level 3 channel status service
interrupt. One single entry is made for each [evel 3 channel data service, initial selection and timeout.
level 1 Error Log Entry
DID)
ENTRYID
X'OO'
1
1(1
2(2)
X'OO'
)
LOG ENTRY
Errar log entry.
6(6)
4(4)
EXTENTRY
X'OOOO'
or
LAR
Error log extended entry.
(Contents of the LAR for
program check and channel
adapter check.)
Level 2 Trace Entry (Part 1 J
Type 1/2 scanner
ala)
1111
ENTRYID
old base = X'10'
new base = X'1x'*
4(4)
ICWOHW
SCF of the line
being traced
IN44HI
2121
LVL2ADR
CCB address of the routine
entered for this level 2 interrupt
ICCBL2)
SubchanneJ
Address
6(6)
5(5)
ICW1HW
PDF of the line
being traced
IN44LO
7(7)
ICW2HW
LCD and peF of
line being traced
IN45HI
ICW3HW
SDF of the line
be i ng traced
IN45LO
*X "" Channel Adapter ID
Level 2 Trace Entry (Part 2)
Type 1/2 scanner
1111
0(0)
ENTRYID
old base = X'20'
new base = X'2x'*
4(4)
CACSVSTC
CCB character
address counter
ICCBCAC)
SENS
CCB current
sense or'ed
with final sense
SIS)
CCB service/
status flag
ICCBSVSTC)
2(2)
3131
CMDLRI
Command byte
for this CCB
(CCBCMD)
Line request
information
ICCBLRI)
6(6)
IN46"
Contents of type 2 scanner
display register. (Input X'46')
Data set leads.
**Valid only for the last subchannel that had its data interface displayed (Function 6)
(X'FFFF' if display request is off.l
180
3704 and 3705 Program Reference Handbook
TRACE
TABLE
(PEP, EP)
Level 2 Trace Entry (Part 1)
(Type 3 scanner)
0(0)
ENTRYID
X'3x"
1(1)
2(2)
LVL2ADR
Subchannel
eGa address of the
routine entered
for this level 2 interrupt
Address
(CCBL2)
4(4)
6(6)
5(5)
ICWOHW
ICW2HW
ICW1411CW15
SCF of the line
being traced
LCD and PCF of the
line being traced
Scanner Status
*x
= Channel Adapter
10
level 2 Trace Entry (Part 21
(Type 3 scanner)
0(0)
ENTRYID
X'4x'·
11(1)
Channel Adapter 4
Control Flags
4(4)
2(2)
I 1 3 (3)
ICW6HW
Cycle Steal Control
Byte Count
6(6)
ICW8/ICW9
CCBSVLNK
Service Link Field
Cycle Steal Address
*X
=
Channel Adapter ID
Level 2 Trace Entry (Part 3)
(Type 3 scanner)
0(0)
1(1)
2(2)
ENTRYID
IN46
X'5x··
Bottom Buffer Pointer
Data Set Interface
(CCBUF)
(Input X'46') X'FF'
if display request
is off.
4(4)
Top Buffer Pointer
(CCBTBUF)
'i7(7)
Top Buffer Count
6(6)
Bottom Buffer Count
(CCBBCNT)
(CCBTCNT)
*x = Channel Adapter ID
Level 2 Trace Entry (Part 4)
(Type 3 scanner)
0(0)
ENTRYID
11(1)
X'Fx··
Seven bytes of data from the data buffer.
* x = Channel Adapter ID
Data Area Layouts
181
TRACE
TABLE
(PEP, EP)
Level 3 Initial Select Trace Entry
0(0)
I
1(1)
ENTRYID
IN61HI
old base;; X'5O'
new base = X'6x'*
Subchannel
Address
(Input X'61')
4(4)
IN60HI
.
2(2)
ISCCBCMD
3(31
IN61l0
Channel 1/0
command
Command byte
for this CCB
(CCBCMD)
5(5)
Current Status
byte
(Input X'61')
CCBADDR
Address of the CCB
Initial Selection
Control
(Input X'60'I
x - Channel adapter 10.
Level 3 Timer Interval Expiration
0(01
2(2)
1(11
ENTRYID
Subchannel Address
old base = X'70'
new base
-=
X'7x'·
4(41
5(51
3(31
ICW1HW
SeF of the Line
being traced
Timer
Displacement
7(71·
6(61
CCBCMD
IN46
Line Control
Translated EP
Data Set Interface
Command Code
(X'FF' if display
request is off)
Input X'46'
Definer/Parallel
Data Field
Serial Data Field
Level 3 Data Service Trace Entry
0(0)
ENTRYID
old base = X'9O'
new base = X'9x'·
2(21
1111
IN63HI
IN62
Subchannel
Address
Contents of Type 1/4 CA
data/status control register
(Input X'62'I
(Input X'63')
4(41
6(61
IN64
First and second data bytes
(Input X'64'I
CA4 Extended Buffer Mode
IN6C - F.xtended buffer control
or
IN65 - Third and fourth data bytes
Level 3 Status Service Trace Entry (Part 1)
0(0)
ENTRYID
old base"" X'SO'
new base"" X'Sx'*
1111
4(4)
STCCBCMD
Command bytes
5(51
IN63HI
Subchannel
Address
(Input X'63')
for this CCB
(CCBCMD)
IN63l0
ESC status
(Input X'63'I
2(21
IN62
Contents of Type 1/4 CA
data/status control register
(Input X'62'I
6(6)
If Unit Check
Status: Current and
final sense are
are QR'ed
If not Unit Check
Status: aCB flags
* x "" Channel adapter 10
182
3704 and 3705 Program Reference Handbook
7(71
Active command
count
TRACE CONTROL TABLE
Program:
. PEP
Size in bytes: 16(10)
Created by:
NCP generation
Referenced by:
CYATRC and CYAODS
Function: Provides control of the trace table.
0(0)
CURRENT
Address of the current trace entry
4(4)
FIRST
Address of the first entry in the Trace Table
8(8)
LAST
Address of the last entry in the Trace Table
12(C) SIZE
Size of each
trace table
r
3 (0)
entry
FLAGS'
Flag byte
r
I
5 (F)
14(E)
COUNTER
Counter for
Trace Table wrap.
Spare
X'OO'
*Indlcates a byte expansion follows.
Offse'!
Field Name
13(0)
FLAGS
Bit pattern!
Hex Value
1. ..
. 1 ..
.. 1.
Description
Dump is waiting for entry.
Dump is active now .
.. 1.
... 1
Trace is active now .
Level 2 trace flag .
Level 3 trace flag .
Data Area Layouts
183
TVS
TIME VALUE SELECT TABLE
Program: NCP
Size in bytes: 64(40)
Created by: NCP generation.
Pointer to TVS: SYSTVSP field in HWE.
Function: Contains fixed and optional time-out values. This table must be at a
256-byte boundary,
2(2)
0(0)
TVSHII
TVSHIO
Fixed (ldle/RAS).
Fixed (0 seconds).
6(6)
4(4)
TVSHI3
TVSHI2
Fixed (2.2 seconds).
Fixed (1 second).
10(A)
8(8)
TVSHI5
Fixed (23.5 seconds).
TVSHI4
Fixed (3 seconds).
14(E)
12(C)
TVSHI7
Variable.*
TVSHI6
Fixed (60 seconds).
lS(10)
18(12)
TVSHI9
TVSHI8
Variable.*
Variable.*
22(lS)
20(14)
TVSHIB
TVSHIA
Variable.*
Variable.*
2S(1A)
24(18)
TVSHID
Variable,*
TVSHIC
Variable.·
3O(lE)
28(lC)
TVSHIF
Variable.*
TVSHIE
Variable,*
34(22)
32(20)
TVSLOO
Fixed (ldle/RAS).
TVSLOI
Fixed (0 seconds).
38(2S)
3S(24)
TVSL03
Fixed (2.0 seconds).
TVSL02
Fixed (1 second).
42(2A)
40(28)
TVSL05
Fixed (23.5 seconds).
TVSL04
Fixed (3 seconds).
44(2C)
46(2E)
TVSL07
Variable,·
TVSLOS
Fixed (60 seconds)
50(32)
48(30)
TVSL09
TVSL08
Variable.*
Variable.*
54(38)
52(34)
TVSLOB
TVSLOA
Variable.·
Variable.·
58(3A)
56(38)
TVSLOD
Variable. It
TVSLOC
Variable.*
62(3E)
SO(3C)
TVSLOE
Variable. It
·Values determined at NCP generation.
184
3704 and 3705 Program Reference Handbook
TVSLOF
Variable. *
USASCII CHARACTER DECODE DISPLACEMENT TABLE
UCDDT
Program: PEP, EP
Size in bytes: 32(20)
located in: Module CYAB L
Created by: NCP and EP generation.
Referenced by: PARTYCK, ASCXMT.
Function: Provides offset in branch table for proper control character processing.
I
0·31(0·1 F)
ASCRCVBT
Displacement data.
Data Area Layouts
185
UNASSIGNED SUBCHANNEL CONTROL BLOCK
USCCB
Program: EP/PEP
Size in bytes: 10(OA) or 12 (DC)
Created-by: EP/NCP generation
Pointer to: CHVT entry if low order bit is·on.
Function: Used to handle sense, TID and 10 No-op to subchannels within the Hi/Lo
range that have no lines. Also used for subchannels defined in a multi-subchannelline
access (MSLA) association that are not currently using the line.
8(8)
1O(A)
CCBSVLNK
Data service queue chain
CCBLOLNK
Status out queue chain pointer
pointer
12(C)
CCBSUBCH
SlJbcmannel
Address
16(10)
CCBCMD
Current
Command
186
13(0)
CCBCFLG
Configuration
flags
17(11)
CCBLRI
14(E)
CCBSTAT
Final line
/15(F)
CCBSENSE
Final line
sense
status
18(12)
Line request
information
3704 and 3705 Program Reference Handbook
CCBRADR
Multi-subchannelline address
CCB address
WU TRANSLATE TABLE
WU
XLATE
TABLE
(EP)
Program: EP
Size in bytes: 64(40)
Located in: Routine CYAL3H of module CYANUC
Created by: EP generation
Referenced by: Data service routines (for start-stop terminals only).
Function: Assists in translating WU code.
I
0-63(O-3F)
CYAXTL02
Translation data.
Data Area Layouts
187
WORD DIRECT ADDRESSABLE STORAGE
Program: NCP
Size in bytes: 128(80)
Located in: Controller storage beginning at location X'07SO',
Created by: NCP generation.
Pointer to XDA: None. Fixed location.
Function: Contains frequently accessed system control fields.
ROS Contained Cod. Save Area Sub·Block (XDAROS)
'0780"
ROSWI
(ROSSVIAR)
Save area for program levels 1/2 IAR.
'0784"
ROSW2
(ROSSVRlI
Save area for program levels 1/2 register 1.
'0788"
ROSW3
(ROSSVR2)
Save area for program levels 1/2 register 2.
'078C"
ROSW4
(ROSSVR3)
Save area for program levels 1/2 register 3.
'0790"
ROSW5
(ROSSVR4)
Save area for program levels 1/2 register 4.
'0794"
ROSW6
(ROSSVR5)
Save area for program levels 1/2 register 5,
'0798"
ROSW7
(ROSSVR6)
Save area for program levels 1/2 register 6.
'079C"
.
ROSW8
IROSSVR7)
Save area for program levels 1/2 register 7 .
Absolute storage location
188
In
hex.
3704 and 3705 Program Reference Handbook
XDA
XDA
Router Sub-Control Block (XDARTR)
'07AO"
RTRWl
IRTRSVR1)
Save area for program level 2 register 1.
'07A4"
RTRW2
IRTRSVR2)
Save area for program level 2 register 2.
'07AS"
RTRW3
IRTRSVR3)
Save area for program level 2 re_gister 3.
'07AC"
RTRW4
IRTRSVR4)
Save area for program level 2 register 4.
'0780"
RTRW5
IRTRSVR5)
Save area for program level 2 register 5.
'0784"
RTRW6
IRTRSVR6)
Save area for program level 2 register 6.
'078S"
RTRW7
IRTRSVR7)
Save area for program level 2 register 7.
'078C"
RTRWS
IRTRSVLAR)
Save area for lagging address register (LAR).
'07CO"
RTRW9
IRTRSVIAR)
Save area for program level 2 IA R.
* Absolute storage location in hex.
Data Area Layouts
189
XOA
Supervisor Sub-Control Stock (XDASYS)
'07C4"
SYSWl
(SYSBP1FB)
Pointer to first free buffer.
'07CS"
SYSW2
(SYSTMQC)
Pointer to current time period's time-queue QCB.
'07CC"
SYSW3
(SYSTMQN)
Pointer to next time period's time-queue QCB.
'0700'*
SYSW4
(SYSEBPL)
Remembrance of the last buffer in buffer pool.
'0704'*
SYSW5
(SYSBUFPL)
Remembrance of the first buffer in buffer pool.
'07DS'*
SYSW6
(SYSHWE)
Pointer to HWE.
'07DC"
SYSW7
(Reserved).
'07EO"
SYSWS
(UTILSTSZ)
Address of last byte of storage.
'07E4"
SYSW9
(RTRL2GOI)
Level 2 interrupted IAR.
'07ES"
SYSW10
(SYSRVTAD)
Pointer to resource vector table plus 2.
'07EC"
SYSWll
(Reserved).
'07FO'*
SYSW12
Pointer to logical end of system free buffer pool.
'07F4"
SYSW13
(SYSBST)
Pointer to BH set table.
'07FS'*
SYSW14
Save area for resident dump.
'07FC'*
SYSW15
Save area for resident dump.
*Hex Storage LocatIon
190
3704 and 3705 Program Reference Handbook
XDB
BYTE DIRECT ADDRESSABLE STORAGE
Program: NCP
Size in bytes: 128(80)
Located in: Controller storage beginning at location '0680'.
Created by: NCP generation.
Pointer to XOS: None. Fixed Jocation.
Function: Contains frequently accessed system control fields.
'0680"
Wrap-in·
progress byte.
'0681"
XDBFILl
Pad.
If byte" X'OO',
'0682"
PEPFLG"
PEP flag bits.
(NCP2,#)
wrap test is in
progress.
RAS Sc.n·Controi Sub-block, XCBRST (This area is unused in NCP2 and NCP#.)
'0683"
RSTBI
(RTRBASPli
Number of lines
in each scan of
sub-period 1 of
CXCCRAST.
'0684"
RSTB2
(RSTWORKBI
Number of lines
in each scan of
current
subperiod of
CXCCRAST.
Supervisor Control Block (XDBSYS)
'0685"
SYSB1"
(SYSMASKI
Control byte for
dispatcher flags.
'0686"
SYSB2
(SYSBFSI
Offset to last
byte of buffer.
'0687"
SYSB3
(SYSBFSZD)
'0688"
SYSB4
(SYSIBC)
Buffer size
Buffer size
decremented by
decremented by 5;
4 bytes.
used as initial count
by communica-
tions lines.
'0689"
SYSB5"
(SYSSMII
Buffer pool and
network status.
'068A"
SYSB6"
(SYSFLGOI
General communication byte.
'068D"
'068E"
SYSB10
(SYSDSGC)
Type 1 CA data
service governor
count.
UNASSIGNED
'068B"
SYSB7"
(SYSFLGll
Field used by
dump to determine storage
load.
'068F"
SYSBll
(SYSSf'SZCI
Buffer size decremented by 3.
'068C"
SYSB8
(SYSAVEKI
Number of save
areas contained in
buffer.
'0690"
SYSB17
(SYSBUFSZI
True buffer size.
* Absolute storage location in hex_
**Indicates a byte expansion follows.
Data Area Layouts
191
XDB
'0691"
SYSB1S
(SYSBLKSZ)
Maximum number
of buffers in
'0692"
SYSB19"
(SYSFLG2)
General communication byte.
'0693"
'0696"
TIMB12
(TIMEOTXT)
User-specified
'0697"
SYSB12
(SYSCSB1)
SYSB20
DAF/oAF
Sub·Area (SDLC)
'0694"
SYSB21
DAF/OAF not
Sub·Area (SD LC)
BCU.
'069S"
TIMBll
(TIMEZERO)
Zero-second
communications
error time-out
request.
'0699"
SYSB14
(SYSCSB3)
Type 2 scanner-3
scan limit control.
- - - - - - - Reserved
(NCP#)
Communication
scanner-1 scan
shoulder tap or
default to RAS
time-out
override.
i069A"
SYSB1S
(SYSCSB4)
limit control.
EP Levell
ERP counter (NCP#j
'069B"
SYSS16
(SYSCSSC)
Type 2 scanner-4
Type 2 scanner
scan limit control.
scan substitution
- - control.
Reserved
(NCP#)
- - - -
-
Reserved
(NCP#j
'069S"
SYSB13
(SYSCSB2)
Type 2 scanner-2
scan limit control.
EP IPL channel
adapter (NCP#j
-
- -
Timer Sub-Control Block (XDBTlM)
'069C"
TIMBl
(TIMTICNT)
'0690"
TIMB2
(TIMSICNT)
Count remem-
Count remem-
brance field.
brance field for
system timer.
'069E"
TIMB3
(TIMWKREG)
Work register
for communica-
'069F"
TIMB4
(TIMLNCNT)
Number of lines to
tion line timer
checking for higher
priority work.
service routine
(CXCCLlNT).
'06AO"
TIMBS
(TIMRSRES)
Work register.
·06A4'·
TIMB9
(TIMOIOLY)
Communications
timer time-out
to protect
against delay in
dial tone.
'06Al"
TIMB6
(TIMOSABL)
Communications
timer time-out
to protect
against failure to
disconnect.
'06AS'·
TIMBA
(TIMSWBIO)
Communications
timer time-out
to protect
against switched
line hang-up.
'06A2"
TIMB7
(TIMENABL)
Communications
timer time-out
to protect
against failure to
connect.
* Absolute storage location in hex.
ulndicates a byte expansion follows.
192
3704 and 3705 Program Refer"""" Handbook
be serviced before
'06A3"
TIMBS
(TIM DIAL)
Communications
timer time-out to
protect against dial
failure.
XDB
Router Sub-Control Block (XDBRTRI
'OSAS"
RTRBI
(RTRSPURI
'OSAl"
RTRB2
(RTRSPURll
Retry counter
Retry counter
for program
level 3 unre-
for program
level 1 unre-
solved interrupts.
solved interrupts.
'OSA9"
RTRB4
(RTRSVBI
'06AS"
RTRB3"
(RTRINLVLI
Zero if level 1
Save area for abend
did not detect
routine
(CXAABNDI.
condition requir-
ing abend. Otherwise indicates
program level
interrupted by
level 1.
'OSAA"
RTRB5
(RTRL5KEYI
Level 5 protect
key at time of
protection
exception.
'OSAB"
RTRB6
(RTRC1KEYI
Channel
Channel
Retry counter for
adapter-2 protect
key at the time
program level 1
of channel adapter
of channel adapter
check in level 1
for protection
exception.
'06AE"
RTRB9
(RTRIOERI
'OSAF"
RTRB10
(RTRCMERI
Retry counter
for program level 1
in/out instruction
checks.
Retry counter
for program level 1
communication
scanner checks.
'OSB2"
RTRB13
(RTRIPURI
'OSB3"
RTRB14
(RTRICAEI
'OSBS"
RTRB17"
(RTRFEESCI
Field engineering
hook/escape
byte.
'OSAD"
RTRB8
(RTRCAERI
adapter-' protect
key at the time
check in level 1
Reinitialize program level 1
unresolved
interrupt counter.
'OSAC"
RTRB7
(RTRC2KEYI
Reinitialize
program level 1
channel adapter
check counter.
'OSB7"
RTRBIS
(RTRSICTLI
Communication
scanner-1 mask
for LIB disable
functions.
* Absolute storage locatIon in hex.
"Indicates a byte expansion follows.
channel adapter
checks.
for protection
exception.
'OSBO"
RTRBll"
(RTRLVLlTI
'OSB1"
RTRB12
(RTR3PURI
Program level
interrupted at
last program
level entry.
Reinitialize
program level 3
unresolved
interrupt counter.
'OSB4"
RTRB15
(RTR110EI
'OSB5"
RTRBIS
(RTRICMEI
Reinitialize
program level 1
in/out instruction
check counter.
'OSBS"
RTRB19
(RTRS2CTLI
Communication
scanner check
counter.
'OSB9"
RTRB20
(RTRS3CTLI
Type 2 scanner-2
mask for LIB
disable functions.
Type 2 scanner-3
mask for LIB
disable functions.
Data Area Layouts
193
I
XDB
'06BA"
RTRB21
(RTRS4CTLI
Type 2 scanner·4
mask for UB
disable functions.
'06BB'*
PADDB
Excess pad area for expansion.
I
'06CO"
32 halfwords of invalid op-codes.
If the type 1 scanner is installed, the following fields are included in the last
64 bytes of the XDB:
'06FO"
'06F2"
CCPTICHR
Entry to type 1 communication
scanner character service
(CXBTRP21
BCBL2
Secondary entry for type 1 communica-
tion scanner character service
(CXBTRP20).
* Absolute storage location in hex.
Byte Expansions
Bit Patternl
Offset/Field Name
'0682'
PEPFLG
Hex Value
Contents
PEP flag bits. (NCP2, NCP#I
1. . . . . . .
EP currently using channel
adapter.
'0685'
SYSBI
(SYSMASKI
Control byte for dispatcher
flags.
1. ..
. 1. .
.. 1.
Appendage task in progress.
System task is active.
Level 3 disabled •
... 1
level 3 active .
1 ...
.1 ..
.... .. 1.
BHRs in execution.
Dispatcher service required .
'0689'
SYSB5
(SYSSMII
1 ...
.1 ..
.. 1.
... 1
1 ...
.1 ..
.. 1.
Level 4 disabled .
Buffer pool and network
status.
Quiesce in progress.
Deactivate Invite command
has been processed, do not
poll during service seeking.
Auto network shutdown
initiated.
Queued allocations in progress,
Quiesce message required.
Channel CWAR invalidated
because buffer pool depleted.
Waiting for a buffer,
* I ndicates a byte expansion follows.
194
3704 and 3705 Program Reference Handbook
Byte Expamions
XDB
Bit Pattern/
Offset/Field Name
Hex Value
'068A'
SYSB6
(SYSFLGO)
1 ...
Contents
General communication byte.
.1. .
.. 1 .
....
....
....
•. .x
....
....
....
1 ...
.1 ..
....
....
.. 1 .
... 1
Selective system reset.
Checkpoint option selected .
Auto network shutdown option
selected.
l=system ~ 64K .
O=system > 64K.
Return data to host on error.
Critical situation notification
option selected.
Online test option selected .
Auto network shutdown was
initiated form the panel (NCP 1,2,3,4).
Reserved (NCP #).
Field used by dump to
determine storage load.
(NCP2, NCP#)
'068B'
SYSB7
(SYSFLG1)
NCP Level
X'Ox'
X'3x'
X'5x'
NCP1 & 2
NCP3& 4
NCP#
Load module type
X'xl'
X'x2'
X'x3'
X'x5'
X'x6'
X'x7'
X'xA'
X'xB'
X'xE'
'0692'
SYS819
(SYSFLG2)
NCP
EP
PEP
NCP/LR
PEP/LR
NCP/R
EP3.0
PEP EP3.0
PEP/LR EP3.0
General communication byte.
1 ...
....
.x ..
....
.. x .
•• • X
....
....
.... x ...
....
.x ..
....
.. x .
...
.. . x
At least one type 2 channel
adapter is inoperable.
Panel support (NCP2, #)
l=NCP
O=EP
1=PEP line switch in system,
O=not available.
(Reserved) .
1=CSB1 in diagnostic mode .
O="ot.
1=CSB2 in diagnostic mode .
O=not.
1=CSB3 in diagnostic mode .
O=not.
1=CSB4 in diagnostic mode .
O=not.
Data Area Layouts
195
XDB
Offset/Field Name
Bit Pattern!
Hex Value
Program level interrupted by
level 1.
'06A8'
RTRB3
1 ...
. 1 ..
.. 1.
... 1
....
....
....
...
'06BO'
RTRB11
1 ...
. 1 ..
.. 1 .
... 1
....
....
....
....
1 ...
....
'06B6'
RTRB17
.x .. ....
196
Contents
Program
Program
Program
Program
level
level
level
level
2
3
4
5
interrupted.
interrupted .
interrupted .
interrupted .
Last level interrupted,
on entry to level 1.
Program level 2 interrupted.
Program level 3 interrupted .
Program level 4 interrupted .
Program level 5 interrupted .
Field engineering hook/escape
byte.
Allow additional register fange
(AARRI
l=dump
(Fno dump
3704 and 3705 Program Reference Handbook
XDH
HALFWORO DIRECT ADDRESSABLE STORAGE
Program: NCP
Located in: Controller storage beginning at location X'070D',
Size in bytes: 128(80)
Created by: NCP generation.
Pointer to XDH: None. Fixed location.
Function: Contains frequently accessed system control fields.
ROS Contained Code Save Area Sub-Block (XDHROS)
The following fields are present in a dump.
'0702'
'0700'
ROSH1
(ROSWK1)
Work area for lPL phase 3 channel
command word.
'0704'
ROSH2
(ROSSVADR)
Program level 1 adapter interrupt
requests (external register X'16'),
'0706'
ROSH3
(ROSSVCCR)
Program level 1 CCU checks
(external register X'70'),
ROSH4
(ROSSVCCU)
Program level 1 CCU interrupt
requests (exte, nal register X'7E'),
'070A'
'0708'
ROSH5
(ROSWK2)
Work area for dual ROS and 3704
ROS standalone diagnostics
'070C'
ROSH6
(ROSWK3)
Work area for dual RDS type 1 load
and 3704 ROS standalone diagnosticS.
'070E'
ROSH7
(ROSWK41
Work area for standalone channel
adapter diagnostics (3704 only).
ROSHB
(ROSWK5)
Work area for 3704 ROS while loading
over the type 1 channel adapter.
The following fields are present during program execution.
'0700'*,**
TMRF
(CYATMPTRI
Channel vector table save area for timer.
'0704'
TIMH1
(TiMCHTOS)
Attention time·out field
for secondary channel adapter.
'0702'
TIMH4
(TiMCHTD)
Attention delay interval for channel
adapter.
'0706'
TIMH8
(TIMCHTO)
Attention time-out field for primary
channel adapter
* Not used by EP.
**Fields used only by PEP.
Data Area Layouts
191
XDH
Bit Service Interrupt Module Control Block (8 bytes) (XDHBSP)
'070S'
'070A'
SYSH22
(BSPSAVE)
Saved BCBL2 address interlock.
'070C'
..
SYSH23
(SSPFUNC)
Function control switch for type 1
scanner panel-initiated lew display.
'070E'
SYSH24
ISSPOISP)
Scanner data set leads display.
'0710'**
RTRH2
IRTRSW)
Program level 3 router return entry
point (CXCCRTRRI.
'0712'**
OCBHl
IOCBF)*
IOCSFLAGS)
OCST
(OCSTIO)
QCB table.
EP f1ags
or
CHCSA02*'*
(CYECHCP2)
CA4 CHCS pointer
or
CHCBA01***
ICYECHCP1)
CA4 CHCB pointer
'0714'"
'0716'**
PDSOF
(PDSOFRST)
Address pointer to first eGB in the
priority data service out queue.
PDSOL
IPDSOLAST)
Address pointer to the last eGa in the
priority data service out queue.
---_.or ----
-------or
Reserved
INCP#)
Reserved
INCP#)
'0718'"
'071A'"
DSOF
(OSOFRST)
Address pointer to the first
eGa
in
the data service out queue.
DSOL
(OSOLAST)
Address pointer to the last eGa on the
data service out queue.
or
TMRF***
ICYATMPTR)
Pointer to next CHVT to be
checked by timer routine
'071C'**
or
PSCA'"
(CYEPSCA)
Pointer to CHCB
initialized for panel use
'071 E"*
DSIF
IDSIFRST)
Address pointer to the first CCB in .
the data service in queue.
----
._.
DSIL
IDS I LAST}
Address pointer to the last CCB in the
data service in Queue.
or
LOGADD***
ILOGADDR)
Pointer to error log
198
- - -
3704 and 3705 Program Reference Handbook
or
ABARSAVE*"
ISAVEABAR)
Contents of ABA R
at 'level 1
XDH
'0720'"
'0722'"
SOF
(SOFRST)
-
SOL
(SOLAST)
Address pointer to the first CCB in
the status out queue.
-
- -
-
or
LlINTREO'"
(SAVELlNT)
-
Address pointer to the last eCB in the
status out queue.
- -
- -
-
-
- -
'0726'"
'0724'"
SNOF
(SNOFRST)
SNOL
(SNOLAST)
Address pointer to the first eCB in
the sense out queue,
Address pointer to the last eGB in the
sense out queue.
or
LOGINDIC'"
(LOGIND)
or
HNGPGMSW
(CYEHUNG)
Unhang subchannel
switch: X'01 '=Action is in progress
-
-
-
-
- -
Log-trace indicator:
X'Ol'=Log entry to be stored at
byte displacements 6 and 7 of
the trace entry.
- - - -
to unhang subchannels.
'072A'"
'0728'"
SSF
(SSFRST)
SSL
(SSLAST)
Address pointer to the first eCB in
the stacked status queue.
Address pointer to the last eCB in the
stacked status queue.
.
-
Contents of Input
X76' at level 1
(Adapter request)
Contents of Input
X79' at level 1
(I nterrupted level)
-
-
or
L1CAREQ***
(SAVEADRO)
or
or
Reserved
(NCP#)
Reserved
(NCP#)
Indicates a byte expansion follows.
**Fields used only by PEP.
***Fields used only by EP (new base).
Data Area Layouts
199
XDH
Type 1 Scanner QC8 for Character Transfer Between Character and Bit
Service (XDHCSPQ)
'072C'
'072E'
CSPQHl
(CSPOOFF)
CSPOH2
First BCa address. BCSs are taken
(CSPQON)
off the chain from this end,
Last BCa address. BCSs are added to
the chain at this end.
'0730'"
(CSPQ2)
'0732'
SVCO
SVCOUT
(Reserved)
or Reserved
(NCP# and EP new base)
'0734'
(Reserved)
**Field used only by PEP
QCB for CCBs Passed to Program Leval 3lrom Program Leval 2 (XDHCCPQ)
'0736'
CCPQHT
(CCPQOFF)
Address of first CCB. CCS's are taken
off the chain from this end.
'0738'
CCPOH2
(CCPQON)
Address of last eCB. CCS's are
added to the chain at this end.
TImer Sub-(;ontrol Block IXDHTIM)
'073A'
TIMH6
Tenths of a second
counter.
'073C'
'073E'
TlMH2
(TIMWKTAB)
TlMH3
(TIMWKTNX)
Address of current line timer
Pointer to the next low-resolution eTB
subchain to be serviced.
controllwork table.
'0740'
'0742'
TIMPADH
(Reserved)
TlMH9
(TIMCTBAD)
Pointer to start of CXTCTB
Supervisor Sub-(;ontrol Block (XDHSYS)
'0746'
'0744'
SYSH3
(SYSIOON)
SYSH4
(SYSIOOFF)
Pointer to end of system immediate
Pointer to the beginning of the system
queue.
'0746'
SYSH9
(SYSPOON)
Pointer to the end of the system
productive queue.
200
immediate queue.
'074A'
SYSH10
(SYSPOOFF)
Pointer to the beginning of the system
productive queue.
3704 and 3705 Program Reference Handbook
XDH
'074E'
'074C'
SYSH18
(SYSAOON)
Pointer to the end of the system
appendage queue.
SYSH19
(SYSAOOFF)
Pointer to the beginning of the system
appendage queue.
'0752'
'0750'
SYSH20
(SYSNOON)
First triggered non-productive OCB.
SYSH21
(SYSNOOFF)
Last triggered non-productive aCB.
'0756'
'0754'
SYSHl
(SYSBPCBC)
Current free buffer count.
'0758'
SYSH5
(SYSLINES)
Number of communication lines.
SYSH2
(SYSBPTBC)*
Free buffer threshold count + 1.
'075A'
SYSH8
(DCTAOCB)
(SYSAOCB)
System active queue control block.
'075C'
'075E'
SYSH12
(DCTSAVEK)
(SYSSAVEK)
System save area buffer pool
allocation count.
SYSHll
(DCTSPOOL)
(SYSSPOOL)
Pointer to first buffer in system
save area pool.
'0762'
'0760'
SYSH13
(DCTABND)
(SYSABND)
System abend code.
SYSH14
(SYSB)NTM)
System binary time of day in seconds.
'0766'
'0764'
SYSH16
(SYSCUREO)
SYSH15
Second halfword of system
binary time of day field
'0768'
SYSH17
Second halfword of
SYSCUREO
'076C'
.
Time value for earliest expiring current
system timer reauest.
'076A'
(Reserved).
'076E'
(Reservedl.
(Reserved).
Indicates a byte expanSion follows.
Channel Adapter Interrupt Handler Save Area (XOHCHSV)
'0770'
'0772'
CHSVHl
(CHSVBKSZ)
CHSVH2
(CHSVCHB)
Maximum byte count to host per
Pointer to CHB or COB.
host start 1/0.
Communication Control Program Save Area (XDHCCP)
'0774'
CCPHl
(CCPSAVE)
Save area for program level 3 CCP.
Data Area Layouts
201
XDH
Program Level 1/3 Router Sub-Control Block (XOHRTR)
'0176'
RTRHl
(RTRBARSV)
Save area for scanner buffer address
register.
'0778'
'077A'
(Reservedl.
(Reserved).
'077C'
'077E'
RTRH6
(RTRL2GOA)
level 2 interrupted JAR (16 bits)
RTRH10
(RTRCASEL)
Save area for CA selection mask.
Byte Expansions
Offset/Field Name
X'0710'
QCBF
Bit Pattern/
Hex Value
1 •..
. 1 ..
.. 1 .
.. 1
...
....
X'0756'
SYSH2
(SYSBPTBC)
202
Contents
EP flags. (PEP)
....
Set suppress out down.
....
Set sense service .
Set TIO sequence .
Do not dequeue from stacked status queue.
....
...
1 ...
.1 .
Set stacked status service .
Set panel command .
User requested slowdown threshold
0001
50%
0002
25%
0003
12%
3704 and 3705 Program Reference Handbook
Section 3: BTU Commands and Modifiers
Following is a list of the BTU commands with a brief description of each modifier and the
hex value and acronyms of each.
Contact Command (X'06')
No modifiers
Control Command (X'OS')
Modifier
Command
(Hex)
Meaning
Display line status
01
Displays current status of the line.
Replace session initiation
information for a line
02
Replaces Lea information associated with the
initiation.
Activate Invites
03
Allows the NCP to honor all currently resident
Invite commands. (NCP1, NCP2).
Deactivate Invites
04
Negates all currently resident Invite commands
to prevent terminal-initiated sessions.
Copy session initiation
05
Accesses information associated with the
initiation of a session.
Displays the current status of a device.
(NCP1. NcP2).
information
Display Device Status
06
Request device statistics
07
Sends an MDR record to the host for every
device that has had activity since the previous
Display storage
08
Displays 32 contiguous bytes of communications controller storage specified by the user.
Set time and date
09
Replaces the time and date that is resident in
the communications controller. (NCP1, NCP2).
Set channel mode
OA
Changes the mode of the channel adapters.
This command is valid only when. it is sent
over the current primary channel adapter.
(NCP1. NCP2)
request. (NCP1. NCP2).
(NCP1. NCP2j.
secondary
(NCP1. NCP2).
Display line's network
address
Activate line trace
OB
Gives network address of line associated with
a devi~e. (NCP#)
OC
A diagnostic and debugging aid. The following
ICW fields are stored into buffers each time
a level 2 interrupt occurs: (NCP1, NCP2),
• Line Control Definer (LCD)
• Primary Control Field (PCF)
• Secondary Control Field (SCF)
• Parallel Data Field (PDF)
Termina~u!w line trace on a designated line.
Terminate line trace
00
Change modem
12
Allows the user to change the speed at which
the appropriate modems operate a line.
Set channel mode
primary
15
Changes the mode of the channel adapters.
This command is valid only when it is sent
over the secondary channel adapter.
Copy destination mode
18
Accesses the mode information of a device
from the OVB. (NCP1. NCP21.
Copy device session
21
Accesses the .device's polling charact.er,
addr.essing characters,. and if the device
is switched call-out, the dial digits.
(NCP1. NCP2).
speed
(NCP2. NCP#).
(NCP1. NCP21.
information
BTU Commands and Modifiers
203
Modifier
Command
Replace device session
information
(Hex)
22
Meaning
Replaces the device's polling characters
and addressing characters in the OVB. If
the device is switched call-out, it replaces
the dial digits in the COE.
Breaks the physcial dial connection. (NCP#J.
Physical disconnect
1C
Reset error lock
41
Reset device queues
42
Request control mode
reset
Reset immediate
43
Sends RVI on SSC lines. (NCP#).
44
Ends the current operation on a device without
regard to data loss.
Reset online terminal
test*
48
Aborts the execution of the chain of online terminal tests, tests diagnostic mode, and clears
the device queues.
Switch-to backup
4A
Requests switched line backup.
Switch from backu p to
primary
4C
Requests that the primary line be activated.
Reset Invite
4D
Returns pending Invite command to host.
Reset conditional
50
Reset at end of
command
60
Tests the status of the top command for the
device. If data transfer has not started, the
reset takes place immediately. If data transfer
has started, the reset is not done.
Ensures that the device input queue and device
work queue are idle and empty so a new
sequence of operations can begin.
Clears the error lock condition on a device. The
first request on the device work queue is
honored at the completion of this command.
Returns all commands for a device that were
accepted but not yet honored. The response
BTU of the returned commands indicates that
they were reset.
(NCP#).
Switch to EP mode
82
Switches the line mode from NCP to EP. (NCP2).
Switch to NCP mode
Change line serviceseeking pause
83
Switches the line mode from EP to NCP_ (NCP2).
Allows the user to change the length of the
pau'se between service-seeking attempts.
Change line negative
poll response limit
85
Allows the user to change the number of
consecutive negative responses to polling that
are acceptable before termination of the Read
Change session limit
86
Allows the user to change the maximum number
of sessions permitted on a line at the same time
Change device transmission
limit
8C
Allows the user to change the number of EOTs
that the controller sends to or receives from a
de\lice before servicing other devices on the
Modify block handler
set association
Activate line
8D
Activates, deactivates, and/or changes the
association of a block handler set with a device.
Activates a line for data transfer. (NCP1, NCP2).
84
(NCP1, NCP2).
command. (NCP1, NCP2).
(NCP1. NCP2).
line. (NCP1, NCP2).
98
*In NCP3 the command is sent in the Request Unit of a FI01 execute test
request.
204
3704 and 3705 Program Reference Handbook
.
Modifier
(Hex)
Command
Deactivate orderly
(Line flush)
Meaning
99
Causes a Deactivate Device operation for each
device on the line without changing the device
status. Currently resident commands are
honored, but no new commands are accepted.
Set destination mode
9A
Replaces the device mode flags for a particular
device.
Deactivate line halt
C2
!;nds the current operation on the line without
regard to data loss. All outstanding requests
are returned to the host. (NCP1, NCP2).
(NCP1, NCP2),
Disconnect Command (X'07')
Modifier
Command
Disconnect normal
Disconnect with
Invite
(Hex)
Meaning
Di
00
01
No modifier.
Executed as a Disconnect normal command
followed by an Invite normal command.
Disconnect with endof-call
De
02
For switched lines, this modifier results in the
physical connection between the terminal and
the communications controller being broken.
For all other lines, this modifier is the same as
normal.
Disconnect with EOC
and Invite
Dei
03
Executed as a Disconnect with end-of-call
followed by an Invite command.
D
Invite Command (X'OS')
Modifier
(Hex)
Command
Invite normal
00
Meaning
Unit of data for this command is that specified
by the TERMINAL macro at NCP generation.
Invite block
Ib
01
Unit of data for this command is the block
(ends with EOB).
Invite message
1m
02
Unit of data for this command is the message
Invite transmission
It
03
Invite transmission
with Disconnect
Invite with auto
restart
Id
04
Unit of data for this command is the trans·
mission (ends with EOT).
Executed as an Invite transmission command
followed by a Disconnect command.
I.
05
Ip
06
{ends with ETX (BSC) or EDT (55),
Invite perpetual (valid
only for clusters)
Executed as unbounded series of Invite with
Disconnect commands. This command must be
terminated with a reset reqL.!cst.
Executed as an unbounded series of Invite transmission commands with no intervening Disconnect commands.
Read Command (X'Ol')
Modifier
(Hex)
Command
Read normal
R
00
Read block
Rb
01
Read message
Rm
02
Meaning
Unit of data for this command is that specified
by the TERMINAL macro at NCP generation.
Unit of data for this command is the block
(ends with EOB).
Unit of data for this command is the message
(ends with ETX (BSC) or EDT ISS)).
BUT Commands and Modifiers
205
Modifier
(Hex)
Command
Meaning
Read transmission
Rt
03
Unit of data for this command is the transmission (ends with EOT).
Read transmission
Disconnect
Rd
04
Executed as a Read transmission command
followed by a disconnect command.
Read with Invite
Ri
05
Executed as a Read transmission with
Disconnect followed by an I nvite normal
command.
Restan Command (X'04')
Modifier
(Hex)
Command
00
01
Line
Device
Meaning
The BTU contains a checkpoint record for a line.
The BTU contains a checkpoint record for a
device.
Replace session initiation
information for a line
02
The BTU contains session initiation information
for a line.
Replace session initiation
information for a device
22
The BTU contains session initiation information
for a device.
Test Command (X'03')*
Modifier
(Hex)
Command
Meaning
Test device normal
T
Test device with
Contact
Test device with
Disconnect
Te
Td
02
Ends a session with the device to be tested.
Test device with
Contact and
Disconnect
Test line normal
Ted
03
Establishes and ends a session with the device
to be tested.
TI
Tie
04
05
Tests a line.
Test line with
Contact
Test line with
Disconnect
Tid
06
Ends a session with the line to be tested.
Test line with Contact
and Disconnect
Tied
07
00
01
Tests a device.
Establishes a session with the device to be tested.
Establishes a session with the line to be tested.
Establishes and ends a session with the line to
be tested.
Write Command (X'02')
Modifier
(Hex)
Command
Meaning
W
Wm
00
01
Write with end-oftransmission
Wt
02
Unit of data is one block followed by the
control sequence for end of transmission.
Write with Disconnect
Wd
03
Executed as a Write transmission command
followed by a Disconnect command.
Write with Read
(implied EOT)
Wr
06
Executed as a Write command followed by a
Read command.
Write normal
Write with end-ofmessage
Unit of data is one block.
Unit of data is one block followed by the
appropriate control sequence or character for
an end of message.
*'n NCP# these commands are sent in the Request Unit of a FIDl execute test request.
206
3704 and 3705 Program Reference Handbook
Modifier
(Hex)
Command
Meaning
Wi
07
Executed as a Write command with end-oftransmission followed by a Disconnect
command and then an Invite command.
We
08
Executed as a Contact command followed by a
Write normal command.
Write with Contact ....
(implied EXT)
Wem
09
Executed as a Contact command followed by a
Write with end-of-message.
Write with Contact U
(implied EOT)
Wet
OA
Executed as a Contact command followed by a
Write with end-of-transmission.
Write with Contact**
and Disconnect
(implied ETX & EOn
Write with Contact H
Wed
OB
Executed as a Contact command followed by a
Write with end-of-transmission followed by a
Disconnect command.
Wer
OE
Executed as a Contact command followed by a
Write with end-of-transmission followed by a
Read normal command.
Write with Invite
Write
with Contact ....
and Read
HContact may not begin a telephone connection to a SSC call·in device.
Unsolicited Response (X'77') (See Section 7)
STU Commands and Modifiers
207
Section 3,1: NCP Channel Commands
Command
Command
Code
Description
No-Op
X'03'
This command is required as the last CCW in a
Read
X'02'
The Read command is initiated at the Nep.
Data at controller storage is transferre~ to CPU
main storage.
Read Start 0
X'32'
This is the first command expected in the Read
Channel program after IPL of the NCP. It is
also expected after each successful Read Start 1
Read Start 1
X'52'
This is the second command expected in the
Read Channel program after IPL of the NCP.
It is also expected after each successful Read
Start 0 command.
Reset Restart
X'93'
This command causes the NCP to reset its
switches to indicate that the last Write Start
and Read Start commands were Write Start 1
and Read Start 1.
Write
X'OI'
The Write command is initiated to the NCP.
Data in the CPU main storage is transferred to
the NCP.
Write Break
X'Og'
The Write Break command is identical to the
Write command except that it is used to indicate that it is the last or only Write command
in a chain of Write CCWs.
Write Start 0
X'31'
This is the first command expected in the Write
Channel program after IPL of the NCP. Itis
also expected after each successful Write Start 1
command.
Write Start 1
X'51'
This is the second command expected in the
Write Channel program after IPL of the NCP.
It is also expected after each successful Write
Start 0 command.
Read or Write CCW chain.
command.
Note: Data transfer does not occur on Read
S~art
and Write Start commands.
NCP Channel Commands
209
Section
4:
NCP# Network Commands (Request Codesl
Byte 0, bits 1 and 2 of the request response header of the PIU indicates the type of network command in process.
If byte 0, bits 1 and 2 are 11, see "Session Contro'" below for the network commands
located in byte 0 of the request/response unit.
If byte 0, bits 1 and 2 are 10, see "Data Flow Control" below for the network commands
located in byte 0 of the request/response.
If byte 0, bits 1 and 2 are 01, see "Network Control" below for the network commands
located in byte 0 of the request/response unit.
If byte 0, bits 1 and 2 are 00, see "FUnction Management Data" below where byte 1 of
the request!response unit contains the subcategories for (1) SSC/55 Services (2) Physical
Configuration Services, and (3) Physical Maintenance Services. Byte 2 of the request/response unit contains the network commands associated with the subcategories listed.
Session Control
TH
I
Byte
0
Bits 1,2
B'11'
I
L
RH
System control
Control
I
Request
Code
X'OD'
Command
Activate Logical
X'OE'
Deactivate Logical
X'11'
Activate Physical
X'12'
Deactivate Physical
X'31'
Bind
X'32'
Unbind
X'AO'
Start Data Traffic
X'A1'
Clear
X'A2'
X'A3'
Set and Test
Sequence Numbers
Request Recove~y
I
By
teO
Request
Code
I
RU
I
Function
Establishes a session between the SSCP and a
logical unit.
Terminates the session between the SSCP and the
logical unit.
Establishes a session between the SSCP and the
NCP Of PU physical services.
Terminates the session between the SSCP and
the NCP or PU physical services.
Establishes a session between a host application
program and a logical unit.
Terminates the session between the host application program and a logical unit.
Enables data flow in a session. It is the final
request in a data flow initialization or recovery
procedure.
Removes and discards all PIUs with the same
OAF /OAF pair from the destination process
queue.
Resynchronizes the specified sequence number.
Initiates data traffic recovery procedures.
NCP# Network Commands
211
Data Flow Control
TH
I
Byte1,0 2'
Bits
B'10'
L
I
RH
I I
I
RU
By
teO
Ftequest
Code
IFunction Management'
Controll
Request
Code
Command
Functioll
X'04'
Logical Unit Status
Sends status information from a logical unit to its
session partner.
Used in bracket protocol to indicate that the
bidder is now allowed to initiate a bracket.
Directs a fUnction manager to enter the quiesce
state at the end of the chain it is currently sending.
Indicates that the issuer of the request has placed
itself in the quiesce state.
Releases a function manager from th86
quie_see state.
X'OS'
Ready to Receive
X'SO'
X'Sl'
Quiesce at End of
Chain
Quiesce Complete
X'S2'
Release Quiesce
X'S3'
Cancel
X'S4'
Chase
X'CO'
Shutdown
X'Cl'
Shutdown
Complete
Request Shutdown
X'C2'
X'CS'
Bid
X'Cg'
Signal
212
Terminates a partially sent chain of FM data
requests.
Requests the receiving fUnction manager to return
all outstanding data responses and data flow
control responses.
Requests the secondary function manager to enter
the highest level of quiesce.
Indicates that the sender has shutdown.
Informs the primary function manager that the
secondary function manager is at 'end of job'
and to issue a Shutdown request.
Used in bracket protocol to request permission
to begin a bracket.
Sends an expedited signal through the network
against the normal flow of data.
3704 and 3705 Program Reference Handbook
Network Control
TH
RH
JBYteo!!
Bits 1, 2
B'Ol'
L
J
By
teO
Request
I
RU
Code
System Control
Data
I
Request
Code
Command
X'07'
Auto Network
Shutdown Complete
Initialization
Complete
Switch Une to
X'50'
X'51'
Function
Informs the SSCP that the NCP auto network
shutdown is complete.
Informs the SSCP that the NCP initializat,ion
is complete.
Switches line from EP mode to NCP mode.
NCP Mode
(BSC/SS)
X'52'
Switch Line to
Switches line from NCP mode to EP mode.
EP Mode (BSC/SS)
Function Management Data
RU
RH
TH
00
esc/ss Services
02
03
06
Physical Configuration Services
Physical Maintenance Services
Session Services
X'OO' BSC/55 Services
Request
Code
X'Ol'
X'02'
X'03'
X'04'
Command
Change Device
Transmission Limit
Change Line
Negative Poll
Response Umit
Change Line
Session Limit
Change Une
Service Seeking
Pause
Function
Allows user to change the number of EDTs that
the NCP sends to or receives from a device on a
SSC/SS multipoint line before servicing other
devices on the line.
Allows user to change the number of consecutive
negative responses to polling that are acceptable
before termination of the Read command.
Allows user to change the number of BSC/55
sessions that can be active on this SSC/5S line.
Allows user to change the length of the pause
between service seeking attempts.
NCP# Network Commands
213
X'02' Physical Configuration Services
Request
Code
X'Ol'
X'02'
Command
Contact
Function
Starts a contact poll operation to an SOLe station
or remote communications controller.
Causes the NCP to stop polling a resource.
X'03'
Discontact
Load Initial
X'04'
Load Data
X'OS'
Load Final
X'06'
Dump Initial
Initiates a remote communications controller
storage dump.
x'or
Dump Data
Causes the remote NCP to send a portion of its
storage to the SSCP.
Informs the remote communications controller
that the dump procedure is complete.
Invokes a power-off sequence in a remote
communications controller.
Activates the data set associated with the SDLC
link and initiates the continuous transmission
of flag characters.
Deactivates the data set associated with the link.
X'OB'
Dump Final
X'09'
Remote Power Off
X'OA'
Activate link
X'OB'
Deactivate link
X'OE'
Dial
X'OF'
Abandon
Connection
Set Control Vectorchannel attention
delay
X'll'
Set Control'
Vector-LU
Set Control
Vector-PU
Set Control
Vector-NCP
Subarea
Set State Vectortime and date
I
Initiates the IPL of a remote communications
controller.
Transfers the text of a load module to a remote
communications controller.
Informs the remote communications controller
that the load process is complete and requests it
to provide the NCP entry point to be given control.
Causes the NCP to initiate an outbound call on a
switched SDLC link. For auto dial, the NCP
performs the dial operation with the dial digits
provided in the command. For manual dial, the
NCP enables the link and the operator performs
the dial operation.
Causes the physical unit to terminate a switched
connection.
RU, byte 5: X'05'
Allows the SSCP to change the channel attention
delay value in the COB (type 1/4 CAlor CHB
(type 2 CAl.
Note: The SSCP is not allowed to change atten·
tion delay in a remote NCP.
RU, byte 5: X'04'
Changes dynamic fields in the logical unit control
block (LUB) and completes initialization of the
logical unit vector table (LUVJ.
RU, byte 5 : X'03'
Changes dynamic fields in the common physical
unit block (CUB) that are associated with the
specified physical unit.
RU, byte 5: X'02'
Associates a remote NCP's subarea with a
particular SOLC link.
RU, byte 5: X'Ol'
Allows the SSCP to replace the time and date in
the NCP. The time is maintained in 24 hour
continental time.
Note: The SSCP is not allowed to retrieve the
time and date with a Sense State Vector request.
214
3704 and 3705 Program Reference Handbook
i
X'02' Physical Configuration Services (Cont.)
Request
Command
Function
X'14'
Entering Slowdown
Informs the SSCP that the normal flow of data in
the NCP is impeded due to limited available buffers.
X'15'
Exiting Slowdown
Informs the SSCP that the limitation on NCP
buffers is lifted. Normal data flow to the NCP
may resume.
X'16'
Answer
Causes the NCP to put the specified link in
answer mode. This enables the link to answer
incoming calls.
X'l7'
Abandon
Answer Mode
Causes the NCP to discontinue answer mode
on the specified link.
X'lB'
Abandon Dial
X'19'
Assign Network
Addresses
Causes the NCP to halt the dialing operation
over the specified link.
Assigns a set of network addresses to a specified phvsical unit. (SDLC switched link only)
X'lA'
Free Network
Addresses
Causes the NCP to free the network addresses
that were assigned to a physical unit.
X'BO'
Contacted
Informs the SSCP of conditions presently
existing in the resource.
X'Bl'
Inoperative
Reports a loss of contact to the SSCP.
X'84'
Off Hook
Informs the SSCP that a physical connection
has been established between the NCP and a
physical unit. (Contains the station ID)
Gode
X'03' Physical Maintenance Services
Request
Gode
Command
Function
X'Ol'
Execute Test
Causes the NCP to execute an online terminal test
(OLTT) or online link test (OLLT) for the resource
specified by the network address.
X'02'
Activate Une Trace
Causes the following ICW fields to be stored into
. buffers- each time a level 2 interrupt occurs:
.' line Control Definer (LCD)
Primary Control Field (PCF)
• Secondary Control Field (SCF)
• Parallel Data Field (PDF)
.>
This is a diagnostic and debugging aid.
Terminates line trace.
X'03'
Deactivate Line
Trace
X'81'
Record Maintenance
Statistics
Sent to SSCP whenever certain error conditions
exist.
X'82'
Record Test Data
Informs the SSCP of the current status of an
online terminal test (OLTTI or online tine
test (OLLT).
X'83'
Record Trace Data
Sends line trace information to the SSCP.
NCP# Network Commands
215
Request
Code
X'04'
Command
NS Procedure Error
X'81 ,
Initiate Self
X'83'
Terminate Self
216
Function
Informs the issuer of a non..sequenced request
that an error occurred after the request was
accepted but before the procedure completed.
Allows a logical unit 10 request a session with
the SSCP.
Allows a logi.cal unit to request the termination of a session with the SSCP.
3704 and 3706 Program Reference Handbook
The following command sequence is followed for bring-up and session initiation for
switched SOLC. The non-switched SOLe sequence is provided by skipping those entries
identified as being required for switched. The following command sequence is found
on a PIU trace (VTAM 10 trace).
Command
Activate Physical
Initialization Complete
Start Data Traffic
Set State Vector
Set Control Vector
Description
From SSGP to NCP physical services
From NCP physical services to SSCP
From SSGP to NCP physical services
From SSGP to NGP physical services
From SSCP to NCP physical services
Activate Link
Answer or Dial (Switched)
From SSCP to NCP physical services
SSCP to physical services CPM·QUT
Off-Hook (Switched)
Set Control Vector PU (Switched)
Physical services to SSCP
SSCP to physical services
From SSCP to NCP physical services
Contact
Contacted
Activate Physical
Assign Network Addresses (Switched)
Set Control Vector LU (Switched)
Activate Logical
Initiate Self (Logical Unit initiated
logon only)
NCP physical services to SSCP
SSCP to CPU physical unit process queue
SSGP to physical services
SSCP to physical services
SSCP to LU/SSCP process queue
From LU to ssep
Host application to LU
Bind Command
From host application to LU
Start Data Traffic
Inoperative*
From NCP physical services to SSGP
*May be required at any point in the command sequences after the Activate Link
command.
NCP# Network Commands
217
Section 5: SOLe Commands and Rasponses (NCP#)
Non-sequenced Format:
Control
Commands
Field
Set Initialization Mode
0001 0111
Function
Initiates system-specified procedures at the
Command (SIM).
receiving secondary station for the purpose
DiSconnect Command
0101 001.1"
of initializing link-level functions.
Terminates other modes and places the
receiving secondary station effectively
1001 0011
Subordinates the receiving secondary
(DISC).
offline.
Set Normal Response
Mode Command
station to the transmitting primary station.
(SNRM).
Exchange Identification
10111111
Used by the NCP to solicit the station
identification from a secondary station.
1111 0011
SOLe Test command.
0001 0111
Notifies the primary station that the
secondary station has a need for a 81M
command.
0001 1111
Indicates that the. transmitting secondary
station is disconnected.
Affirms a response to a SNRM or SIM
command.
(XID)
Test
Responses
Request Initial ization
Response (Rail.
Request Online Response
(RDL)
Nonsequenced
Acknowledgment
Response (NSA).
Command Reject
0111 0011
1001 0111
Rejects a non·valid command.
Response (CMDR).
SUpervisory Format'
Commands
Control
Field
Receive Ready (RR)
xxxx 0001
Function
Indicates the originating station is ready
to receive.
Receive Not Ready
xxxx 0101
(RNR)
Reject (REJ)
LL
xxxx 1001
xxxx 1101
Indicates a temporary busy condition in
which no frames requiring buffer space
can be accepted.
Requests transmission or retransmission of
sequenced information.
Reserved
xxxx
poll final bit.
Receive sequence count.
I Format:
TtL~
___",
Poll/final bit.
Receive sequence count.
SDLC Commands and Responses (NCP#)
219.
Section 6: EP Command Codes
Operation Code
S/360 and
S/370
EP**
0000
0000
0001
0001
0001
0001
0001
0001
0001
0001
0001
0010
0010
0011
0100
0100
0101
0101
0110
0110
0111
0111
1000
1000
1001
1001
O ..
1 ..
O. ..
1 ..
1 ...
1._
1 ...
1 ..
1 ...
1 ...
1 ...
0 ...
1 ..
0 ..
O.
1. -.
0._
1 ..
O.
1.
O.
1 ..
0 ..
1.
O.
1.
Command
00
Test I/O
01
Write
02
03
12
Read
I/O No-op
lB
Diagnostic Read*
Diagnostic Write *
Set Address Zero *
Set Address One *
Set Address Two·
1F
Set Address Three*
06
13
17
Diagnostic Poll *
Sense
1D
04
15
06
41
09
OA
19
42
00
OE
2F
27
29
lE
23
Wrap
Prepare
Write Break
Poll
Inhibit
Poll SOH
Read Clear
Break
Search
Disable
Enable
Dial
Address Prepare
Set Mode
Flags used during initial command execution (ICE)
.1.
.... .. 1 .
.1
...
I
I
End with intervention required instead of
command reject.
Sense command
Line must be enabled before this is accepted .
:",Fla9S urafter ICE
Command end
Pseudo read
Pseudo read end
Treated by the emulation program as a no-op.
HThe EP command is located in the CCBCMD field of the EP eca.
.
.... ... 1
I
EP Command Codes
221
Section 7: BTU Responses
This appendix lists the responses that are returned to the host in the BTU. The response
comprises two bytes: system response (BCUSRES) and extended response (BCULRES).
The extended response is also referred to as the line response.
Iystem Response Byte
T -r=='---_____
00000000
System response code
' - - - - - - - - - P h a s e to which the response applies
Phase 0 - Validation of BTU. There is no normal response
returned to the host if the command is valid. However,
unsolicited responses are sometimes sent to the host in
phase 0 that are not related to the command.
Phase 1 - I/O to a communications line.
Phase 2 - Additional 1/0 to a communications line when
multiple liD operations take place. For example, Write
with Read, Write with Disconnect. etc.
Phase 3 . Usually the final normal response to a command. However, if the command has an Invite modifier
(for example, Write with Invite), a phase 3 normal
response may be returned for the write portion of the
command and a phase 0 error response returned later for
the Invite portion of the command.
' - - - - - - - - - - l = e r r o r response
O=normal response
BTU Responses
223
Command
& Modifier
Phase 0*
Error
I
Ib
1m
Any part
It
Id
Any part
la
Ip
Any part
D
De
Di
Any part
Dei
Any part
W
Wm
Wt
Wd
Wi
Wr
Any part
Any part
Any part
Any part
Any part
Any part
Any part
Any part
Any part
Any part
Any part
Any part
We
Wem
Wet
Wed
Wer
R
Rb
Rm
Any part
Any part
Any part
Any part
Any part
Normal
I
I
I
I
I
I
I
I
D
D
I
I
C/W
C/W
C/W
C/W
C/W
C
Any part
C
Phase 3**
Normal
1(linal)
Ib
1m
It
Id
la
D
D
Itor Rt
D
De
I
Any part
Any part
Normal
lor R
W/I
W
Any part
Any part
I
I
I
Rt
Rd
Ri
Any part
Error
I
D/I
D/I
W
W
W
W
R
R
R
R
R
R/I
Any part
Phase 2
Phase 1
Error
Wt
D
D
WtIR
D/l(linal)
D/I(linal)
W
Wm
Wt
Wd
Wt/R
Wt
D
Wt/R
R
R
R
R
R/I
D
D
We/R
Wd/l(linal)
R (Iinal)
We
Wem
Wet
Wed
R(linal)
R(linal)
R(linal)
Rm
Rt
Rd
'Rd/illinal)
C
"Phase 0 error responses can be returned for any portion of a BTU on which there is a
validity error.
"'*There are no phase 3 error responses for TP commands.
224
3704 and 3705 Program Reference Handbook
I
Phase 0 Error Responses
Response (hex)
81
82
83
84
85
86
87
88
89
8A
88
8C
BD
BE
8F
91
92
93
94
95
96
97
98
99
9A
98
9C
9D
9E
Meaning
Invalid resource 10.
Invalid command.
Invalid modifier.
Reset or Deactivate in progress.
Device inactive.
Line inactive.
Command not valid for resource.
Command syntax error.
Command rejected, did not conform to SSC specifications.
Invalid control data length.
Reset not performed.
Data not resident in storage.
Dial set queue limit reached.
Line and device incompatibility on switched call-out.
Invalid text length.
Invalid control data.
Incomplete BTU.
Deactivate Line Orderly or Deactivate Device command
rejected because of error on one or more of the devices.
Data in use.
Invalid Control command modifier or Control command
not valid for resource.
OLTT command rejected, queue not empty.
OLT active_ Non-OLT command rejected.
Multiple Dial requests.
Mode inconsistency (Request was made to alter the mode of a
resource, but the resource was already in that mode.)
Buffers required to complete the operation are not available;
system in slowdown mode.
Command rejected, system in auto network shutdown.
Command rejected, error lock set.
Command rejected, secondary channel adapter not
operative.
Command rejected, line deactivated or command reset.
Phase 0 Unsolicited Responses
Response (hex)
00
01
03
04
05
06
07
08
09
OA
18
lC
1D
lE
Meaning
[nvalid bit configuration.
Attention time-out or unrecoverable error on current
primary channel adapter.
Device association completed.
MTA device identified.
Channel adapter set to primary mode.
Channel adapter set to secondary mode.
Entering system slowdown.
Leaving system slowdown.
Initialization complete.
MDR records accompany the BTU.
Auto network shutdown initiated via channel time-out or
channel adapter failure.
Auto network shutdown initiated via panel.
Network shut down via auto net,,:\,ork shutdown.
Serviceability aid-host logging.
BTU Responses
225
Phase 1,2, and 3 Error Responses
Response (hex)
Phase 3
Phase 1
Phase 2
AO
A1
A2
A3
CO
C1
C2
C3
A4
C4
A5
A6
A7
A8
C5
C6
C7
C8
EO
E1
E2
E3
E4
E5
E6
E7
E8
A9
AA
AB
AC
C9
CA
CB
E9
EA
EB
CC
B3
B8
B9
BA
03
08
09
OA
EC
F3
F8
F9
FA
BE
OE
FE
Meaning
Data check.
Possible intervention required.
Intervention required.
Negative poll limit reached-WAIT option.
Yielded to contention.
Device error-BSC status pending.
BSC 10 error.
Line trace terminated due to error.
OL TT command or Reset OL TT Control command
processing terminated.
Session not started due to hardware error.
BSC error status message.
General poll operation aborted due to error.
Fanout backup limit exceeded
Not used
Disconnected
Break received on this block.
Contact rejected-session started.
Dial data inconsistency.
Buffers required to complete operation are not
available.
Command rejected, line deactivated or command
reset.
Phase 1, 2, and 3 Normal Responses
Response (hex)
Phase 2
Phase 3
20
40
60
21
22
41
42
61
62
23
24
25
26
27
43
44
45
46
47
63
64
65
66
67
Phase 1
Meaning
Command executed OK this far. (Pertains to all
commands not represented by 22, 42, or 62.)
Leading graphics received.
One of the following commands executed OK
this far:
• Read or Invite
• Write (in conversational mode).
• WR or WCR commands in the read phase.
Negative poll limit reac.hed-QUEUE option.
OLTT request message.
BSC status message.
Negative poll limit reached-NOWAIT option.
Line trace output.
The following responses occur when the line is in monitor mode:
Meaning
Response
(Hex)
EC
EO
EE
EF
226
Disconnect received
IPL required
Permanent trunk error
Block from queue caused an abnormal condition.
3704 and 3705 Program Reference Handbook
Extended Response Byte
The extended response byte contains either a normal extended response or a conditional
extended response. The normal extended response appears in both BCUlRES and the
second byte of IOBSTAT. It has the following format.
TT?
O0 0
L._ _ _ _ _ _
-
Leading graphics flag
Final status of the line
Initial status of the line
A conditional extended response applies to one specific system response and does not
have a fixed format. It appears only in BCULRES.
Extended Responses
Initial Status
000.
001.
010.
011.
100.
111.
Control mode.
Text mode.
Transparent text mode (SSC only).
Heading mode (SSC only).
Special.
Hardware/user error.
Normal Final Status when Intial Status::::;: Control, Text,
Transparent Text, or Heading
...0000.
... 0 010.
.. 0011.
...0 100.
... 0 101.
.0 110.
... 0 111.
.1
.. 1
... 1
... 1
000.
001 .
010 .
011 .
.. 1 100.
. 1 101.
... 1 110 .
... 1 111 .
Time-out - Some character(s) have been received, but may
not be stored (Control model.
Cutoff - This bit i-ndicates that a controlled length field
(for example, an ID field) was too long and was cut off
at the end of the correct length .
Reply to transmitted data was an ENO - transmission is
aborted.,
An EOT was received on a block that began without an
STX. SOH, or @ , ie., text received in control mode.
End of OLE control (SSC only) .
Wrong ACK - ACK1 received when ACKO was expected,
or ACKQ was received when ACK 1 was expected.
For start-stop, NAK returned in response to a selection,
poll, write, or NAK reply to text.
For sse, an EDT returned in response to a selection,
poll, or write.
Received sub-block .
End of text.
End of block.
Data or leading graphics received with an ENO, or ENQ by
itself.
EOT received with no errors .
Reverse interrupt .
Positive ACK returned and no errors indicated on a write
operation.
WACK received (could be an error condition).
BTU Responses
227
Final Status when Initial Status = Special
· ..0 000-.
· ..0 001 .
· ..0 010.
· ..0 011 .
· . _0 100.
...0
...0
· ..0
... 1
.. 1
101 .
110.
111.
000.
001.
... 1 010.
... 1 011.
... 1
.1
... 1
... 1
100.
101.
110.
111.
Time·out with nothing received.
Command reject - should not occur error - set by the
communications scanner code.
Level 2 and level 3 buffer pools depleted -level 5 may still
have buffers left. When this bit is on, data is lost.
Selected (BSC tributary only).
Received disconnect Signal on TWX or DLE/EaT on
BSC.
Data was received when it was not expected .
A reset occurred.
The device has been polled.
Transmitted sub·block (NCP2, NCP#).
An EaT was sent after a specified number of WACKs
were received in response to a request or operation.
Received break in text (two consecutive stop-bit errors) .
The last two characters stored are invalid. They may be
incorrect length control characters or all spaces .
Polling stop - Device was polled to the polling limit and
responded negatively, or a Read Initial with a single
polling modifier was directed to a polled line .
EaT transmitted.
Received a break signal while transmitting.
Disconnected .
Connected .
Final Status when Initial Status = Hardware/User Error
.0 000.
.0 010.
...0 100.
... 0 101.
... 0 110.
... 1 000.
... 1 001.
· .. 1 010.
... 1 100.
... 1 110.
... 11111
User error (MTA support), normally indicates an incorrect
NCP generation.
Levell communication scanner check .
Communications line adapter check-Occurs whenever a level
2 interrupt (not dependent on an external source) is
expected and not received. For example, after starting to
transmit, a level 2 interrupt is expected. If none is returned,
the internal clock should be suspected of not working
properly.
Communications scanner adapter feedback check. (Signaled
when LCP goes to 'F'.)
Equipment check.
Modem error - Comes on with the modem check bit in the
SCF field of the ICW. Not used for single current
telegraph .
Modem transmit clock or clear-to-send error - Comes on
when in the transmit mode and the first character cannot
be transmitted. Indicates an external clock error.
DSR-on check - For leased lines, comes on if data-set-ready
doesn't come up within three seconds after data-terminalready .
DSR-off check - For switched lines, comes on if data-setready doesn't drop within three seconds of data-terminalready.
ACU check - No response was received from an ACU when
one was expected. If this bit is on, check that the NCP
generation parameter that sets the autocall timeout contains a greater value than the timeout duration in the ACU .
Program failure.
Leading Graphics Flag
... 1
228
Leading graphics received .
3704 and 3705 Program Reference Handbook
Conditional Extended Responses
X'82'
X'83'
X'84'
X'EO'
X'El'
Extended Response when System Response = X'9F'
Change-speed command is invalid for the line.
Specified line is unavailable.
Error lock.
Switch-line-mode command was received but line not
generated as mode-switch able.
Switch-line-mode command was received but a command is
already executing on the line or line trace is active
on the line.
BTU Responses
229
Section 8: NCP# Exception Responses
Exception responses are identified by RH byte 0, bit 5. If this bit is on, the RU is
displaced four bytes to make room for sense data. The first two bytes (bytes 0 and 1)
contain the exception response code. The second two bytes (bytes 3 and 4) contain
user-specified sense information.
Exception
Response
Code
X'0064'
X'0065'
X'080l'
X'0805'
X'0806'
X'0809'
X'080A'
X'080C'
X'08l2'
X'08l3'
X'08l4'
X'08l5'
X'08l6'
X'08ll'
X'08l8'
X'081A'
X'081C'
X'0820'
X'OS2l'
X'OS22'
X'lOOl'
X'lO02'
X'lO03'
X'lOOl'
X'200l'
X'2003'
X'2005'
X'4006'
X'400S'
X'S002'
X'S004'
X'S005'
X'S006'
X'SOOl'
X'SOOC'
X'SOOD'
Meaning
User sense data: invalid BSe device.
User sense data: inactive BSe device.
Request reject: resource not available.
Request reject: session limit exceeded.
Request reject: resource unknown.
Request reject: mode inconsistency.
Request reject: permission rejected.
Request reject: function not supported.
Request reject: insufficient resource.
Request reject: bracket bid reject.
Request reject: physical unit not active.
Request reject: function active.
Request reject: function inactive.
Request reject: link inactive.
Request reject: link procedure in progress.
Request reject: sequence error.
Request reject: function not executable.
Request reject: control vector error.
Request reject: invalid session parameters.
Request reject: link procedure failure.
Request error: RU data error.
Request error: RU length error.
Request error: function not supported.
Request error: category not supported.
State error: sequence number.
State error: bracket.
State error: data traffic not started.
RH error: exception not allowed.
RH error: pacing not supported.
Path error: link failure.
Path error: unrecognized OAF.
Path error: no session.
Path error: invalid FlO.
Path error: segmentation not supported.
Path error: OCF error.
Path error: lost contact.
NCP# Exception Responses
231
Section 9: 3704 and 3705 Instruction Set
Instruction
Add Character Register
Add Halfword Register
Add Register
Add Register Immediate
And Character Register
And Halfword Register
And Register
And Register Immediate
Branch
Branch and Link
Branch and Link Register
Branch on Bit
Branch on Count
Branch on C Latch
Branch on Z Latch
Compare Character Register
Compare Halfword Register
Compare Register
Compare Register Immediate
Exclusive Or Character Register
Exclusive Or Halfward Register
Exclusive Or Register
Exclusive Or Register Immediate
I
Exit
Input
Insert Character
Insert Character and Count
Load
Load Address
Load Character Register
Load Character with Offset Reg.
Load Halfword
Load Halfword Register
Load Halfword with Offset Reg.
Load Register
Load Register Immediate
Load with Offset Register
Or Character Register
Or Halfword Register
Or Register
Or Register Immediate
Output
Store
Store Character
Store Character and Count
Store Halfword
Subtract Character Register
Subtract Halfword Register
Subtract Register
Subtract Register Immediate
Test Register Under Mask
Format Code Mnemonic Operand Field Format
R1(N1},R2(N2)
ACR
RR
R1,R2
AHR
RR
R1,R2
AR
RR
R(N},1
ARI
RI
R1(N},R2(N2)
NCR
RR
R1,R2
NHR
RR
NR
R1,R2
RR
R(N),1
NRI
RI
B
T
RT
R,A
RA
BAL
R1,R2
RR
BALR
R(N,M),T
RT
BB
R(N),T
RT
BCT
RT
BCL
T
T
RT
BZL
R 1(N 1I,R2(N2)
RR
CCR
RR
CHR
R1,R2
RR
R1,R2
CR
R(N},1
RI
CRI
RR
XCR
R1 (NlI,R2(N2)
RR
XHR
R1,R2
RR
XR
R1,R2
RI
R(N},1
XRI
EXIT
EXIT
RE
IN
R,E
RS
R(N),D(B)
IC
RSA
R(N),B
ICT
R,D(B)
RS
L
RA
LA
R,A
RR
R1(N1}'R2(N2)
LCR
R1 (N1 )'R2(N2)
RR
LCOR
R,D(B)
LH
RS
R1,R2
RR
LHR
LHOR
R1,R2
RR
RR
LR
R1,R2
R(N),1
LRl
RI
LOR
R1,R2
RR
R1{N1),R2(N2)
RR
OCR
OHR
R1,R2
RR
OR
R1,R2
RR
R(N),1
ORI
RI
OUT
R,E
RE
R,D(B)
ST
RS
R(NI.D(B)
RS
STC
RSA
STCT
R(N).B
R,D(B)
STH
RS
R1(N1),R2(N2)
RR
SCR
RR
SHR
R1,R2
RR
R1,R2
SR
R(NI,1
RI
SRI
RI
R(NI,1
TRM
3704 and 37051nstruction Set
233
3704 and 3705 Instruction Decode
These charts may be used to decode the four digit hexadecimal representation of a 3704
and 3705 machine .instruction.
Use the chart as folloWs:
(1) Locate the first digit (01) of the instruction in hex in the column of numbers
on the left side of Table I.
(2) locate the second digit of the instruction in the row of numbers at the top of
table I.
(3) Go to the intersection of the column and row represented by the two numbers.
You will find either the mnemonic or a reference to Tabte H. Table III, or
Table IV.
Tables 11 .and 1V require that you locate digit three (03) only of the instruction in the
row of digits at the top of each chart. Follow the instructions for Table I to use Table III,
substituting digit three (03) and digit four (D4).
Table
r
(02)
o 1 234 5 6 7 8 9 A 8 C D E F
o
(Dl) 1
Table III
Table II
8
lRI
A
ARI
SRI
BZl
BCl
B
4
C
D
CRI
XRI
Table IV
DRI
NRI
TRM
BB
(D3)
034
I
234
6 7 8 9 ABC D E
IC
3704 and 3705 Program Reference Handbook
STC
Table III
A
o .
r----1
ICT
21-;-3 1STCT
4 1BALR
L
LH
LH
L
LH
6
7
S
T
S
T
H
S
T
H
L
LH
S
T
S
T
H
'sR
'"CFl
~
LH
L
LH
S
T
H
S
T
S
T
H
I
N
S
T
H
S
T
S
T
H
I-o'i1
~
E1NHR
FI
LH
~
AR
T
S
T
H
t--xcR
t--ocR
~
LCOR
U
BCHR
clXHil
o OHR
r-w;~
0
LHR
~~
0
r-sc--R
LH
5 r-----
8
C
~
ACR
~
LHOR
Table IV
4
5
A
C
BCT
"w
'"
Four Bytes
"Denotes invalid operation.
o
Section 10. Input/Output (External) Register Functions
INPUT REGISTERS
Function
Register (Hex)
Type 2 Scanner
Interface address.
Unused.
Unused.
Check register.
lew input register 0-15.
Type 1 Scanner
40
41
42
43
44
45
46
47
Unused.
Interface address.
Control A.
Control B, C.
Status.
lew input register 16·31.
Display register.
lew input register 32·45.
Unused.
Unused.
Unused.
Type 3 Scanner
40
41
42
43
44
45
46
47
48
49
4A
48
4C
4E
50
51
52
53
54
55
56
57
58
59
5A
58
5C
50
5E
Interface address
High speed select
DBAR/Check registerO
Check register
lew byte 0 and PDF array
ICW bytes 2 and 3·LCO/PCF/SOF
Display register
I CW bytes 4 and 5
lew bytes 6 and 7-Cycle steal control
lew bytes 8 and 9-Cycle steal address
ICW bytes 10 and 11·8CC
lew byte l6-Extended PCF
PO F array bits 0-10
lew bytes 12 and 13-PDF array control
Type 2 CA
INCWAR
OUTCWAR
Control word byte count.
Sense register.
Status register.
Control register.
Check register.
Unused.
Channel bus out diagnostic register.
Cycle steal address register.
Channel adapter data buffer.
Channel tag diagnostic register.
Command register.
Unused.
Unused.
Type 1/4 CA
60
61
62
63
64
65
66
67
Initial selection control.
Initial selection address and command.
Data/status control.
Address and ESC status.
Data buffer bytes 1 and 2.
Data buffer bytes 3 and 4.
NSC status byte.
Control.
Input/Output (External) Register Functions
237
INPUT REGISTERS {cond
Function
,Register (Hex)
Diskette
68
69
6A
6B
Levell status.
'Level3 status.
. Parallel data register plated on INBUS.
IPL information.
CCU
70
71
Storage size installed.
72
Panel display function select switch controls.
73
74
76
77
79
7B
7C
7D
7E
7F
238
Panel A address/data bits.
Insert storage protection key.
Lagging address register (LAR).
Adapter level 1 interrupt request.
Adapter level 2 or 3 interrupt request.
Utility.
Bse eRe register.
SOLe CRC register
CCU check register.
CCU level 1 interrl!pt request.
CCU level 2,3, or 4 interrupt request.
3704 and 3705 Program Reference Handbook
OUTPUT REGISTERS
Function
Register (Hex)
40
41
42
43
44
45
46
47
48
49
4A
4C
4D
4E
4F
Type 1 Scanner
Set Mode bit override and override
remember.
Start scanner and reset L2 bit service
request.
Control A.
Control B.
General control.
Scanner control.
Set character service pending, start
scanner, reset L2 bit request.
Force bit service L2 request.
Type 3 Scanner
ABAR loader
Substitution control loader
DBAR/Scan limits
Control
SCF/PDF
LCD/PCF/EPCF
SDF
Miscellaneous lew bits
Cycle steal control and byte count
Cycle steal address register
Block check character (BCC)
PDF array
lew cycle steal PDFs (SOLe)
Cycle steal/PDF pointers-leW control
Status bytes
50
51
53
INCWAR.
OUTCWAR.
Sense register.
54
Status register.
Control register.
Reset control register bits.
Channel adapter mode register.
Channel bus out diagnostic register.
Channel adapter data buffer.
40
41
42
43
44
45
46
47
Type 2 Scanner
Interface address.
Address substitution control.
Upper scan limit control.
Control.
ICWO-15.
ICW 16-23.
ICW 24-33,44.
ICW 34-43.
Type 2 CA
55
56
57
58
5A
58
Channel tag diagnostic register.
Type 1/4 CA
60
62
63
64
65
66
67
Reset initial selection.
Data status control.
Address and ESC statu5.
Data buffer bytes 1 and 2.
Data buffer b'ltes 3 and 4.
NSC status byte.
Control.
Input/Output (External) Register Functions
239
OUTPUT REGISTERS (cond
Function
Register (Hex)
Diskette
68
69
6A
68
Control-arm.
Control-ReadlWrite.
Parallel data register placed on OUTBUS.
IPL Information.
70
71
72
73
77
78
79
7C
70
7E
7F
Hard stop.
Display register 1.
Display ~egister 2.
Set key.
Miscellaneous Control.
Force CCU checks.
Utility.
Set PCI L3.
Se' PCI L4.
Set mask bits.
Reset mask bits.
CCU
240
3704 and 3705 Program Reference Handbook
Slli:tion 10.1 Modem Lead.
INPUT REGISTER X'46' contains the modem leads.
ByteO, BitO
Bit 1
Bit2
Bit3
Bit4
Bit 5
Bit6
Bit7
Byte 1, BitO
Bit 1
Bit2
Bit3
Bit4
BitS
Bit6
Bit7
Data Line
Autocall
Clear to Send
Abandon Call and Retry
Present Next Digit
Data Line Occupied
Power Indicator
Ring Indicator
Data Set Ready
Receive Line Signal
Receive Data Bit Buffer
Diagnostic Wrap Mode
Bit Service Request
Zero (reserved)
Zero (reserved)
Call Originating Status
Bit Service Request
Zero (reserved)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Input/Output (External) Register Functions
241
Section 11. Interface Control Word (IC',';)
'Type 2 Scanner
OUTPUT X'44'
OUTPUT X'"5'
INPUT X'44'
INPUT
X'~5'
47
Flags
* All bits in the PC F are reset to zero with power-on reset.
'" "'Also sets bit 44.
ICW Field Definitions
SCF
Bit
o
1
2
3
4
5
6
7
Stop bit check/receive break/abort (SOLe)
Service request
Character overrun/underrun
Modem check
Receive line signal detector
Flag detection/disable zero-insert remembrance (SOLe)
Program flag
Pad flag/disable zero-insert control (SOLe)
PDF Autocallinterface
Bit
4
5
6
7
Digit
Digit
Digit
Digit
NBR
N8R
NBR
NBR
8
4
2
1
LCD
Hex
o
SS 9/6
1
2
3
4
SS 8/5
Autocall
SS 9/7
5
SS 10/7
6
7
8
SS 10/8
SS 11/8
SO LC monitor for flag
SOLe S-bit byte-length
9
A
B
Reserved
Reserved
C
D
E
F
BSC EBCDIC
BSC ASCII
Reserved
Feedback check
Interface Control Word (leW)
243
lew field Definitions (Con't.1
PCF Start/Stop Line Interface
Hex
No-op
Set mode
Monitor DSR on
Monitor R IJDSR on
Unused
Unused
Receive
Transmit initial
Transmit normal
Transmit break
Prepare to turn
Transmit turn, request-to-send off
Transmit turn, request-ta-send on
Unused
Disable
PCF
Hex
sse Line Interface
No-op
Set mode
Monitor DSR on
Monitor R ItOSR on
Monitor phase. DSR check off
Monitor phase, DSR check on
Receive in phase
Transmit initial
Transmit normal
Transmit with new sync
Unused
Transmit turn, request-ta-send off
Transmit turn, request-ta-send on
Unused
Disable
PCF Autocall Interface
Hex
•
0
L:i
'-------F
Na-op'
Monitor call unit, ACR COS PND
Monitor call unit, ACR COS
Digit valid
Disable
SDF Autocallinterface
Bit
24
25
26
27
28
29
30
31
32
33
244
Interrupt remember
Power indicator (PWI)
Call request (CRQ)
Data Line occupied (OLO)
Present next digit (PNO)
Digit present (OPRI
Call originate status (COSIIOata set status (OSS)
Abandon call and retry (ACR)
Unused
Unused
3704 and 3705 Program Reference Handbook
lew Field Definii.io:,'li {Co:l't.1
PCF Synchronous Data Link Control Interface
Hex
ND-OP.
Set mode.
Monitor da.a set ready on.
Monitor ring indicator or data set ready on.
Monitor flag-block DSR error.
Monitor flag-allow DSR error.
Receive information-inhibit data interrupts.
Receive information-allow data interrupts.
Transmit initial.
D
Not DSR • Not R LSD
~
Transmit normal.
Transmit normal with new sync.
Not used.
Transmit turnaround-request to send off.
Transmit end-request to send on.
Not used.
Disable.
x = Level 2 interrupt.
*EBCDIC or USA5CII SYNC character received.
(LCD=9 only).
HTag nonflag character.
Interface Control Word (leW)
245
ICW Field Definitions (Can't.)
SDF Set Mode Line Interface
Bit
24
Unused
25
Unused
26
Unused
Diagnostic wrap mode.
Set/reset data terminal ready.
Sync bit clock.
External clock.
Data rate select.
Oscillator select bit 1.
Oscillator select bit 2.
27
28
29
30
31
32
33
Flags
Bit
'34-36
'37
'38
39-40
'41
42
43
44
45-47
Ones counter (SOLC)
Last line state (SOLe)
Display request.
Reserved.
Level 2 interrupt pending.
Priority 1.
Priority 2.
NRZI flag.
Parity
*These bits are reset to zero with power-on reset_
246
3704 and 3705 Program Reference Handbook
Type 3 Scanner
Output X'44'
I
7 0
POF-1"
I I
LCD
7 0
3 4
PCF f S D F j E
7 0
7 0112
Input X'48'
Input X'49'
Output X'4E'
Output X'4F'
Input X'4A'
15 0
*See field definitions
**Part of PDF array
lew
Field Definitions
Byte 0
SCF (Secondary Control Field)
Bit
o
1
2
Abort detect (SO Le)
Service request
Character overrun/underrun
3
Modem check
4
Byte 1
PDF·Dial
Bit
4
5
6
7
Digit
Digit
Digit
Digit
lead
lead
lead
lead
8
4
2
1
Not level 2 bid
5
End of message
6
Program flag
7
Trace
Interface Control Word (leW)
247
Byte 2
LCD (Line Control Definer)
Hex
0/8
Reserved
1/9
SDLC8
2/A
3/B
4/C
SID
6/E
7/F
Reserved
Dial
EBCDIC
USASCII
Reserved
Disable
PCF/EPCF (SDLe) - (Primary Control Field/Extended Primary Control Field)
Hex/Hex
Dc::::::
·r§~j:
-=2/-
X
3/-
'[~IE2lg
_q;I;; = !~i
L
6/4
1 - = = 1 = 7/3
t= -
__
l.=:;;:_ 7/4
- " - - 7/5
_ C ; : 7/7
7/C
'-I~
Lr_= ~j~
~~r= 9/3
L~~9/4
E = 9 /9/6
5
L
___
C
'---=--=-=
=
9/7
9/C
A/-
B/C/-
x = L2
0/-
E/F/-
No-op
Set mode
Monitor DSR on
Monitor RI/OSR on
Monitor flag, not DSR error
Monitor flag, DRS error
Receive flags
Receive address
Receive control
Receive 01&02
Receive abort
Receive data
End flag
Receive idle
Receive diagnostic 1
Transmit initial
Transmit pad
Transmit clock
Transmit flag
Transmit abort
Transmit data
Transmit end flags
Transmit Bee
Transmit idle
Transmit diagnostic 1
Transmit initial with new sync
Transmit pad with new sync
Reserved
Reserved
Transmit continuous
Disable
*Conditional interrupt
248
3704 and 3705 Program Reference Handbook
PCF/EPCF (BSC)
!.
HexfHex
- - - - - - - - - - X - aI-
I§
r--
1/-
r-~-2/-
L-~~o
..-----§·-ir--'
~~!
_g7/3
- - -1=;_'7/2
No"p
Set mode
Monitor DSR on
Monitor RIIDSR on
Monitor 0, not DSR error
Monitor 0, DSR error
Character phase
Reserved
Receive lead, graphic
Receive control sequence
Receive text
b--~--7/4 Receive
end sequence
Receive Bee
[--~-
'~~
Receive sync idle
Receive diagnostic 1
Transmit initial
Transmit pad
Transmit clock sync
Transmit sync
C_=;:9/3 Transmit control
-~=;:9/4 Transmit text
Transmit end sequence
Transmit Bee
Transmit pad
= 9 / S Insert sync idle
,9/C Transmit diagnostic 1
A/- Transmit initial with new sync
S/- Transmit pad with new sync
C/- Reserved
0/- Reserved
X= L2
E/- Transmit continuous
L-_ _ _ _ _ _ _ _ _ _ _ F/Disable
7/C
CI§~
~
-[;_.-\;;- -§--!~
*Conditional interrupt
PCF-Dial
Hex/Hex
..
,---0"·0/X
I
~4/-
X
5/'-----S/L..--F/_
No-op
Monitor call unit ACR/COS PND
Monitor call unit ACR/COS
Digit valid
Disable
Byte 3-Byte 4
SDF Set Mode
BytelBit
3/0 NRZI control-Set ICW 5/4
Diagnostic a-Set ICW 5/5
3/2 Diagnostic l-Set ICW 5/6
3/3 Line address diagnostic wrap
3/4 Data terminal ready
3/5 Synchronous clock
3/6 External clock set-Set ICW 5n
3/7 Data rate select
4/0 Oscillator select 1
411 Oscillator select 2
3/1
Interface Control Word (ICW)
249
SDF Dial
Byte/Bit
3/0
Interrupt remember
311
3/2
3/3
Power indicator (PWI)
Call request (CRQ)
Data Line occupied (DLO)
3/4
Present next digit (PND)
3/5
Digit Present (DPR)
3/6
Call originate status (COS)
3(7
Abandon call and retry (ACR)
Byte 4 (continued)
Bit
2
3
Ones count4
Ones oount-2
4
Ones count-1
5
Last line state (SOLC)
Time~ut control (BSC)
6
7
0 isplay request
Ones oount-8
Byte 5
Bit
o
Ones count-16
Level 2 interrupt pending
Priority bit 1
Priority bit 2
4
5
NRZI control (Set by SOF Set Mode)
Diagnostic 0 (Set by SDF Set Mode)
Diagnostic 1 (Set by SDF Set Mode)
External Clock (Set by SOF Set Mode)
1
2
3
6
7
Byte 6
Bit
0-3
4
Cycle steal address byte
ETB,ETX, or ENQ in data
S
Cycle steal valid
6
Data chain flag
7
Reserved
Byte 7 Cycle steal byte count
~yte
8 Cycle steal Address byte 0
Byte 9 Cycle steal address byte 1
Byte 10 Byte Count Character (BCC) 1
Byte 11 Byte Count Character (BCC) 2
Byte 12
Bit
0-3
4-7
250
Cycle steal-PDF array address
PDF-' - array address
3704 and 3705 Program Reference Handbook
Byte 13
Bit
o
1
2
Sequence 0
Sequence 1
3
4
5
RTS turn control
Sequence 2
Reserved
Reserved
6
Cycle steal message count field
7
Cycle steal message count field
Byte 14 (BSC)
Bit
o
1
Received line signal detect
Format exception
2
Inhibit store of data in PDF-'
3
4
5
6
Data check
Bad pad nag
ACR expected
Leading 0 LE error
7
length check
Byte 14 (SOLC)
Bit
o
1
3
Received line signal detect
}d}e detect
Data check
4
Flag off boundary
5
Reserved
6
7
Leading D LE error
Length check
Byte 15 (BSC)
Bit
0-2
Initial status field
3·6
7
Final status field
Leading graphics
Byte 15 (SOLC)
Bit
o
Control exception-received non-information frame
1
2
3
4
5
Reserved
Reserved
Program requested interrupt on line idle detect or flag
Reserved
After transmission, if no turn:
l=Transmit flag
O=Transmit idle
Transmit pad before line turn
Line turn after transmission
6
7
Byte 16
Bit
o
1
2
4-7
New sync
Data terminal ready (Set by SDF Set Mode)
OLTT Diagnostic
Extended PCF
Interface Contro} Word (lCW)
251
Section 12, NCP and PEP Abend and EP Hardstop Codes
When an error that causes an abend (abnormal termination) occurs, the supervisor's abend
processor (CXAABNDI posts an abend code in halfword direct addressable storage location
X'760'. Locating the abend code in the dump gives some insight into the reason for th.e
abnormal termination. The ab:md code appears in Display A on the panel if it is set to
Function 6.
If the condition causing the abcnd is detected in level 1, the contents of external register
X'74' (LAR) are stored at location X'7BC' and the contents of external register X'79' are
stored at location X'GAB'. These two registers indicate the address of the failing instruction and the program level that was executing when level 1 was entered.
The first byte of the abend code- indicates which portion of the NCP detected the error.
The second byte indicates the specific error that was detected.
Errors Detected by I/O Initiation Request, SVC Decoding, or a Level 1 Interrupt
Handling Routine (Byte 0 '" X'OO')
X'OOOl'
An invalid SVC code was executed.
X'0002'
A protection exception occurred.
X'0003'
X'OOQ4'
An XIO macro to a communication line specified an invalid aCB address.
X'OOOS'
An XIO macro to the channel specified a BCU containing too much text
(more than can ever be transferred with a single host. read operation).
An XIO macro to the channel specified a BCU containing invalid chain
pointers.
X'0006'
An X 10 macro to the channel specified a BCU enqueued to a system queue.
X '000]'
An XID macro to the channel was used while a task was still waiting on the
ECB in the first buffer of the BCU.
X'OOOS'
An XID macro to the channel specified a BCU in which at least one buffer
had too large a text count field in the buffer prefix.
X'0009'
X'OOOA'
An addressing exception occurred.
X'OOOO'
An instruction attempted to branch to storage location X'OOOO'.
X'OOOE'
A program check occurred in levell.
An input/output instruction exception occurred, and retry was not possible.
X'OOOF'
An XIO macro to the link specified an invalid address. (NCP#),
X'OOlO'
A level 3 channel <!dapter interrupt occurred while the channel adapter was
active, but the command register (X'56') did not indicate a Read, Write, or
Write Break command (type 2 CA only).
X'OOll'
A level 3 channel t::dapter interrupt for a host Write or Write Break occurred,
and neither zero count override nor channel stop was indicated. One of these
conditions should be present for every host Write operation.
X'0012'
An initial selection sequence on a type 1 channel adapter was undefined.
X'0013'
An outbound BTU had an invalid chain field,
X'0014'
A data/status sequence on a type 1 channel adapter was undefined.
X'0015'
An XIO to the channel specified a BCU address outside the buffer poot.
X'0016'
A!'\ XPORT macro specified an invalid buffer address. (NCP#).
X'OOl],
A level 1 channel adapter error occurred with a type 1
CA (NCP1, 21.
A level 1 channel <ldapter error occurred and the channel
save chain was active with a type 2 CA (NCP1, 2 I.
An unrecoverable level 1 channel adapter check has occurred in a type 2
or type 3 CA. (NCP#I,
X'OOlS'
Zero count override was detected on a host read operation.
NCP/PEB ABEND and EP Hardstop Codes
253
An initial IN CW did not have the zero count override flag set for channel 1/0.
The retry limit for an input or output instruction was exceeded.
The program attempted to execute an invalid operation code.
The program attempted to switch channel adapters via an XIO macro when
the logic is not generated into the NCP.
X'OOlD' The program attempted to use an XIO macro for a busy communication line.
X'OO1E'
More than one XIO macro was outstanding for the same BCU.
X'001 F' An XIO macro to the channel specified an inv~lid BTU text count.
X'0020'
The INCWAR in a type 2 channel adapter was incorrect (hardware error).
X'OO21'
The access method pad size is larger than the host buffer unit size.
X'OO22'
Outbound data pointers incorrect, program error. (NCP#).
X'0023'
Invalid PIU address issued to channel. (NCP#).
X'0024'
Out CW execution failure, hardware error. (NCP#).
X'0025'
Level 3 is not in initial selection or data status for type 1/4 channel adapter.
X'0026'
Attention delay PIU counter overflow or under flow.
X'0027'
Attention presented with intermediate queue empty. (Program error).
X'0028'
UIBLBBA is equal to zero. (Program error).
X'0029'
Channel interlace is disabled while the NCP is active.
X'OO2A' During initialization a level 3 was not pending on the channel adapter that
is being loaded across.
X'OO2B'
During initialization, a level 3 is pending on a channel adapter which
SYSGENd inactive.
X'002C'
During initialization, a channel adapter which has been SYSGENd inactive
can not be interface disabled within a reasonable time. Manual intervention
may be required.
EP Hardstop/PEP Abend Codes
Scanner address exception. (EP only).
X'0030'
X'003l,
L1 scanner ERP· Scanner error occurred during ERP.
X'O019'
X'O01A'
X'001B'
X'001C'
X'0032'
L1 scanner ERP· Unable to recover from CCU outbus check. Unable to
locate the failing output X'4x' instruction.
L1 CA ERP - Unable to select the failing channel adapter.
L1 CA ERP· I/O exception check. (EP only).
L1 CA ERP - Channel Adapter error occurred during ERP.
L1 CA ERP - Unable to recover from CCU outbus check. Unable to locate
the failing output X'Sx' instruction ..
X'OO31'
L1 CA ERp· CCU outbus check did not occur on L2 or L3.
X'OO38'
Initializatiqn. CCU interrupt request detected.
X'0039'
L1 CCU ERP - L5 issued an in or out instruction.
X'OO3A'
Initialization - Adapter check detected.
X'003B'
L1 CCU.ERP· Unable to recover from inbus parity check. Unable to locate
retry point for input X'SC'.
X'003C'
L1 CA ERP - Unable to recover from CCU outbus check. Unable to locate
retry pointfor output X'SC'.
L1 ERP - L1 error rate threshold exceeded.
X'OO30'
Ll CCU ERP· Program check. (EP only).
X'003E'
X'003F'
L1 ERP - Unable to determine interrupted level.
X'0040'
L3 interrupt from PEP and CA not system generated.
Errors Detected by Task Management (Byte 0 "" X'01')
A TRIGGER macro specified an invalid aCB.
X'0102'
A reentrant CALL·macro specified a non-reentrant subroutine, or a level 5
X'0104'
task issued a reentrant CALL macro to code that is not a subroutine.
X'0105'
A level 5 task used a non-reentrant CALL macro when either the calling task
or the called subroutine was reentrant.
X'OO33'
X'OO34'
X'0035'
X'OO36'
254
3704 and 3705 Program Reference Handbook
X'OI07'
A BHR attempted to us. a QPDST macro.
X'OIOS'
X'OI09'
A SETIME macro specified an interval greater than 43,200 seconds.
X'OIOC'
X'OIOD'
X'OIOE'
A BHR attempted to use the QPOST operand on a SYSXIT macro.
A task attempted to use a SYSXIT macro while save area{s) were still
allocated to its queue control block.
A CDPYPI U macro specified an RU count too high. (NCP#I.
X'OIOF'
A oposr macro specified an invalid aCB address.
A TPPOST macro specified a BCU with an invalid resource 10.
X'OIII'
A TPPOST macro specified an invalid BCU address (address low).
X'OI12'
X'OI13'
A TPPOST macro specified an invalid BCU address (address high).
A COPYPIU macro specified an invalid old buffer address (address low).
(NCP31.
A COPYBCU macro specified an invalid old buffer address.
X'OI14'
X'OI15'
A COPYPIU macro specified an invalid new buffer address (address low).
(NCP31.
X'OI16'
X'OI17'
A COPYBCU macro specified an invalid new buffer address {address high}.
A task attempted to use an EXECBH R macro when the point 3 BHR queue
was empty.
X'OIIS'
A user BH R dequeued a BCU and failed to return it to the queue (via an
INSERT macro) prior to the execution of an IBM BHR.
X'OI19'
A BHR attempted to use an EXECBHR macro.
X'OI20'
A dynamic save ~rea pool was incorrectly structured.
X'OI21'
A SETIME macro specified an ECB address outside the buffer pool.
A SETIME macro specified an invalid aCB address.
A CHAP macro specified an invalid aCB address.
X'OI22'
X'OI29'
X'OI2D'
A task attempted a reentrant return when no save area was currently allocated
to the task.
X'OI30'
A POST macro specified an ECB whose status was already "event complete".
X'OI31'
A task attempted to change the dispatching priority of a waiting aCB to
APPNDG.
Errors Detected by Queue Management (Byte 0 = X'02')
X'020T'
X'0202'
An ENQUE macro specified an element that was already enqueued.
An INSERT macro specified an element that was already enqueued.
X'0203'
An EXTRACT macro specified the same address for the aCB and the
positional element.
Unassigned.
X'0204'
X'0205'
An INSERT macro specified an element at the end of a queue.
X'020S'
An INSERT macro specified the same address for the element to be inserted
and the element after which it was to be inserted.
X'0207'
An INSERT macro specified the same address for the element to be inserted
and the aCB governing the queue.
X'020S'
An ENQUEUE macro specified the same address for the element to be enqueued
and the aCB governing the queue.
X'0209'
A BH R attempted to use an ENQUE macro specifying an active queue control
block.
An ENQUE macro specified an element outside the buffer pool.
X'0210'
X'0211'
An INSERT macro specified an element outside the buffer pool (positional
element).
X'0212'
An INSERT macro specified an element outside the buffer pool {insertion
element I.
X'0213'
An EXTRACT macro specified an element outside the buffer pool (positional
element).
X'0214'
Unassigned.
NCP/PEP ABEND and EP Hardstop Codes
255
X'0215'
X'0216'
An AOVAN macro specified an element outside the buffer pool (positional
elemend.
A DEQUE macro specified an invalid aCB address.
X'0211'
An ENQUE macro specified an invalid aCB address.
X'021S'
A POINT macro specified an invalid aCB address.
X'0219'
An INSERT macro specified an invalid aCB address.
X'021A' An INSERT macro specified the active acs.
X'021S'
An ENQUE macro attempted to enqueue the active QCB.
Erron Detected by Buffer Management (Byte 0 = X'03')
A CHAIN macro specified a buffer that was already chained.
X'0301'
X'0302'
A CHAIN macro specified the same address for the buffer to be chained and
the buffer to which it was to be chained.
X'0304'
A RELEASE macro specified a BCU containing more buffers than the system
limit on buffers per BCU.
A RELEASE macro specified a BCU enqueued to a system queue.
X'0306'
The BCU specified in a AELEASE macro had a task still waiting on its event
X'0307'
control block.
X'030A' A LEASE macro specified a buffer count too high.
X'030F'
X'03l0'
X'03ll'
X'03l2'
X'03l4'
X'031S'
A RELEASE macro specified a buffer outside the buffer pool (buffer
address low).
A CHAIN macro specified a positional buffer outside the buffer pool.
A CHAIN macro specified that a buffer outside the buffer pool be chained.
An UNCHAIN macro specified a positional buffer outside the buffer pool.
A SCAN macro specified a buffer outside the buffer pool (positional buffer
address).
A RELEASE macro specified a buffer outside the buffer pool (buffer address
high).
X'03l6'
Initialization routines were unable to allocate buffers.
X'031S'
X'03l9'
X'0320'
X'0321,
A LEASE macro specified an ECB address outside the buffer pool.
A LEASE macro specified a buffer count of O.
The buffer pool size and the buffer availability count were in conflict.
Less than 20 buffers were formatted during initialization of the NCP.
Errors DeteCted by Supervisory Services (Byte 0 =X'04'1
X'0401'
A GETBYTE macro specified a BCU address outside the buffer pool.
A PUT BYTE macro specified a BCU address outside the bu.ffer pool~
.x'0403'
X'D40S'
A GETBYTE macro specified a BCU with an incorrect text length.
X'0406'
A PUT BYTE macro specified a BCU with an incorrect text offset (in one or
more of the buffer prefix fields), or a PUTBYTE macro with the operand
UPDATE = YES specified a BCU with an incorrect text length.
X'0407'
A GETIME macro specified invalid options.
Hardware Related and Miscellaneous Errors IBytes X'05'. X'07'. X'OS')
The retry limit for unresolved level 1 interrupts was exceeded.
X'0501'
X'OS02'
The retry limit for unresolved level 3 channel adapter interrupts was exceeded.
X'OS03'
A nonrecoverable channel adapter check occurred.
X'OS04'
A nonrecoverable communication scanner check occurred.
X'050S'
A type 2 channel adapter cycle steal protection exception occurred.
X'OS06'
A type 2 channel adapter cycle steal addressing exception occurred.
X'0507'
The retry limit for recoverable channel adapter checks was exceeded.
X'OSOS'
The retry limit for recoverable communication scanner checks was exceeded.
X'OSOA' A channel adapter check could not be resolved.
X'OSOB'
A communication scanner check could not be resolved.
X'OSOC'
A program level 1 interrupt could not be resolved.
256
3704 and 3705 Program Aeference Handbook
X'OSOD'
A machine check or IPL request was not serviced by hardware.
X'OSOE'
A program level 3 interriJpt could not be resolved.
X'OSOF'
A program level 4 timer interrupt request expired and the timer interval was
not scheduled.
X'OS10'
NCP generation conflict-the NCP was not configured for the type of
communication scanner installed.
NCP generation confiict-program level 1 was not configured for the type of
channel adapter installed.
X'OS21'
X'OS22'
NCP generation conflict-an interrupt occurred from an inactive or undefined.
channel adapter. The channel adapter. if installed, should have been switched
offline by the operator at the 3705 and should have remained disabled.
X'OS24'
Type 3 scanner addressing exception.
Type 3 scanner storage protection exception.
X'0701'
ANS initiated by the remote NCP.
X'OS23'
X'0702'
ANS initiated at the remote controller's panel.
X'0703'
SIM received by the remote NCP.
X'D BOO'
The link used by load program 2 was not defined at NCP generation.
Errors Detected in Level 5 (Byte a = X'10, X'30)
X'lOOl'
A BCU with a Restart command contained an error in the text length field.
X'1002'
The line control block (LCB) contained an invalid resource 10.
X'lO03'
The subtask sequence pointer in the lCB was not initialized.
X'1004'
The BTU contained an invalid command modifier.
X'1005'
After BH R execution, the device input queue was empty (point 1).
X'1006'
X'1007'
After BH R execution, the line 1/0 queue was empty (point 2).
After BHR execution, the point 3 BHR queue was empty.
X'100S'
A task associated with the point 3 BHR queue was dispatched.
X'1009'
X'100A'
The backspace BHR was dispatched, but the queue was empty.
X'100B'
The dateltime BHR was dispatched, but the queue was empty.
A data manipulation error occurred in the backspace BHR.
X'100C'
All 'skip' flags were set in the service order table (SOT).
X'100D'
The number of dial digits passed from the host was not equal to the BTU
text length.
X'100E'
No Reset command was found at the end of an operation that was being
reset.
X'100F'
The device base (DVB) contained an invalid resource 10.
X'1010'
An invalid system resource 10 was specified in the BCU.
X'10ll'
An invalid checkpoint data length was specified in the BCU.
X'10l2'
The BH set pointer (DVIBHSET) in the DVB did not match any entry in the
system BH set table (BST).
X'lOEE'
X'10FF'
X'3000'
rOBPOll points outside SOT.
Pending sessions count is negative.
A task was dispatched with an empty aCB. (NCP#J.
X'3001'
Invalid UIS status in PIU. (NCP#).
X'3002'
Invalid XIO return code. (NCP#).
X'3003'
Invalid XPORT return code. (NCP#l.
X'3004'
X'300S'
Module CXD ESSA entered when Deactivate Line halt is in progress. (NCP#1.
CXDCPSI unable to route PIU to SSCP. (NCP#l.
X'3006'
Reset Immediate XIO failed. (NCP#).
X'3007'
Invalid PIU Format. (NCP#l.
X'300S'
Segmentation parameter N = zero. (NCP#l.
X'3009'
Segmentation parameters conflict. (NCP#).
X'300A'
Run Terminator triggered with invalid status. (NCP#1.
NCP/PEP ABEND and EP Hardstop Codes
2S7
X'300B'
Invalid Network Address in LKB. (NCP#).
X'300C'
Invalid input passed to routine. (NCP#).
X'3000'
X'300E'
CXDKFMR passed a request code to a routine which does not handle that
LCB contains no PIU. (NCP#).
request code. (NCP#).
X'300F'
XID Link failed on validated PIU. (NCP#).
X'30tO'
XPDRT failed on validated PIU. (NCP#).
X'301l'
XID SETMDOE failed. (NCP#).
X'3012'
Invalid UIB type field. (NCP#).
X'3013'
Invalid network address in CCU •. (NCP#)
X'3014'
Remote NCP received SNRM from local NCP. (NCP#).
X'30lS'
Remote NCP received DISC from local NCP. (NCP#).
X'3016'
Remote detected permanent error in path to local and ANS is not in
system. (NCP#).
X'3017'
Inbound flow in SSCP-PU session of a type 1 PU.
X'301S'
Begin bracket PIU not on queue.
SOLCIBSC Path Function Abend Codas
X'3019'
A OEOUE macro was issued by SPF CPM·in and there was no error PIU on
the APPL process aCB.
X'301A'
An ADVAN macro was issued by SPF CPM-in and there was no error PIU
on the APPl process 9CB.
An XPORT macro, issued by SPF CPM-in, failed for unknown reason.
An.XPORT macro, issued by SPF CPM-in, failed for an unknown reason
during FI01-to-FI00 conversion.
An XPORT macro, issued by SPF CPM·in, failed for an unknown reason
during the export of a FlOl PIU.
An XPORT macro was issued by an IBM point 3 BHR before the PIU was
converted.
A O"EaUE macro was issued by SPF CPM-out and there was no error PIU
on the APPL process aCB.
An XPORT macro, issued by the build error module (CXDSERR), failed
for an unknown reason.
A POINT macro was issued by the build error module (CXDSERR) and
there was no PIU on the APPL process aCB.
Lines or "links not quiesced count went negative.
Auto network shutdown RVT scan error. (SNA)
An undefined Contact Poll command was detected during SNA auto
network shutdown.
The remote NCP detected a condition on the active link to the local NCP
which requires backup link monitoring. Although there are backup links
to the local controller, there is no backup monitor code.
X'301B'
X'301C'
X'3010'
X'301 E'
X'301F'
X'3020'
X'3021'
X'3025'
X'3OO6'
X'3027'
X'3028'
258
3704 and 3705 Program Reference Handbook
Load Program 2 (LPG21 Error Codes (conditions causing an unconditional hardstop).
X'30FO'
No locallremol= communication link defined as active in the remote I LP
configuration data set (CDS).
X'30Fl'
Type 1 Scanner failed to enable, hardware error or CDS definition error.
X'30F2'
CDS invalid.
Load Program 2 (LPG2) Abend Codes (conditions causing a conditional hardstop).
X'3F01'
No local/remote communication link active (enable failed or transmit initial
failed).
X'3F02'
DISC (disconnect) received while monitoring one line. LPG2 re·IPLs to
monitor all CDS lines.
X'3F03'
SNRM (set normal response model received while monitoring one line and
load final not yet received. LPG2 re·IPLs to monitor all lines.
X'3F04'
Timer expiration. User·specified inactive interval has expired.
X'3F05'
Levell error.
X'3Fl0'
SIM (set initialization model received during the load or dump state.
NCP/PEP ABEND and EP Hardstop Codes
259
.,
Section 13: Lino Character Codes
ASCII Ch racte Cod e (even parity 2848/22601
PDF
Cod,
03
06
OA
18
21
22
2.
27
28
28
20
2E
30
33
35
36
S/360
S/370
Cod.
03
2E
37
18
18
18
58
70
.0
4E
60
48
FO
F3
F5
F6
ASCII
Line
Cod,
60
30
21
OC
.2
22
12
R
17
T
F9
77
W
OF
X
FA
FC
6F
7E
C1
C2
C4
C7
CB
02
D'
05
07
41
21
63
65
66
69
6A
6C
6F
71
72
74
77
78
7E
E9
60
7C
C3
C5
C6
C9
D1
D3
06
D8
09
E3
E6
E7
4F
PDF
Cod.
27
F9
EB
~
I
+
0
3
66
5E
'C
E2
E4
E5
(Note 2)
OA
6A
SA
3A
06
3A
3C
3F
41
5
6
9
,
<
A
B
0
11
G
71
09
69
59
39
05
65
55
35
4D
2D
7D
H
K
M
N
P
S
U
V
Y
Z
@
C
E
F
I
J
L
0
03
63
56
33
48
28
18
7B
a
47
5/360
S/370
Cod.
01
02
37
3D
'0
78
6C
50
50
5C
6B
61
F1
F2
F<
ASCII
Line
Cod,
Control
Character
CO
AO
90
D'
82
E2
02
82
CA
AA
9A
FA
C6
A6
96
SOH
F7
F6
F8
5E
7E
6E
83
B5
86
B9
BE
EE
DE
BE
E1
01
B1
C9
A9
91
93
96
9B
99
A3
A6
A7
A7
81
82
84
87
88
92
94
95
97
A2
A4
AS
A8
A9
SF
99
F9
C5
AS
95
F5
80
DD
C3
A3
93
F3
8B
EB
08
88
87
E7
07
87
CF
AF
9F
Graphics
Character
STX
EDT
NAK
SP
#
%
&
I.
i
1
2
•
7
B
;
e
,>
,
f
;
i
I
0
q
1
w
,
.
(Note
41
b
d
9
h
k
m
"
,P
,"
y
~
I
3F
Notes.
1. Displayed on the 2260 as
(Note 1)
(Note 3)
72
39
48
4B
40
4E
50
53
55
56
59
SA
SF
60
ETX
ACK
LF
CAN
Graphics
Character
81
82
8.
95
AO
A3
AS
A6
A9
AA
AC
AF
B1
82
8'
B7
BB
BB
BO
8E
C3
C5
C6
C9
CA
CC
CF
01
02
04
07
DB
OD
E1
E2
E.
E7
E8
E8
EO
EE
FO
F3
F5
F6
56
36
4E
2E
1E
42
44
47
Control
Clnracter
th~
New Line (A) symbol. Causes a carriage return and line feed on the 1050
Model 4 Printer.
2. Displayed on the 2260 as thz EOM (a) symbol. Prints on the 1050 Model 4 Printer as the exclamation
mark (I).
3. Displayed on the 2260 2S the Check (a) symbol. Prints on the 1050 Model 4 Printer as the quote
4. Displayed on the 2260 as th~ Start Ml ( .) symbol. Prints on the 1050 Model 4 Printer as the cent sign
n.
I¢I.
Line Character Codes
261
ASCII a.eramr Code (odd parity)
ASCII
8/360
PDF
Cod.
smo
Cod.
OIl"
00
01
02
03"
01
02
03
37
20
2E
2F
16
05
15
25
DB
DC
00
DE
OF
10
00"
04
OS"
B6
07
DB
89
SA
BA
DB
BC
00
DE
BF
10
91
92
13
94
15
16
,,"
9B
19
lA
lA
lA
9B
lC
90
9E
'F
20
Al
A2
23
A4
25
26
A7
A8
29
2A
AB
2C
AD
AE
2F
BO
31
32
B3
34
B5
86
37
38
B9
BA
3B
BC
3D
17
11
12
13
3C
3D
32
28
lB
19
3F
CF
EO
27
lC
10
lE
lF
40
4F
7F
7B
58
6C
50
70
40
50
5C
4E
6B
60
4B
61
FO
Fl
F2
F3
F4
F5
F6
F7
FB
F9
7A
5E
4C
7E
Line
Control
a..reeter
NUL
OIl"
NUL
1001"
SOH
01
STX
02
ETX
03"
EOT
04
ENQ
OS"
ACK
B6
BEL
07
BS
DB
HT
89
LF
ISAI
LF
BA
VT
DB
FF
BC
CR
00
SO
DE
SI
BF
OLE
10
DCl
91
DC2
92
DC3
13
DC4
94
NAK
15
SYN
16
ETB
17"
CAN
9B
EM
19
SUB
lA
SUB
lA
SUB
11AI
ESC
9B
FS
lC
GS
90
RS
9E
US
'F
SF
20
A'
A2
23
A4
25
26
A7
A8
29
2A
AB
2C
AD
AE
2F
BO
3'
32
B3
34
B5
B6
37
38
B9
BA
3B
BC
3D
Cod.
Graphics
O\aracter
Cod.
3E
BF
40
Cl
C2
43
C4
45
46
C7
C8
49
4A
CB
4C
CD
CE
4F
DO
51
52
03
54
05
06
57
5B
09
DA
5B
DC
50
5E
OF
EO
61
62
I
#
E3
64
S
E5
E6
67
~
68
..
I
l
+
i
0
1
2
3
4
5
6
7
8
9
,
.<
E9
EA
68
EC
60
6E
EF
70
Fl
F2
73
F4
75
76
F7
F8
79
7A
FB
7C
FD
FE
7F
smo u ..
Cod.
Code
6E
6F
7C
Cl
C2
3E
BF
40
Cl
C2
43
C4
45
C3
C4
C5
C6
C7
C8
C9
01
02
03
04
05
06
07
DB
09
E2
E3
E4
E5
E6
E7
EB
E9
4A
El
SA
SF
60
79
8'
62
83
64
85
86
87
68
89
91
92
93
94
95
'6
97
9B
99
A2
A3
M
AS
AB
A7
AS
A9
CO
SA
DO
Al
07
[] = In only.
(I = Out only.
·Control characters without parity bit.
262
ASCII
S/38O
PDF
3704 and 3705 Program Reference Handbook
Control
Oteracter
~-
..
7
A
B
C
0
E
F
G
H
I
46
C7
C8
49
4A
CB
4C
CD
CE
4F
DO
51
52
03
54
05
DB
57
5B
09
DA
5B
DC
50
5E
OF
EO
6'
J
K
L
M
N
0
P
Q
R
S
T
U
V
W
X
Y
Z
I
\
I
~
-
·,
b
62
E3
d
64
E5
E6
67
0
,
f
h
68
E9
EA
6B
EC
60
6E
EF
70
F'
F2
73
F4
75
76
F7
F8
79
7A
FB
7C
FD
FE
7F
.... >
Graphics
i
I
k
I
m
n
0
•
,
q
·,
t
u
w
x
y
(
I
1
DEL
Baudot Character Cods
PDF
Cod.
01
01
02
02
02
03
03
04
as
as
06
06
07
07
OB
OB
OB
09
09
OA
OA
OB
OB
OB
OB
OC
OC
aD
aD
OE
OE
S/360
S/370
Cod.
C5
85
15
15
25
81
Cl
40
A2
'2
89
C9
91
15
EB
97
D7
9B
DB
16
16
17
17
[] Inon!y.
() = Outon!y.
Control
Character
CR
CR
CR
(t2)
(lE)
IE
(01)
01
(tl)
11
(09)
09
(19)
19
(05)
05
(15)
15
(00)
aD
(tD)
lD
lB
18
19
19
lA
lA
lB
lC
lC
A
A
Cod.
10
10
IE
IE
IF
IF
IF
IF
D
D
R
R
12
(DE)
E
E
S
S
I
I
U
U
(DA)
OE
PDF
SP
OC
OA
9A
94
(tA)
lA
(06)
06
(16)
16
Graphics
Character
LF
LF
LF
14
(DCI
lC
(O2)
[B2]
(62)
AS
13
13
(081
(18)
18
04
(14)
(lC)
15
12
[as[
A4
14
14
12
10
(10)
08
E4
03
aD
26
B4
C4
99
D9
2F
79
Dl
95
D5
B6
C6
B3
C3
92
D2
A3
E3
A9
E9
93
D3
A6
E6
BB
CB
OF
OF
10
10
11
11
Baudot
line
Cod.
BELL
BELL
J
J
N
N
F
F
C
C
K
K
T
T
Z
Z
L
L
W
IV
H
H
y
y
P
p
Q
Q
IF
IF
Bl
B3
B4
B5
B6
B7
B9
B9
BA
BC
BF
90
91
92
93
93
94
95
96
97
9B
99
9A
9B
9C
9D
9D
9D
9E
9F
S/360
S/370
Cod.
96
D6
82
C2
87
C7
36
94
D4
A7
E7
AS
E5
06
07
17
32
37
Baudot
Line
Cod.
Q
(DB)
G
08
lB
(07)
07
(17)
IF
(IF)
(IF)
(IF)
(IF)
F4
BA
B6
9E
Bl
91
B9
96
99
B5
95
BD
9D
B3
93
BB
[98]
B7
(97)
97
(97)
BF
[9F]
FO
F9
6F
50
36
4B
3F
61
El
5E
06
M
M
X
X
V
V
OF
[IF)
F1
G
FIGS
17
90
9B
[B4I
BE
BC
9C
92
7F
Q
8
8
(OF I
F3
60
40
7A
FB
F7
5B
64
5D
SA
F2
7B
F6
Graphics
Character
(03)
03
f13)
13
38
6B
4D
F5
Control
Character
LTRS
LTRS
LTRS
LTRS
LTRS
LTRS
3
SP
1/8
8
7
$
$
(8B)
I.
(
)
2
4
7/8
1/2
5
3/4
1/4
2
#
6
a
7
1
9
5/B
&
FIGS
SP
LTRS
/
/
3/8
LTRS
Line Character Codes
263
BCD Character Code 1
S/38O
BCD
PDF
SI370
U..
eon....
Code
Code
60
7C
F8
Code
40
20
Otar.tar
01
02
04
<II
08
08
OD
OD
DE
DE
10
13
15
16
19
lA
lC
IF
20
88
F4
08
68
OF
14
DE
24
F2
(581
(581
(381
DO
EO
4C
A6
2C
lC
7C
29
95
2A
2C
38
3B
3D
3D
3E
40
43
45
46
49
4A
4C
4F
51
52
54
57
58
58
50
5E
5E
61
62
54
67
68
B8
60
60
6E
70
73
75
76
A5
as
05
93
A3
02
7B
4B
F7
87
17
32
27
40
50
98
AS
94
A4
34
04
82
A2
FO
CO
F6
88
16
D3
26
91
61
F9
B9
F5
85
00
15
25
F3
83
5B
68
8
h
4
d
RES
RES
BVP
BVP
2
b
•
0
w
UC
LC
·,
1
02
62
r
z
52
32
4A
2A
11 AI
7A
n
26
16
16·
76
DE
6E
5E
(5EI
3E
01
61
51
31
49
29
19
79
EOA
~
:g
IL
IL
PRE
1
•
PN
PF
,
k
0
PZ
6
f
BS
EOBIIl>
EOBIIl>
43
23
13
73
DB
6B
(68)
5B
3B
07
67
57
37
#
&
q
y
m
u
60
50
1301
(301
I
t
SP
45
25
15
75
00
J
I
9
;
·
5
LF-CR
LF-CR
Indox
3
c
(s)
7A
7C
7F
81
97
A7
37
07
6D
4A
82
84
8B
8D
8E
90
93
99
9A
9C
9F
AD
A3
A5
A6
A9
M
RS
HT
4B
$/370
Code
87
MZ
RM
~
S/38O
PDF
Code
88
88
04
36
08
Fl
81
99
A9
2F
31
32
3'
34
37
38
84
54
34
96
25
26
23
10
70
84
82
(t:!)
Gnphla
"""......
..- 7.
AC
AF
Bl
B2
B4
B7
BB
BB
BD
BE
CO
C3
C5
C8
CO
CA
CC
CF
01
02
04
08
08
00
DE
El
E2
E4
E7
EB
E8
EO
EE
FO
F3
F5
F6
F9
FA
Fe
FF
SC
C8
3F
7A
C4
14
24
5F
C2
D6
E6
36
06
7E
Cl
09
E9
05
E5
35
05
03
E3
4F
4B
7F
C7
17
27
40
4E
08
E8
04
E4
34
04
02
E2
50
70
C8
16
26
01
6F
40
CO
C6
e5
15
25
5E
C3
5A
6B
07
.7
37
07
[1-lnonlv.
()-Otrt0pIV.
264
3704 and 3705 Program Reference Handbook
BCD
Uno
Code
4F
2F
IF
17FI
CO
AD
90
FO
(881
88
EB
IDBI
(B81
84
E4
CC
AC
9C
IFCI
Co"'"
a........
.
p
©
EDT
@L
!
,H
D
RES
BVP
B
0
W
UC
LC
.
82
E2
02
B2
CA
A
R
Z
N
M
19AI
IFAI
C8
A6
95
IF61
8E
EE
IDEI
IBEI
1811
El
01
Bl
Gnpllia
"""-
V
RS
HT
EOA
<V
@
L
T
..
G
IL
PRE
SP
+
Q
CO
A9
199]
PN .
PF
IF9]
C5
A5
95
80
EO
BS
1001
IBO] EOB
C3
A3
93
F3
8B
EB
JDBJ LF·CR
J8BI Attn
87
E7
07
IB71
eF
AF
9F
EOT
DEL
IFFI
®
®
©
V
M
U
K
S
!
F
J
1
(
I
"
E
C
!
P
X
BCD Character Code 2 (NCP . .1. Onlv)
~
PDF
SI360
S/370
Cod,
Code
01
02
60
04
07
08
08
00
00
OE
DE
10
I.
13
15
19
lA
lC
IF
20
7C
F8
88
F.
B4
OF
14
DE
24
04
64
96
•C
2C
lC
7C
02
62
52
32
'A
2A
11AI
7A
'8
A6
36
06
Fl
B1
25
28
2A
2C
2F
99
A9
95
AS
35
05
31
93
32
A3
02
7B
34
34
37
38
38
3D
3D
3E
.0
43
45
.6
.g
'A
40
20
10
70
08
68
158)
(58)
(38)
38
F2
82
DO
EO
23
29
BCD
Un.
Cod,
4B
F7
87
17
32
27
40
50
98
A8
94
5.
3.
.c
29
'F
51
52
04
92
79
'5
57
58
58
50
5E
5E
61
62
6.
67
68
6B
60
60
6E
70
A2
FO
CO
F6
86
16
03
26
9.
61
F9
89
F5
B5
00
IS
25
F3
OJaractef
19
~
8
h
•
d
2
b
M2
•
R"
00
60
50
130]
[3D]
73
83
75
76
58
DB
6B
(5B)
5B
3B
07
67
57
68
37
I
1
#
7
•
q
y
m
"
,k
0
PZ
6
I
8S
ED8@
EOB®
43
23
13
73
i
/
9
i
5
IF·CR
IF·CR
Ir.dex
·
,
3
\s)
4F
2F
c.
"
2'
OF
C2
9
PN
PF
97
A7
37
07
60
4A
5C
C8
3F
7A
06
E6
36
RS
HT
IL
IL
PRE
SP
Code
99
9A
9C
9F
AD
A3
AS
A6
A9
AA
AC
AF
81
82
8.
87
88
88
80
8E
CO
C3
C5
C6
C9
CA
CC
CF
01
02
D.
08
08
DO
DE
El
E2
E'
E7
E8
EB
ED
EE
FO
F3
F5
F6
F9
FA
FC
FF
,n
$
87
88
88
8B
80
8E
90
Un.
Code
93
,1
25
15
75
79
7A
7C
7F
81
82
S~70
w
,,
E~
Cod,
0
UC
LC
EOA
PDF
B4
RES
RES
BYP
BYP
26
16
16
76
OE
6E
5E
(5E)
3E
01
61
51
31
.g
A4
34
54
Gr.phics
ClwKto.
®
BCD
S/360
Control
$
06
7E
Cl
09
E9
05
E5
35
05
03
E3
'F
13
7F
C7
17
27
'0
.E
08
E8
D.
E.
34
04
02
E2
50
70
C6
16
26
01
6F
.0
C9
C6
C5
15
25
5E
C3
5A
12
07
E7
37
07
,.
I7FI
co
Control
Dl.ractu
EaT
Graphics
Ch.ramr
©
@L
!
AO
90
FO
(88)
88
E8
108)
IB81
54
E•
CC
AC
9C
IFCI
82
E2
02
82
CA
AA
(9AI
[FA]
C6
A6
96
F6
8E
EE
IDE)
18E)
181)
El
01
81
C9
A9
Ig91
IF9I
C5
AS
95
80
ED
1001
1801
C3
A3
93
F3
88
E8
(08)
IBBI
87
E7
07
87.
CF
AF
9F
IFFI
,p
H
0
RES
BYP
B
a
W
UC
LC
.
A
R
Z
N
V
RS
HT
EOA
@
@
L
T
.
G
IL
PRE
SP
+
a
y
M
U
PN
PF
K
S
!
F
8S
E08
®
J
?
(
I
%
E
IF·CR
Attn
C
!
®
©
P
X
EDT
DEL
i]= In only.
() =Out only.
Line Character Codes
265
Correspondence Character Code
PDF
Cod.
01
02
04
07
OB
OB
00
OE
10
13
19
lA
lC
IF
20
23
25
26
29
2A
2C
2F
31
32
34
37
3B
3B
3D
3D
3E
40
43
45
46
49
4A
4C
4F
51
52
54
5B
5B
50
5E
61
62
64
67
6B
6B
60
60
6E
70
73
75
76
79
7A
8/360
8/370
Cod.
5A
A3
F4
61
F5
97
14
24
F2
7E
B9
92
36
06
Fl
B7
A2
BB
99
B4
35
05
A5
A4
F9
60
FB
6B
17
32
27
40
91
96
93
70
B5
34
04
4B
95
A9
F6
9B
16
26
94
A7
FD
AB
F7
5E
00
15
25
F3
B6
A6
B2
Bl
B3
Correspondence
Line
Cod.
40
20
10
70
OB
6B
5B
3B
Control
Character
®
26
16
76
DE
6E
5E
(5E)
3E
01
61
51
31
49
29
19
(791
45
25
57
37
4F
2F
Cod.
I
1
4
/
7C
7F
Bl
B2
5
P
84
BB
37
07
6E
E3
5R
6C
07
24
7C
4E
C9
02
36
LF-CR
LF-CR
Index
F6
2
,
;
k
UC
LC
1
,9
h
I
d
RS
T,b
E~ @
,
"
9
B
IL
PRE
PRE
SP
i
0
I
,
PN
PF
,"
15
00
60
50
(301
43
23
13
73
DB
6B
(5B)
5B
3B
07
67
5/360
5/370
Cod.
BB
BE
90
93
99
9A
9C
9F
AO
A3
A5
A6
A9
AA
AF
Bl
B2
B4
B7
BB
BB
BE
CO
C3
C5
C6
C9
CA
01
02
04
DB
DB
DO
El
E4
E2
E7
EB
EB
EB
ED
ED
EE
FO
B7
F3
F5
62
52
32
4A
2A
lA
7A
46
PDF
RES
BYP
04
64
4C
2C
lC
7C
02
Graphics
Character
6
q
BS
EoB
®
,m
0
y
7
;
®
3
f
w
b
F9
FA
FC
,
,
-
(J In only.
{I "'Out only.
266
3704 and 3705 Program Reference Handbook
06
4F
C7
E2
CB
09
C4
05
E5
E4
40
60
5C
6B
27
40
01
06
03
7F
C5
4B
05
E9
4C
DB
16
04
50
E7
EB
50
3F
79
14
15
25
7A
6F
C6
E6
C2
Cl
C3
37
Correspondence
Line
Cod.
IF
[7F[
CO
AO
90
BB
EB
[BB[
B4
E4
CC
AC
[9CI
(FC]
B2
E2
02
B2
CA
AA
[FAJ
C6
A6
96
F6
BE
IEEl
(BEl
[81J
El
01
Bl
C9
A9
[C5[
A5
95
BD
ED
(DO]
C3
93
A3
F3
BB
(EBI
EB
[OBI
(OBI
[BB[
B7
FD
E7
07
B7
CF
AF
[9F[
Control
Character
Graphics
Character
E~1 ©
®
T
$
%
P
BYP
0>
+
I
K
UC
LC
[
±
G
S
H
R
0
T,b
EoA
@
V
U
I
-
PRE
SP
J
a
L
E
N
Z
¢
a
BS
M
[
EaT
©
X
Y
&
RES
LF-CR
Attn
#
7
F
W
EaT
©
B
A
C
Correspondence Character Code 2 (NCP :# Only)
Correspondence
S{360
PDF
S/370
Line
Control
Graphics
Cod. Cod.
Cod,
Character
Character
01
5A
I
'0
02
A3
20
1
04
10
4
F'
07
61
70
I
08
F5
08
5
08
97
68
P
00
14
58
RES
OE
24
38
8YP
10
F2
04
2
13
64
7E
"
19
;
89
4C
lA
92
2C
k
lC
36
lC
UC
IF
06
7C
LC
20
Fl
02
1
23
87
62
9
25
A2
52
26
88
32
h
29
99
4A
2A
2A
d
8'
2C
35
lA
RS
2F
OS
7A
T<!b
31
A5
'6
32
A4
26
34
F9
16
9
E~ @
37
60
76
38
FB
DE
B
3B
68
6E
3D
17
5E
IL
3D
(5E)
32
PRE
3E
27
3E
PRE
40
01
sr
'0
43
91
61
i
96
51
0
'5
46
93
31
I
70
49
'9
85
29
'A
34
19
PN
'C
(9)
4F
PF
0'
51
45
'B
52
95
25
A9
15
5'
58
F6
00
6
58
98
q
6D
5D
16
BS
5D
5E
26
l3o! EOB
61
43
m
9'
62
A7
23
FO
13
6'
67
AB
73
y
68
F7
DB
7
6B
68
;
5E
60
(5B)
00
LF·CR
6D
15
5B
LF·CR
6E
25
3B
Index
70
F3
07
3
73
86
67
f
75
A6
57
w
76
82
37
b
79
B1
4F
7A
B3
2F
[] " In only.
( ) '" Out only.
®
7C
7F
81
82
8'
88
88
8E
90
93
99
9A
9C
9F
AD
,
A3
A5
,
AS
,
"
.
,"
®
8
®
PDF
Cod.
,,
A9
AA
AF
81
B2
B4
B7
BB
BB
BE
CO
C3
C5
C6
C9
CA
01
02
0'
08
08
DO
El
E'
E2
E7
EB
EB
E8
ED
ED
EE
FO
B7
F3
F5
F6
F9
FA
FC
S/360
S/370
Cod.
37
07
6E
E3
58
6C
07
24
7C
4E
C9
02
36
06
4F
C7
E2
C8
09
C4
05
E5
E'
40
60
5C
12
27
40
01
06
03
7F
C5
13
05
E9
'C
08
16
04
50
E7
E8
50
3F
79
14
15
25
7A
6F
C6
E6
C2
Cl
C3
37
Line
Cod.
IF
[7F!
CO
AO
90
88
E8
[88!
84
E4
CC
AC
[9C!
[FC]
Correspondence
Control
Graphics
Character
Character
E~~ (9
®
T
$
%
P
8YP
,
@
1
K
UC
LC
[
82
E2
02
82
CA
AA
[FA]
C6
A6
96
F6
8E
EE
[BE]
[81]
El
01
Bl
C9
A9
C5
A5
95
80
ED
[DO]
C3
93
A3
G
S
H
R
0
T,b
EOA
@
V
U
I
-
PRE
SP
J
a
L
E
N
Z
¢
0
BS
M
!
X
F3
8B
(EB)
EB
lOB]
{DB]
[BB]
B7
FO
E7
07
B7
CF
AF
19F!
±
Y
EDT
©
RES
LF·CR
Attn
&
,
#
EaT
©
Line Character Codes
F
W
B
A
C
267
,
.
EBCD Characte Cod
PDF
Cod.
01
02
04
07
DB
OB
00
00
OE
OE
10
13
15
16
19
IA
IC
IF
20
23
25
26
29
2A
2C
2F
31
32
34
34
37
3B
3B
3D
3D
3D
3E
40
43
45
46
49
4A
4C
4F
51
52
54
57
58
5B
50
5E
5E
61
62
64
67
6B
6B
60
60
6E
70
73
75
76
[I
8/360
8/370
Cod.
60
7C
FB
BB
F4
B4
OF
14
DE
24
F2
B2
DO
EO
96
A6
36
06
FI
BI
99
A9
95
AS
35
as
93
A3
02
7B
4B
F7
B7
00
line
Cod.
40
20
15
25
F3
B3
5B
01
line
Control
Cod.
Character
-
76
79
7A
7C
7F
Bl
B2
B4
B7
BB
BB
BD
BE
90
93
99
9A
9C
9F
AO
A3
AS
A6
A9
68
97
A7
37
07
60
4A
5C
CB
7A
C4
14
24
4C
C2
06
E6
36
06
7E
Cl
09
E9
05
Cod.
37
4F
2F
IF
h
4
d
3B
RES
RES
BYP
BYP
04
64
54
34
4C
2C
IC
7C
02
62
2
b
,
MZ
RM
0
w
UC
LC
,,
,
I
52
32
4A
2A
11A]
7A
46
26
(16)
16
76
OE
6E
(5E)
32
16
03
26
91
61
F9
B9
F5
B5
00
8/370
Cod.
8
(5E)
3E
01
61
51
31
49
29
(19]
79
86
PDF
10
6B
i5B)
5B
(38)
25
15
75
00
60
50
(3D)
[3D]
43
23
13
73
OB
6B
(5B)
5B
3B
07
67
57
(37)
,3
$
FF
7
SP
&
q
y
m
u
PN
PF
,k
0
PZ
6
f
~
B
j
I
9
;
,5
NL
NL
LF
®
17
27
40
4E
DB
EB
04
E4
34
04
02
E2
50
70
C6
16
26
01
6F
40
C9
6C
C5
15
25
5E
C3
SA
4F
07
E7
37
07
In only.
() = Out only.
268
[9CI
[Fe]
C6
A6
96
F6
BE
EE
#
#
9
BS
EOB
EOB
(B8J
B4
E4
CC
AC
E5
IL
IL
IL
PRE
45
[08]
35
as
03
E3
7F
SF
6E
C7
t
3704 and 3705 Program Reference Handbook
(§)
©
[9A]
[FA]
®
f
0
RES
BYP
<
B
0
W
UC
LC
RS
HT
E~ @
SP
(FFI
L
T
;,
G
[811
[DO]
[BDI
C3
A3
93
F3
B3
EB
[DB]
[BB]
B7
E7
07
B7
CF
AF
(9F]
.
A
R
Z
N
V
IL
PRE
El
01
Bl
C9
A9
[99[
(49)
C5
AS
95
BD
ED
;,,
H
[BEl
IDEI
Graphics
Character
EOT
DEL
90
FO
BB
EB
AC
AF
BI
B2
B4
B7
BB
BB
BD
BE
CO
C3
C5
C6
C9
CA
CC
CF
01
02
04
DB
DB
DO
DE
El
E2
E4
E7
EB
EB
ED
EE
Fa
F3
F5
F6
F9
FA
FC
I
0
CO
AO
AA
RS
HT
~
[7F]
B3
E2
02
B2
CA
AA
,"
EOA
E&1
EBCD
8/360
Graphics
Character
70
SE
27
®
OS
17
40
50
9B
AB
94
A4
34
04
92
A2
FO
CO
F6
EBCo
Control
Character
+
0
y
M
U
PN
PF
K
S
!
F
BS
EOB
®
J
?
i
I
%
E
NL
LF
,
C
®
r
P
©
EOT
DEL
X
EBCDIC Character Code
EBCDIC
Sl360
PDF
Code
S/370
Cod.
Line
Cod,
00
01
02
03
04
05
06
07
OA
OB
OC
00
01
02
03
04
OS
06
07
OA
OB
OC
00
00
OE
OF
OE
OF
10
11
12
13
14
15
16
17
IB
19
lA
lC
10
11
12
13
14
15
16
17
18
19
lA
lC
10
1E
1F
20
21
22
24
25
26
27
2A
2D
2F
32
34
35
3.
37
3C
3D
3F
40
4A
4B
4C
40
4E
4F
50
SA
58
5C
5D
5E
SF
60
61
68
6C
60
6E
6F
5
A
M
E
A
5
P
0
F
C
0
0
E
10
1E
1F
20
21
22
24
25
26
21
2A
20
2F
32
34
35
36
37
3C
3D
3F
40
4A
48
4C
40
4E
4F
50
SA
58
5C
50
5E
SF
60
61
60
6C
60
GE
GF
Control
Character
Graphics
Character
NUL
SOH
STX
ETX
PF
HT
LC
DEL
SMM
VT
FF
CR
SO
51
OLE
DCl
DC2
DC3
RES
NL
85
IL
CAN
EM
CC
IFS
IGS
IRS
IUS (ITS)
OS
50S
FS
BYP
LF
EOB/ETB
PRE/ESC
SM
ENQ
BEL
SYN
PN
RS
UC
EOT
DC4
NAK
SUO
SP
¢
<:
(
+
I
&
I
~
)
-'.
/
%
-
>
?
PDF
Cod.
7A
7B
7C
7D
7E
7F
81
82
83
84
85
B6
B7
88
89
91
92
93
94
95
96
97
98
99
A2
A3
A4
AS
A6
A7
AB
A9
C1
C2
C3
C4
C5
C6
C7
CB
C9
Dl
02
03
04
05
06
07
08
09
E2
E3
E4
E5
E6
E7
E8
E9
FO
F1
F2
F3
F4
F5
F6
F7
F8
F9
S/360
S/370
Cod,
EBCDIC
Line
Cod.
Control
Character
Graphics
Character
7A
7B
7C
7D
7E
7F
81
82
5
A
M
E
A
5
P
0
F
C
a
0
E
83
B4
B5
B6
B7
B8
B9
91
92
93
94
95
96
97
9B
99
A2
A3
A4
A5
A6
A7
AB
A9
Cl
C2
C3
C4
C5
C6
C7
CB
C9
01
02
03
04
05
06
07
DB
09
E2
E3
E4
E5
E6
E7
EB
E9
FO
F1
F2
F3
F4
F5
F6
F7
F8
F9
Line Character Codes
#
~
..
=
,
,b
,d
,
f
h
;
j
k
I
m
n
0
P
,,
q
t
,"
,w
,
y
A
B
C
0
E
F
G
H
I
J
K
L
M
N
a
P
Q
R
5
T
U
V
W
X
Y
Z
a
1
2
3
4
5
6
7
8
9
269
ITA2 Character Coda
ITA2
PDF
8/360
8/370
Lina
Cod,
Cod,
Cod.
01
01
02
02
03
03
04
04
05
05
06
06
07
07
08
08
DB
DB
09
09
OA
OA
08
08
85
C5
25
DC
DC
00
00
DE
DE
OF
OF
10
10
11
11
12
12
13
13
14
14
15
15
16
16
17
17
[I
() =
270
25
81
Cl
40
40
A2
E2
89
C9
A4
E4
03
OD
00
15
B4
C4
99
09
91
01
95
05
86
C6
B3
C3
92
02
A3
E3
A9
E9
93
03
A6
E6
88
C8
A8
E8
97
07
9B
DB
Control
Character
E
E
(10)
10
08
[881
LF
LF
A
A
(T8)
18
04
[84J
(14)
Graphics
Character
SP
SP
S
14
S
(DC)
I
I
U
U
DC
(lC)
lC
(02)
02
[B21
(02)
(12)
12
(OA)
OA
(1A)
lA
(06)
06
(T6)
16
(DE)
DE
(TEl
IE
[011
01
(11)
11
(09)
09
(191
19
(05)
05
(15)
15
(00)
00
(TD)
10
CR
CR
CR
CR
0
0
R
R
J
J
N
N
F
F
C
C
K
K
T
T
Z
Z
L
L
W
W
H
H
y
Y
P
P
Q
Q
PDF
Cod,
18
18
19
19
lA
lA
18
18
lC
lC
10
10
IE
IE
IF
IF
IF
IF
IF
IF
IF
IF
Bl
B3
B5
B6
87
89
8A
B8
88
8C
8E
8F
90
91
92
93
95
96
97
98
99
98
9C
90
9E
9F
S/360
S/370
Cod.
96
D6
82
C2
87
C7
26
36
94
04
A7
E7
AS
E5
00
06
07
17
32
37
3B
3F
F3
60
70
F8
F7
20
F4
2A
2F
68
7A
40
F5
4E
50
F2
F6
FO
Fl
F9
6F
36
48
61
In only.
Out only.
3704 and 3705 Program Reference Handbook
lE
06
ITA2
Line
Code
Control
Character
(03)
Graphics
Character
0
03
0
(13)
8
8
G
G
13
(08)
08
(18)
18
FIGS
FIGS
M
M
(07)
07
(17)
X
X
17
(OF)
V
V
OF
(IF)
IF
(TF)
OF)
(1F)
OF)
(IF)
(IF)
90
9B
94
8C
9C
92
SA
(TA)
(9Al
LTRS
LTRS
LTRS
LTRS
LTRS
LTRS
LTRS
LTRS
3
8
7
WRU
4
BELL
BELL
86
8E
9E
81
91
89
99
95
80
9D
83
93
[98]
(87)
(
5
+
I
2
6
0
1
9
,
FIGS
I
97
BF
[9FJ
~
LTRS
KATAKANA Character Codlt
PDF
Cod,
01
02
04
07
08
08
00
OE
10
13
19
lA
lC
IF
20
23
25
26
29
2A
2C
2F
31
32
3.
37
38
38
3D
3D
3E
3E
40
40
43
45
46
49
4A
4C
4F
51
52
54
58
58
50
5E
5E
61
62
64
KATAKANA
S/360
S/370
linlt
Cod,
Cod,
A3
8E
AA
88
83
80
14
24
9F
8A
AD
94
36
06
98
92
8E
93
AS
9E
35
as
A'
86
89
AF
A9
87
17
32
08
27
08
40
A2
91
80
A8
96
3'
lA
9A
95
8C
85
90
16
03
26
A4
A7
AC
67
97
68
68
60
60
6E
70
73
75
76
76
79
8'
82
00
15
25
81
90
8A
01
99
8F
Control
Charecter
40
20
10
70
08
68
58
38
04
64
4C
2C
lC
7C
02
62
52
32
4A
2A
lA
7A
46
26
16
76
0'
6E
5E
(5EJ
(3Ej
3E
(01)
01
61
51
31
49
29
(19)
(79)
45
25
15
00
60
50
(3D)
3D
43
23
13
73
08
68
(58)
58
38
07
m
,
,
?
RES
8YP
.[ ]- In only. ()-- Out only.
~Two character sequence.
"
J
]
5
UC
LC
8C
37
07
2F
'J
IC
r
f
IDLE
IDLE
,
J
J
1
PN
,
J
,,
,\
BI(SP
,
J
3
i
1
CR/LF
CR/LF
LF
?
"v
,
"
A3
AS
A6
AS
AA
AC
AF
81
82
84
87
88
8A
88
80
80
8E
CO
C3
C5
C6
C9
CA
01
02
04
08
08
DO
El
E2
E4
E7
E8
E8
ED
EE
FD
F3
F5
F6
F9
FC
FF
ry
(7Fj
CO
AO
90
Fa
88
E8
108]
RES
[S81
BYP
15
25
F3
C3
A6
68
07
37
07
Graphics
Character
EDT
DEL
PAD
OF
,,
,
AO
IF
7F
Control
Character
60
8F
F8
C8
F4
C.
14
24
",
SOA
Cod,
F2
C2
06
E6
36
06
F1
Cl
09
E9
05
E5
35
as
03
E3
88
48
F7
E7
C7
17
26
27
40
5C
08
E8
04
E4
02
E2
Fa
F6
C6
16
01
58
F9
C9
F5
C5
HT
E08
E08
line
Cod,
8E
RSTP
PF
7A
7C
7F
7F
81
82
84
87
88
88
80
KATAKANA
S/36O
S/370
90
93
99
9A
9C
9F
t
VT'
PRE
VT'
SP
PDF
Cod,
T
')
67
57
(37)
37
4F
Graphics
Character
;
8
H
4
0
B4
2
8
0
E4
CC
AC
19C]
uc
[FC]
LC
82
E2
02
82
CA
AA
[9A]
[FA]
1
A
R
Z
N
V
RSTP
HT
C6
A6
L
T
0
96
F6
8E
AE
EE
[DE]
[SO]
18E]
[81]
El
01
81
C9
A9
C5
AS
95
80
7
X
G
IDLE
E08
PRE
SP
Q
Y
M
U
K
S
0
6
F
ED
[DO]
SKSP
C3
A3
93
F3
88
E8
[OS]
[BB]
87
E7
07
87
CF
19F]
IFFI
W
J
¥
9
I
5
E
CR/LF
LF
3
C
,
;
EDT
DEL
Line Character Codes
271
Data Interchange (TWX) Character Code 1
PDF
Cod,
ao
ao
B4
a4
B5
al
a9
aA
aA
aB
ac
aD
BO
aD
aE
aF
91
92
94
't3'
AD
Al
A2
A3
A4
A5
A6
A7
Aa
A9
AA
AB
AC
AD
AE
AF
AF
BO
Bl
B2
B3
B4
B5
B6
B7
Ba
B9
BA
BB
BC
8D
BE
BF
CO
Cl
Cl
C2
S/360
5/370
Cod,
36
3a
24
31
20
2F
05
15
25
DB
OC
03
00
26
DE
OF
11
34
04
3C
40
5A
7F
7B
5a
6C
50
70
4D
50
5C
4E
6B
60
4B
61
El
FO
Fl
F2
F3
F4
FS
F6
F7
F8
F9
7A
5E
4C
lE
6E
6F
7C
81
Cl
82
TWX
Line
Cod,
(01)
1011
(tC)
1201
Al
EO
'91
(51)
51
01
31
(B1)
Bl
(B1)
70
Fl
89
49
29
ca
04
a5
44
C4
25
A4
64
E5
15
94
54
05
34
B5
75
F4
[3A]
00
BC
4C
CC
2C
AD
60
EC
lC
90
5D
DC
3D
8D
7C
FO
02
(83)
B3
(43)
Control
Character
Graphics
PDF
Character
Cod,
5/360
5/370
Cod,
C2
C3
C3
C4
C4
C5
C5
C6
C6
Cl
C7
NULL
NULL
EDT
EDT
WRU
BELL
HT
LF
LF
VT
FF
CR
CR
CR
SO
ca
51
X-on
TP Aux On
TPAuxOff
X-off
SP
I
#
$
%
~
I
t
+
i
I
0
1
2
3
4
5
6
7
8
9
<
=
>
?
@
A
A
B
CB
C9
C9
CA
CA
ca
CB
CC
CC
CD
CO
CE
CE
CF
CF
DO
DO
Dl
01
D2
02
03
D3
04
D4
05
D5
06
D6
07
07
DB
Da
09
D9
OA
OA
DB
DE
DF
FC
FF
FF
FF
FF
I)-Inon)y_
Out only.
( ) =
272
3704 and 3705 Program Reference Handbook
TWX
Line
Control
Graphics
Cod.
Character
Charactar
17
43
(C2)
C2
(23)
23
(A2)
A2
1621
62
(E3)
E3
(13)
13
(92)
92
(52)
52
(D3)
03
(32)
32
(B3)
B3
1731
73
(F2j
F2
(DB)
DB
(8B)
BB
(4B)
4B
(CB)
CB
(2A)
2A
(AB)
AB
(6B)
6B
lEA)
EA
(1A)
lA
(9B)
9B
(5B)
5B
OA
7A
FB
BA
(FE)
(FE)
(FE)
32
(FE)
C2
a3
C3
84
C4
B5
C5
a6
C6
Bl
C7
B8
ca
a9
C9
91
01
92
D2
93
03
94
04
95
05
96
06
97
D7
9a
DB
99
D9
A2
E2
A3
E3
A4
E4
A5
E5
A6
E6
A7
E7
A8
EB
A9
E9
79
4F
60
49
00
07
B
C
C
0
0
E
E
F
F
G
G
H
H
I
I
J
J
K
K
L
L
M
M
N
N
0
a
p
P
a
a
R
R
5
S
T
T
U
U
V
V
W
W
X
X
y
Y
2
2
[
t
~
1
Rubout
Rubout
Rubout
Rubout
.
o
ta I nterch an,. (TWX) Character Code 3 (NCP
PDF
Un.
Cod.
Cod.
Cod.
80
80
84
84
85
87
89
8A
8A
8B
8C
80
Bo
80
80
BE
8F
36
38
24
37
20
2F
05
15
25
DB
91
'2
94
94
9B
AD
AI
A2
A3
A4
A5
A6
A7
AS
A9
AA
AB
AC
AD
AE
AF
AF
80
Bl
B2
83
B4
B5
B6
B7
BB
B9
BA
BB
BC
BD
BE
BF
CO
Cl
Cl
DC
03
00
00
2B
DE
OF
11
34
04
3C
lB
40
SA
7F
7B
5B
6C
50
70
40
50
5C
4E
6B
60
4B
61
01
FO
Fl
F2
F3
F4
F5
F6
F7
FB
F9
7A
5E
4C
7E
6E
6F
7C
81
Cl
#
Only)
n'/X
5/360
5/370
Contrcl
Character
(011
NULL
NULL
(011
(IC)
EaT
EOT
1201
AI
WRU
EO
BELL
91
HT
(511
LF
51
LF
01
VT
31
FF
(B1I
CR
(Sll
CR
CR/EOT
IBll
(BI)
CR
70
so
Fl
51
69
X·on
49
TP Aux On
TPAuxOff
29
CB
X-off
1031 CTLR XI
EaT
04
5P
B5
44
C4
25
A4
64
E5
15
94
54
05
34
B5
75
F4
13Al
00
BC
4C
CC
2C
AD
60
EC
lC
90
50
DC
3D
BD
7C
FD
02
(83)
B3
1WX
S/360
Graphics
PDF
S/370
Cha_
Cod.
Cod.
C2
C2
C3
C3
C4
C4
C5
C5
C6
C6
C7
C7
CB
C8
C9
C9
CA
CA
CB
C8
CC
CC
CD
CD
CE
CE
CF
CF
DO
DO
01
01
02
02
03
03
04
04
05
05
08
06
07
07
DB
DB
0'
0'
DA
DA
DB
DE
OF
82
C2
83
C3
1
#
5
%
~
(
t
+
i
I
0
1
2
3
4
5
6
7
B
9
,
<:
=
>
?
@
A
A
84
C4
85
C5
86
C6
87
C7
BB
C8
BB
C9
91
01
92
02
93
03
94
04
'5
05
96
06
97
07
9B
DB
9'
D9
A2
E2
A3
E3
A4
E4
A5
E5
A6
E6
A7
E7
AB
EB
A9
E9
79
4F
16
OF
60
FC
FF
FF
FF
FF
49
00
07
17
32
Lin.
Cod.
Control
Dlaraetar
Graphics
Character
(43)
43
(C2)
C2
(23)
23
(A2)
A2
(62)
62
(E3)
03
B
8
C
C
0
0
E
0
F
F
(131
H
H
I
I
G
G
13
(92)
'2
(52)
52
(031
03
(32)
32
(83)
83
J
J
K
K
L
L
M
M
N
N
a
a
P
P
(731
73
(F2)
F2
(OBI
DB
IBB)
BB
(4B)
4B
tCBI
C8
a
a
R
R
5
5
T
T
U
U
V
V
W
W
(2A)
2A
(A8)
A8
(68)
8B
lEA)
OA
(IA)
lA
(9BI
'B
158)
5B
DA
7A
IFBI
(FB)
BA
IFE)
(FEI
IFE)
IFE)
X
X
y
Y
Z
Z
I
-I
Rubout
Rubout
Rubout
Rubout
I
Il=lnonly.
(I =Outonly.
Line Character Codes
273
ZSC3 Charactar Coda
PDF
Cod.
01
01
02
02
02
03
03
04
05
05
06
06
07
07
08
08
08
08
09
09
OA
OA
DB
DB
DC
DC
OD
DD
DE
DE
OF
OF
10
10
11
11
12
12
13
13
14
14
15
15
16
16
5/360
S/370
Cod.
••
C5
25
25
37·
81
Cl
40
A2
E2
89
co
A4
E4
03
00
OD
15
84
CO
99
D9
91
01
95
D5
88
C6
.3
C3
92
D2
A3
E3
A9
E9
93
D3
A6
E6
SS
CB
AB
EB
97
07
9B
DB
17
17
I J-Inonly,
II = Out only.
274
Line
Cod.
ZSC3
Control
Character
E
E
1101
10
(OBI
(88(
(1FI
OBI
LF
LF
LF
A
A
18
04
Graphics
a.arleter
SP
(141
14
S
S
(OCI
I
DC
(ICI
lC
(021
02
(82]
(02]
(121
12
(OA]
OA
I
(lAI
lA
(061
06
(161
16
(DE]
DE
I1EI
IE
(01)
01
(11]
11
(091
09
(19]
19
(051
05
(151
15
(OD]
OD
(10]
10
U
U
CR
CR
CR
CR
D
0
R
R
J
J
N
N
F
F
C
C
K
K
T
T
Z
Z
L
L
W
W
H
H
V
V
P
P
a
a
PDF
S1360
SI370
Cod.
Cod.
,.,.
19
19
lA
lA
lB
lB
lC
lC
lD
lD
IE
IE
IF
IF
IF
IF
IF
IF
IF
81
83
84
B5
86
86
.7
.9
SA
8B
BC
8D
8E
8F
90
92
93
94
95
96
9B
99
9A
9B
9C
9E
9F
96
06
82
C2
87
C7
26
36
94
D4·
A7
E7
A5
E5
Una
Coda
(031
03
1131
13
(OBI
DB
lB
18
(071
07
(17)
11FI
IF
I1F]
I1FI
(IFI
I1F]
32
38
3F
60
4E
40
7D
2A
2F
Fl
2D
61
F2
6B
F4
F8
4D
4B
50
F3
6F
F5
F9
7A
F6
FO
36
F7
7E
06
3704 and 3705 Program Reference Handbook
OFI
90
98
(84]
94
(861
8C
9C
92
BA
9A
B6
96
BE
9E
Bl
B
B
FIGS
FIGS
M
M
X
X
V
V
LTRS
LTRS
LTRS
LTRS
LTRS
LTRS
LTRS
-
+
SI'
BELL
BELL
1
WRU
I
2
:.
8
(
i
89
99
85
95
8D
B3
93
8B
(9B]
87
BF
(9F]
Dlarael:.
G
G
,OFI
OF
00
Graphics
a
a
17
06
07
17
ZSC3
Control
Character
3
7
5
9
6
0
FIGS
7
0
LTRS
Controller
©
B
F
1030
•
•@
®
•
_TEXT
®
•
<2l
©
>-
Polling
Controller
~
B
1
.
@
Polling
m
~
:x
g,
g,
"
~'
~
1l.
»c.
c.
~
",
.5
'"....
'"
Controller
©A
5
•
©B
...
..
®
6
•
..
1050
<2l
@
TEXT
®
LRC
©
Reset Terminals
Terminal Address
Component Select Code for Keyboard
Negative Reply
Reset, Resume Polling or Addressing
Terminal Address
Component Select Code for Reader 1
Reader Ready to start message
Message
End of Block
Check Character Generated by the 1050
Positive Message Received (No data check),
End of Transmission
1030
:
.
0
TEXT
1050
x
Addressing
1030
Reset Terminals
Terminal Address
Negative Reply (Not Ready)
Terminal Address
Ready to send message
Message
End of Block
Positive Message Received
End of Transmission (Reset)
®
•
©
Controller
•
<2l
•
1050
©A
.
@
TEXT
®
LRC
.
<2l
•
•
@
TEXT
®
LRC
•
©
•
<2l
Reset Terminals
Indicates message for a printer
Terminal Address
Conditions 1031 to answer
Ready to receive
End of Address (Text Mode)
Message (Data characters must be separated by
three PAD characters. PAD characters keep
line at Mark level).
End of Block
Positive Message Received
End of Transmission (Reset)
Addressing
If
a,
0
"...
~
m
~
3
I
9.
"Cl
g,
.,
'"
5'
"Co
»
Co
Co
Reset Terminals
Terminal Address
Component Select Code for Printer 1
Terminal ready to receive
End of Address
Message
End of Block
Check Character Generated by the controller
Negative Message Received (detected a data check),
Message Repeated (Program Controlled)
End of Block
Check Character Generated by the controller
Positive Message Received (No data check),
End of Transmission (Reset)
m
5'
...
2740
Addressing**
Polling""
Controller
©
A
SP
2740
Controller
•
II
@
"""--TEXT
®-
A
SP
Space Character
End of Address
Message
.~f----~(Y)
___----...,@EndofBloCk
. . . . - - LRC
Check Character Generated by the 2740
....~f-----©
Positive Reply
End of Transmission
(Y)I--------..
®
.~f--------,(2)
Positive Reply (Message OK)
@~------.~ End of Transmission
2741 Transmit/Receive Sequence
2741
_:o-____
©
@cDPoweron
Attention Key
Text @I--------~~ End of Address
Message
-=-------__._
IIf any) @1------__...EndofTransmission
~~------@
EOA
....
..
. .~~------©
Text Message
EOT
-
Address Select
• Terminal Address
.. Space Character
Positive Reply (Ready to Receivel
@1------__._EndofAddress
TeXT
.. Message
~ End of Block
LAC"
II' Check Character Generated by the Controller
*Used only on 2740 equipped with VRC/LRC checking feature.
""*Assumes 2740, Station Control, and Record Checking.
Controller
2740
©s~_______
:. Resets Terminals
..Resets Terminals
..
Terminal Address
Telegraph Terminals
Addressing
Polling
Controller
r~
Figs
H
EOM/EOT
Ltrs
Ltrs
AT&T
8382183
~
~ ~
I
Terminal Address; second
character must be M or G.
}-----VorM
"AT&T
8382/83
Negative Reply
-,~
--{~i9S
~i9S~
m.
1.\
CR
Message Sent
LF
Ltrs
EOM/EOT
Figs
H
WU
~.
115A
g,
,
X
A
~
C
Co
M
>
EOM/EOT
}------
---}------
First character must be an X,
followed by the terminal address .
VorM
Co
Co
~Text
m
--{~i9S
~.
'"
:::J
Ltrs
Ltrs
."
A
8
Ltrs
~
}--}--}---
......--- VorM
Terminal Address
Ltrs
.g
if
e.
TTY
Controller
TTY
Negative Reply
WU
115A
A
8
space}--CR
Text
Message Sent
Figs
H
Ltrs
*T. 0, M. V, H, or Y cannot be used when addressing the AT&T 8382/83.
Terminal Address (Ltrs must be
included when addressing an
AT&T 8383)
Positive Reply (Ready to Receive)
EOA
EOM/EOT
Circuit, terminal Address
Positive Reply
EOA
LF
Terminal Address
EOM/EOT
}-~VorM
EOM/EOT
Ltrs
J----
}---
Message Sent
EOM/EOT
~
-
Controller
TTY
Models 33 and 35 Teletypewriters
(Assume point·to·point, dial-up (switched network))
Keyboard Unattended
Controller
TTY
_ID,ACK
Controller dials TTY to perform WRU function.
TTY gives identification code and go-ahead signal.
_____
(Always 20 characters.l
Message sent.
Dial TTY
Text
XOFF",WRU~
_ID,ACK
Text
~
XOFF',EOT -
DialTTY
-----ID,ACK
Text
Go-ahead signal to TTY.
TTY identification and go·ahead
Message sent.
Transmission is finished: go on·hook.
~
-..
XOFF'
Paper Tape
Controller
Tape
Dial Tape
Paper-tape
..
{
Punch
ID,ACK
Text
Controller dials tape terminal.
Terminal identification and go-ahead to controller.
Message sent.
XOFF*,EOT
End of text, end of transmission.
Dial Tape
Controller dials tape terminal.
Terminal identification and go-ahead to controller.
Turns on tape transmitter.
..
ID,ACK
XON
Paper-tape {
Reader
III
Text
------XOFF·
Message sent.
End of text.
XOFF*,EOT
..
End of text, end of transmission.
"May be followed by a maximum of three delete characters.
Keyboard Attended
Controller dials TTY to perform WRU function.
Identification code and go·ahead signal.
(Always 20 characters.)
Message sent.
End of text.
BSC Terminals
Addressing
Polling
Controller
Terminal
EDT - - - - Polling
}--
characters.
Controller
then turns the line around.
ENQ
_----Text
EDT - - - - t..~
Controller resets terminals.
Controller sends polling characters,
Terminal
Addressing ~
characters,
ENQ
Terminal sends message.
...----ACKO
Text
Controller rescts terminals.
Controller addresses the terminal,
then turns the line around.
Terminal ready to receive.
Controller sends message.
Section 15: MDR Record Formats
The network control program (NCP) and the host access method provide records as input
to the Miscellaneous Data Recorder (MDR).
The access method recognizes NCP1 and NCP2 MOR records by the system response
(X'OA') in the BTU.
NCP# MO R records are identified by the second two bytes of the request/response unit
(RU) in the FlDl PIU. For MDR records, RU byte 1 = X'03' and RU byte 2 = X'Sl'.
Bytes 3 and 4 of the RU contain the network address of the failing unit, and byte 5 is the
beginning of the MDR record.
The text portion of the MDR records consists of a field of up to 35 bytes. The third byte
of the field is the recording mode byte, which is used to differentiate among the types of
NCP MDR records. The fourth byte, the record 10 byte. is always set to X'05'. indicating
to the host that this is a 3704 or 3705 MOR record.
In some of the records there is a field labeled Abend/Malfunction Code. If the record
represents an error that caused the NCP to abend, this field contains the appropriate
abend code. In this instance the MOR record never reaches the host, but remains in the
check record pool (CRP). If, however, the error condition was one that might have
caused an abend but was recovered from, the record is transferred to the host. and the
abend code is treated as a malfunction code. When the error condition is one that could
not cause an abend, this field is set to zero.
When the MOR record is in the CRP, two CRP control bytes precede each record. Refer
to the data area layout for more information about the CRP.
MOR Record Formats
281
~
The records for permanent line errors and line statistics are created by the line error rec.order routine (CXDILER).
Record Format for Permanent Line Errors
0(0)
5(5)
4(4)
BTU Command
BTU Modifier
(BCHCMD)"
(BCHMOD)"
8(8)
6(6)
BTU Flags
(BCHSFLAG)"
3(3)
2(2)
Recording .....
Line Interface
Address
Record
Mode=X'OO'
ID=X'05'
11(8)
9(9)
lOB Command
lOB Modifiers
(lOBCMAND)"
(lOBCMODS)"
lOB Immediate
Control
Command
(IOBIMCTL)"
14(E)
12(C)
15(F)
lOB
lOB Status
(lOBSTAT)"
17(11)
lOB Initial
Error Status
Extended
Status
(IOBERST)"
(lOBEXTST)"
18(12)
lOB
Initial
Error
Extended
Status
(lOBEREST)"
20(14)
Temporary
Error Counter
21(15)
2740 Graphic
Response Byte**
22(16)
24(18)
Device Features
Device Type
(DVBTYPE)"
(DVBSDRE)"
(DVBFEAT1)"
I
(DVBFEAT2)"
*Indlcates the control block fIeld from whIch thiS MOR record fIeld IS loaded. (See "Data Area Layouts" sectIon for fIeld definitions.)
**2740 graphic response byte is zeroed if not applicable.
*** Applies to SSC/SS devices as well as lines.
110 Counter
(DVBSDRT)"
Record Format for Station Statistics
0(0)
2(2)
Line Interface
Address
Recording
Mode=X'Ol'
1 3 (3)Record
ID=X'05'
4(4)
Hex Zeros
1B(12)
I/O Counter
(DVBSDRT)'
20(14)
Temporary
Error
Counter
22(16)
24(lB)
Device
Features
(reserved if SOLC)
(DVBSDRE)'
Device
Type
(DVBTYPE)'
-------
-------
or SCB total
retry count
or 5CB station
type (SCBTYPE)
ifSDLC.
(SCBTRTCT)
ifSDLC.
(DVBFEAT1)'
I
(DVBFEAT2)'
*Indicates the control block field from which the MDR record field is loaded. (See "Data Area Layouts" section for field definitions).
------------or SCB trans·
mission counter
(SCBTCNT)
ifSDLC.
~
The records on this and the following pages are created by
~
Record Format for Type 1 Channel Adapter Errors
,
c.
~
!:l
o
'"4'
~3
4(41
Error Record
Type=X'S4'
(Type 1 CAl
5(5)
1
Lost Check
Record Count
level 1 error processing routines. They are prepared fo~ transfer to the host by the error record transfer routine (CXDIERT).
I
0(01
Abend/Malfunction
Code
1
2(21
16(6)
(CRPLCRCT)
Hex Zeros
1
16 (10)
External Register
X'6]'
Type 1 CA Controls
I
Recording
Mode=X'10'
13(31
Record
ID=X'OS'
Record Format for Type 2 Channel Adapter Errors
2(2)
0(0)
Abend/Malfunction
Code
4(4)
Error Record
Type*
5(5)
6(6)
Lost Check
Record Count
(CRPLCRCT)
12(C)
14(E)
20(14)
18(12)
External Register
X'S8'
Bus Out Diagnostic
Register
22(16)
Hex Zeros
Record
IO=X'OS'
External Register
X'52'
Control Word
Byte Count
External Register
X'S1'
OUTCWAR
16(10)
External Register
X'S6'
Check Register
1 3 (3)
10(A)
8(8)
External Register
X'SO'
I NCWAR
External Register
X'55'
Control Register
Recording
Mode=X'10'
External Register
X'SC'
Command Register
* Type 2 CA l=X 04
Type 2 CA 2=X'02'
"With a 3705 over 64K. the first two bits of the address are the low-order two bits of the previous field.
External RegIster
X'S9'
Cycle Steal
Address Register**
m
Record Formllt for Type 1 Communication Scanner Erron
0(01
~
1 2 (21 Recording
Abend/Malfunction
Code
m
a
~
i
3
"
f
'l:
4(41
15(51
1 6 (61
External Register
Error Record
Lost Check
Type = X'CO'
Record Count
X'44'
Status Register
(Type 1 Scannerl
(CRPLCRCTI
12(CI
Interrupted Program Level's
Instruction Address Register
(Register 01
Mode=X'II'
IC'X'05'
8(81
External Register
X'74'
Lagging Address Register
16(101
External Register X'79'
Program Level
Interrupt.ed
I
Record Format for Type 2 Communication Scanner Errors
I""
0(0)
1 2 (21 Recording
Abend/Malfunction
Code
4(41
Error Record
Type-
1 5 (61Lost Check
Record Count
(CRPLCRCTI
1 6 (61
External Register
X'43'
Check Register 1
External Register
X'74'
Lagging Address Register
16(101
Interrupted Program Level's
Instruction Address Register
(Register 01
"Type 2 Scanner·l.X'4Q'
Type 2 Scanner·2=X'20'
Type 2Scanner·3=X'10'
Type 2 Scanner·4=X'08'
Mode=X'II'
8(81
12(CI
'
1 3 (31Record
External Register X'79'
Program Level
Interrupted
I
1 3 (31Record
IC=X'05'
Record Format for Type 3 Communication Scanner Errors
0(0)
Abend/Malfunction
Code
4(4)
Error Record
Type*
1 5 (5) Lost Check
Record Count
(CRPLCRCT)
1 6 (6)
12(C)
*Type
Type
Type
Type
s:
Cl
"
8"a.
-n
o
3
~
3Scanner-l=X'41'
3 Scanner-2=X'21,
3 Scanner-3=X'11'
3 Scanner-4=X'09'
Recording
Mode=X'll'
13(3)Record
ID=X'OS'
8(8)
External Register
X'43'
Check Register 1
External Register
X'74'
Lagging Address Register
16(10)
Interrupted Program Level's
Instruction Address Register
(Register 0)
12 (2)
External Register X'79'
Program Level
Interrupted
1
18 (12)
External Register
X'42'
Check Register 0
~
Record Format for Input/Output Instruction Exceptions
co
0(0)
.a~
~
4(4)
Error Record
\5(5) Lost Check
Type=X'20'
\6(6)
Record Count
(CRPLCRCT)
i
Recording
1 3 (3) Record
·ID=X'OS'
External Register
Instruction on
which the error
occurred.
X'74'
Lagging Address Register
16(10)
Interrupted Program Level's
Instruction Address Register
(Register 0)
"
External Register
X'79'
Program Level
Interrupted
!
I
Mode=X'12'
8(8)
12(C)
3
f:i
~
g,
g
,..
2(2)
Abend/Malfunction
Code
Record Format for Unresolved Program Level 1 Interrupt Requests (Type 2/3 scanner)
2(2)
0(0)
Recording
Abend/Malfunction
Code
4(4)
5(5)
Error Record
Type=' .
/3(3 1 Record
ID=X'OS'
8(8)
6(6)
Lost Check
Record Count
External Register
X'7S'
X'74'
(CRPLCRCT)
Adapter Interrupt
Requests Group 1
Lagging Address Register
External Register
18(12)
16(10)
12(C)
Interrupted Program Level's
Instruction Address Register
(Register 0)
*Type 2 scanner=X'Ol'
Type 3 scanner=X'03'
Mode=X'13'
External Register
X'79'
Program Level
Interrupted
External Register
X'7E'
CCU Interrupt
Requests Group 1
Record Format for Invalid Instruction Operation Codes
0(0)
Abend/Malfunction
Code
4(4)
Error Record
Type-X'OS'
1 5 (5) Lost Check
Record Count
1 6 (6)
1 2 (2) Recording
Mode-X'12'
1
3 (3)
Record
IO-X'OS'
S(S)
Instruction on which
error occurred.
External Register )('74'
Lagging Address Register
(CRPLCRCT)
12(C)
16(10)
Interrupted Program Level's
Instruction Address Register
(Register 0)
External Register
X'79' Program Level
Interrupted
I
Record Format for Unresolved Program Level 3 Interrupt Requests
This record is created by the level 3 router (CXCCRTR).
0(0)
Abend/Malfunction
Code
4(4)
Error Record
Type-X'03'
1 5 (5)Lost Check
Record Count
(CRPLCRCT)
16 (6)
1 2 (2)
Recording
M(lde=X'13'
J
3(3)
Record
ID-X'OS'
S(S)
External Register X'77'
Adapter Interrupt
Requests Group 2
1 1S (12)
Hex Zeros
External Register X'7F'
CCU Interrupt
Requests Group 2
8 Record Format for Permammt SOLe Errors
0(0)
2(2)
Line interface address
• 6(6)
4(4)
SC~
Link scheduling flag.
• 7(7)
8(8)
Output control
(SCBSSCF)
flag. (SCBOCF)
LXB status.
14(E)
LX8 extended
Reserved
Recording mode.
X'Q3'=Station error
X'02'=Link error
9(9)
3(3)
Record 10.
)('05'
l1(B)
LXB command.
LXB modifiers
UCB
(LXBCMANO)
(LXBCMOOS)
Immediate
control cmd.
.
.
(LXSIMCTL)
12(C)
(LXBSTAT)
LXBSTAT
LXBSTATC
• 21(15)
20(14)
SCB Total retry
count.
(SCBTRTCT)
26(1C)
SCB receive
count.
(SCBNR)
(Bits 4,5,6)
status.
count.
(SCBNS)
(Bits 4,5,6)
17(11)
LXB error status.
(LXBEXTST)
Reserved.
• 30(1E)
32(20)
CCB control and type flags.
(CCBCTL)
...
Command field
received from
secondary station.
SECCFR
SCB transmission
counter.
(LXBEREST)
ThiS field IS present only If thiS record IS for a station (for a link, field contains all zerosl.
uThis field stored only for duplex" links.
u*This field stored only if Command Reject was the cause of the MOR record ~eing formatted.
27(1 B)
Transmit BLU
command field
outstanding count.
SCP pass
count.
(CCBCFLO)
(SCBCOC)
(SCSPCNT)
33(21)
N(R) and N(S)
...
received from
secondary station.
SCB current
34(22)
Command reject
reason:
X'OB'=lnvalid N(R).
X'04'=Frame too
long.
X'02'oOate received
inSorNS
format.
.
.
..
(SCBTCNT)
•• 26(1A)
• 25(19)
SCB station
type.
(SCBTVPE)
18(12)
LXB initial error
extended status.
(LXBERST)
LXBERST
LXBHSTAT
24(18)
22(16)
Received BLU
command field.
(LXBRBLUC)
• 29(10)
SCB send
15(F)
X'01'=lnvalid
command .
Section 16. EP Storage Maps
EP (old base)
Address
(hex)
000·500
680
688
6FO
6F6
700
700
702
710
711
712
714
718
71C
720
724
728
72C
72E
730
780
780
7AO
70C
7EO
800
840
...
...
...
...
...
Description
Destroyed by dump.
Direct addressables for Ie and STC instructions.
10 for CYANUC module.
Pseudo BCB. (Type 1 scanner only)
Character service routine address. (Type 1 scanner only)
Direct addressables for LH and STH instructions.
Pointer to channel vector table. (The contents of this location are destroyed
if a dump is taken on a 3705 with dual RDS.
IPL register save area.
Queue control flags:
X'40' - Stac~<ed status service.
X'20' - Sense'service.
X'10' - TID sequence.
X'08' - Do r.ot dequeue TID.
Active command count. (Equals the number of lines active.)
aCB table. (Address of last eeB using TID.)
Priority-data-service·out queue (PDSOQ).
Data-service-out queue IDSOQ).
Data-service-in queue (OSlO).
Status· out queu~ (SOO).
Sense-out queue (SNOOI.
Stacked·status queue (SSO).
Address pointer to the first character serviced (CSP01).
Address pointer to last character serviced (CSPQ2).
SVCO
Group 0 register save area for ADS.
Direct addressables for Land ST instructions.
Group 0 register save area for level l.
Pointer to last entry in error log.
Error log.
Line vector table (Type 1 scanner)
Line vector table. (Type 2 scanner)
Channel vector table. (Begins on the first doubleword boundary following
the line vector table.)
Character control block. (Begins on the first doubJeword boundary
following the channel vector table).
Line Group Table. (Begins on the first doubleword boundary following the
last character control block.)
Trace table pointers. (Immediately follows the EP load module.)
Trace table. (Immediately follows the trace table pointers.)
EP Storage Map
291
EP (new base)
Address
(hex)
000-500
680
66B
697
698
69A
6A2
6.FO
6F6
700
700
702
710
712
718
71A
71C
71E
720
722
724
726
72C
72E
730
780
780
7AO
840
...
...
...
...
...
292
Description
Destroyed by dump.
Direct addressables for
Ie and src instructions.
10 for CYANUC module.
Channel adapter select flag of IPL channel.
Level 1 ERP count.
Module 10 (CYENUC).
Version and modification level.
Pseudo BCB.-
Character service routine address. (Type 1 scanner only).
Direct addressables for LH and 5TH instructions.
Pointer to channel vector table. (The contents of this location are destroyed
if a dump is taken on a 3705 with dual ROS.
IPL register save area.
Pointer to CHeB for the first channel adapter 4.
Pointer to CHea for the second channel adapter 4.
Pointer to the next CHVT to be checked by the timer routine.
Address of the CHea initialized for panel use.
Address of the eTror log.
Contents of ABAR when a level 1 interrupt occurs.
Contents of Input X'79' when a level 1 interrupt occurs. (Indicates an
interrupted level.)
Contents of Input X'76' when a level 1 interrupt occurs. (Indicates an
adapter request.)
Log-trace indicator: X'01' = Store log entry at byte displacements 6 and 7
of the trace entry.
Unhang subchannel switch: X'01' = Action is in progress to unhang the
subchannels.
Address pointer to the first character serviced (CSPQ1).
Address pointer to last character serviced (CSPQ2).
SVCO
Group 0 register save area for ROS.
Direct addressables for L and Sf instructions.
Group 0 register save area for level 1.
Line vector table (Type 2 scanner).
Channel Control Block (CHC8). (Begins on tho first doubleword boundary
following the line vector table.)
Character control block.. (Begins on the first doubleword boundary
following the channel vector table).
Line G.roup Table. (Begins on the first doublewrod boundary following the
last character control block.)
Trace table pointers. (Immediately fonows the EP load module.)
Trace table. (Immediately follows the trace table pointers.)
3704 and 3705 Program Reference Handbook
Byte 0
External
Register X'41'
0
1
2
3
4
Bit Positions
0
0
0
0
1
Field
Address Bits
Type 1 Scanner Interface Address Bits
'"'"OJ
Byte 1
7
X
X
X
X
X
3
X
4
0
~-
II
Byte a
Byte 1
II
Register X'40' !-'O'---'-_-'2=---=3'-----'4_--=-_..:6'---'-7-+_0=----'l'--=2__3=-_4'--=__6=---'7'--l
Bit Positions
a a a a
a x x x x x x x x x O.
Field
L..:~....:.-....:..--=--..:....-:....,.....:.:..."S,...:..4....:..:--:L:........:.:...,.....:..:-...:.:.-;-.:..:..-:..:...,....:..::....J
Ia
Address Bits
OO=Scanner-'
01=Scanner-2
10=Scanner-3
11 =Scanner-4
3
/
4
OOO=Not Used
I
5
\
00l m Not Used
B
I
Interface
X'O'·X'F'
0l0=LlB pas 1
0ll=LlBpos2
l00=LlB pas 3
l0l=LlB pas 4
110=lIB pos 5*
11 l=LIB pas 6"
* Invalid for Type 2 Scanner-,
Note: Interface addressing in the 3704 with a Type 2 Scanner follows the same addressing scheme as a 3705
Type 2 Scanner-l, LIB position 1. Interface address bits 4, 5, 6, 7, and 8 specify lines O-F in LIB Type Al.
However, addresses 1, 3, C, D, E, and F are reserved. If the scanner supports two LIBs (LIB positions 1 and
2), all interface addresses are used.
Type 2 Scanner Interface Address Bits
INTERFACE ADDRESS ASSIGNMENTS (HEX)
S/L
(HEX)
•
Type 1
Scanner
LIB position 1
2
3
4
1-
0 11
12131415161718191 A
r
181 C I D l E
00
01
02
03
-
02
03
04
05
-
-
900
910 920 1830184018501860
930 940 950 960
80018101820
ADO A 10 A20 A30 A40 A50 A60
BOO B 10 B20 B30 B40 B50 B60
80
870
1970 980
A70 A80
B70 B80
890
1990
A90
B90
8AO 8B
9CO 1800
900
19AO 19BO
TCO
AAO ABO ACO ADO
BAD BBO BCO BOO
LIB position 1
2
3
4"
-
84E
5A 85C
840 184J4418461848184AI84C
860
862 864 866 868 86A 86C 186E 18501852,185418561858
870 872 874 876 878 87A 187C r5E
87E
880 882 884 886 888 88A 88C 88E 890 892 894 896 898 89A 89C 89E
8AO 8A2 8A4 8A6 8A8 8AA 8AC 8AE 880 8B2 8B4 8B6 8BB BBA 8BC 88E
3705 EXPANSION MODULE 1
Type 2/3
Scanner-2
~
~
g
~
~
~.
'"
'""'
LIB position 1
2
3
4
5"
6"
Storage Address Assignments (part 1 of 2)
8EO
FO
19EO r 9FO
AEO AFO
BED BFO
r
STORAGE ADDRESSES (HEX)
Type 2/3
Scanner-l
IF
STORAGE ADDRESSES (HEX)"
STORAGE ADDRESSES (HEX)
OA
DB
DC
00
DE
OF
-
-
940
960
980
9AO
9CO
9EO
942
962
982
9A2
9C2
9E2
944
964
984
9A4
9C4
9E4
946
966
986
9A6
9C6
9E6
948
968
988
9A8
9C8
9E8
94A
96A
98A
9AA
9CA
9EA
94C
96C
98C
9AC
9CC
9EC
94E
96E
98E
9AE
9CE
9EE
950
970
990
9BO
900
9FO
952
972
992
9B2
902
9F2
954
974
994
9B4
904
9F4
956
976
996
9B6
906
9F6
958
978
998
9BB
9U8
9F8
95A
97A
99A
98A
9DA
9FA
95C
97C
99C
9BC
9DC
9FC
95E
97E
99E
9BE
9DE
9FE
INTERFACE ADDRESS ASSIGNMENTS (HEX)
S/L
(HEX)
•
3705 EXPANSION MODULE 2
Type 2/3
Scanner-3
LIB position 1
2
3
4
5'
6'
I~
0
I I I I
1
2
3
A40
A60
ABO
AAO
ACO
AEO
A42
A62
AB2
AA2
AC2
AE2
A44
A64
AB4
AA4
AC4
AE4
A46
A66
AB6
AA6
AC6
AE6
LIB position 1
2
3
4
5'
6'
840
B60
B80
BAO
BCO
BEO
842
B62
B82
BA2
BC2
BE2
B44
B64
B84
BA4
BC4
BE4
B46
B66
B86
BA6
BC6
BE6
5
I I I I I I I I I I
6
7
9
A
B
C
0
E
F
A52
A72
A92
AB2
AD2
AF2
A54
A74
A94
AB4
AD4
AF4
A56
A76
A96
AB6
AD6
AF6
A5B
A7B
A9B
AB8
AD8
AF8
A5A
A7A
A9A
ABA
ADA
AFA
A5C
A7C
A9C
ABC
ADC
AFC
A5E
A7E
AgE
ABE
ADE
AFE
B54
B74
B94
BB4
BD4
BF4
B56
B76
B96
BB6
BD6
BF6
B58
B78
B98
BB8
BD8
BF8
B5A
B7A
B9A
BBA
BDA
BFA
B5C
B7C
B9C
BBC
BDC
BFC
B5E
B7E
B9C
BBE
BDE
BFE
8
-
-
A4B
A6B
A8B
AA8
ACB
AE8
A4A
A6A
A8A
AAA
ACA
AEA
A4C
A6C
A8C
AAC
ACC
AEC
A4E
A6E
A8E
AAE
ACE
AEE
A50
A70
A90
ABO
ADO
AFO
STORAGE ADDRESSES (HEX)
1A
1B
1C
10
1E
1F
*Not used for type 3 scanner
* ·Storage address X'6FO' is used for character service
Storage Address· Assignments (part 2 of 2)
t
STORAGE ADDRESSES (HEX)
12
13
14
15
16
17
3705 EXPANSION MODULE 3
Type 2/3
Scanner·4
4
-
B48
B68
B88
BA8
BC8
BE8
B4A
B6A
B8A
BAA
BCA
BEA
B4C
B6C
B8C
BAC
BCC
BEE
B4E
B6E
B8E
BAE
BCE
BEE
B50
B70
B90
BBO
BOO
BFO
B52
B72
B92
BB2
BD2
BF2
Section 18: Index to NCP and EP Reference Material
This index provides a pointer to NCP and EP reference material such as service aids,
diagnostic aids, debug information. etc. Items that are in this handbook have a page
number listed with their entry. If an item is located in another publication, an (X)
appears under that p;jpticular publication's key.
Key
A
Publication
IBM 3705 Communications Controller, Network Control Program, Version 1,
PLM, SY30·3003.
IBM 3704 and 3705 Communications Controllers, Network Control
ProgramNS, Version 2, PLM, SY30-3007.
B
C
IBM 3704 and 3705 Communications Controllers, Network Control ProgramNS,
Version 4, PLM, SY30·3013.
IBM 3705 Communications Controller, Emulation Program, PLM,
SY30·3001.
D
NCP/TCAM Network User's Guide, GC30-3009.
E
Guide to Using the IBM 3704 Communications Controller Control Panel,
GA27·3086.
Guide to Using the IBM 3705 Communications Controller Control Panel,
GA27·3087.
F
IBM 3704 and 3705 Communications Controllers, Network Control Program,
Generation and Utilities, Guide and Reference Manual, GC30-3000.
IBM 3704 and 3705 Communications Controllers, Network Control
ProgramNS, Generation and Utilities, Guide and Reference Manual,
(for OSNS TeAM Users), GC30·3007.
IBM 3704 and 3705 Communications Controllers, Network Control
ProgramNS, Generation and Utilities, Guide and Reference Manual (for
OSNS VTAM Users), GC30·3008.
G
IBM 3704 and 3705 Communications Controllers, Emulation Program,
Generation and Utilities, Guide and Reference Manual, GC30-3002.
H
IBM 3704 and 3705 Communications Controller, Principles of Operation,
GC30·3004.
Index to NCP and EP Reference Material
297
KEY
AB C 0 E F G H
abend codes
253
addressing .
interface.
Iine/LIB.
X
X
.
X
X
protect key.
storage . . . .
address trace (NCP) •
description. . .
implementation . .
pointers to trace table
XX
XX
5.
BHR • . • . • . •
definition . . . .
macros . . . . . .
bring-up test (see initial test)
X
X
XX
XX
BTU commands 203.
BTU responses 223
BTU trace • • • •
channel adapter trace
codes . . . . .
abend
X
X
X
X
253.
X
EP generation .
NCP generation
request 211.
response. . .
X
BTU 223.
system 223
commands . . .
BTU
203 • •
channel. . .
control . . . . . .
network (NCP#) 211.
SOLC (NCP#) 219· •
XX
XX
X
X
X
teleprocessing. . . .
EP 221 . • • .
NCP
203 • • . . •
control blocks (see data area) .
data area . . . . . . .
layouts (see table of contents)
location. . . .
relationships 1.
diagnostic wrap (EP).
displays . . .
dump . . . .
X
X
X
X
EP• . • .
NCP • • •
X
dynamic display
EP • . . •
NCP • • .
error log (EP) •
error records .
MOR
2Bl
X
XX
X
XX
sense/status.
X
EP • • •
NCP ••
error recovery .
XX
X
EP • • • •
NCP • • • • • • •
exception responses· 231.
external registers .
labels • • • •
usage
XX
X
XX
237 •
format of storage •
EP • • •
NCP ••
ICW 243.
initial test •
EP' • •
NCP ••
298
X
X
3104 and 3105 Program Reference Handbook
xX
X
X
X X
XX
KEY
instructions 233. . _ _ . .
interpretive command (see OLTT or OLLT) .
line test (take·a-line) _
line trace _
functions
ABC DE F G H
X
X
EP.
X
NCP
X X
format
EP . .
X
NCP •
X X
implementation
EP . . . .
X
NCP • . .
macro
_ ..
__
X
X
X X
.
block handler (NCP) •
EP generation.
instructions. .
NCP generation
supervisor INCP)
281
MDR
X
.
.
.
_
X
X X
X
X X
X X
.•
messages and codes
abend 253.
EP generation .
NCP generation
response (BTU)
system (8TU)
I modem leads
X
X
223.
223.
241..
module identification
.
.
EP . . . . . . . .
X
NCP . . . . . • .
network commands INCP #)
OLLT(NCP#)
211
211.
..
execution . . . . .
interpretive commands.
OLLT
X X
X
X
X
•.••...
EP execution . _ . . _ _
interpretive commands INCP).
NCP execution
panel. . _
displays.
functions
operation
'protect keys
registers. _ .
input/output 237
general . .
request codes 211_
responses . . . .
BTU
223.
.
.
exception 231 _
SDLC commands TNCP#)
sense bit settings.
X
X X
X X
X
X
X
X
X
X
X
X X
X
X
219.
EP . . . .
X
NCP . • • . .
service aids. . . .
abend codes 253
address trace INCP)
BTU trace . . . _
channel adapter trace
dump . . . . . .
X X
X X
X
X
EP . . . . . .
X
NCP • • • • • •
X
initial test (bring-up test!
EP..
.
X
X
XX
NCP . . •
line trace
.
.
EP.
NCP
X
179.
X X
X
X
Index to NCP and EP Reference Material
299
KEY
AB CD E
MDR 281
OLLT(NCP#I
OLTT . . .
EP . . . .
XX
tak~.~~in~ (;ee ·lin~ t~stl·
X X
F
GH
X
status bit settings.
EP • . . . .
NCP . . . .
storage keys . .
X
X
X X
X
storage map (EP) .
switches, panel . .
take-a-line (see line testl
trace.
.
.
.
.
X
.
address. . . .
description. .
X X
implementation
pointers
XX
5.
channel adapter
description .
table 177.
EP and PEP. •
description.
table 180.
line (NCPI • .
description.
table 179.
pointers 6
translate tables 261 . . . . .
units of trarufer (general data flow) .
EP • . • • . . . . • . .
NCP . • • . • . . . . .
300
3704 and 3705 Program Reference Handbook
X
X
XX
X
XX
X
()
I
"--'
FORMAT
3704
In~lruction
Nome
C, l
3705
Cycles
0
I
2
3
4
2
I
I
0
I
0
I
Cycles
B
Branch
BCl
Branch
C Lorch
2
I
I
0
0
I
I
Bll
Braner on Z latc ....
2
I
1
0
0
0
I
BCI
Brench on Count
3
I
I
0
I
I
I
BB
Branch on 8;,
3
1
I
1
MMI
lRI
Load
3
1
I
0
0
3
I
I
0
0
I
0
3
1
I
0
1
0
0
Or"
5
b
7
8
9
10
11112
13
14
I
I
T
I !
IJI
I
i
T
ARI
SRI
R~gjste, I".,"'tod:-:' ..
Add
Reg:~ter
lmrr~J;.-'lt·
Subtract Rc9j~IE:1
I!""meoialt'
CRI
XRI
Corrpure Rcgi:;rcr
Immediott:
E)(clu~ive Or
Re9i~te,
I
M
!
JI
0
3
I
I
0
I
I
0
3
1
I
I
0
0
0
3
i
I
I
0
I
0
3
I
I
i
I
o
0
I
I
I
0
IIT'r"lcdiote
lmmt"d;ol~
0
15
R
N
I
ORI
Or Regi>lc,
NRI
And Register Immediar(;
TRM
Test
3
I
I
lCR
Load Chorael!:'1 Register
3
I
0
0
0
0
0
0
I
0
0
0
ACR
Add Choracte, Register
3
I
0
0
0
0
0
I
I
0
0
0
SCR
Subtract Charactcr
Register
3
I
0
0
0
0
I
0
I
0
0
0
Compare Character
3
I
0
NI 0
0
I
I
I
0
0
0
Re9i~le,
.. !loe, Mask
r-
CCR
Register
~2
R2
0
RI
XCR
Exclusive Or Character
Register
3
I
0
0
0
I
0
0
I
0
0
0
OCR
OR Character Register
3
I
0
0
0
I
0
I
I
0
0
0
NCR
And Character Register
3
I
0
0
0
I
I
0
I
0
0
0
3
I
0
0
0
I
I
I
I
0
0
0
5
2
0
0
0
0
0
I
0
0
0
0
5
2
0
0
0
I
I
0
0
0
0
4
2
0
I
0
I
LCOR
ICT
STCT
IC
Load Character with
Offset Register
Insert Choracter and
Count
Store Character and
Count
Insert ChorD<;ter
-
1---1R
"
0
0
0
STC
Store Character
LH
lood Halfword
STH
Store Halfword
.
4
2
B
4
2
0
0
4
2
0
0
r--'-
I
0
J:
0
I
R
L
lood
5
2'
0
0
0
J:
0
Store
5
2'
0
lHR
Load Halfword Register
3
I
0
0
I
0
0
0
0
0
0
0
AHR
Add Halfword Register
3
I
0
0
I
0
0
I
0
0
0
0
3
I
0
0
I
0
I
0
0
0
0
0
3
I
0
0
I
0
I
I
0
0
0
0
3
I
0
0
I
I
0
0
0
0
0
0
OHR
OR Halfword Register
3
I
0
0
I
I
0
I
0
0
0
0
NHR
And Halfword Register
3
I
0
0
I
I
I
0
0
0
0
0
LHOR
load Halfword with
Offset Register
3
I
0
0
I
I
I
I
0
0
0
0
LR
load Register
3
I
0
0
I
0
0
0
I
0
0
0
AR
Add Registel
3
I
0
0
I
0
0
I
I
0
0
0
SR
Subtract Register
3
I
0
0
I
0
I
0
I
0
0
0
CR
Compare Register
3
I
0
0
I
0
I
I
I
0
0
0
XR
Exclusive Or Register
3
I
0
0
I
I
0
0
I
0
0
0
OR
OR Register
3
I
0
0
I
I
0
I
I
0
0
0
And Register
3
I
0
0
I
I
I
0
I
0
0
0
I
I
I
I
0
0
0
I
0
0
0
0
0
0
I:
I
0
0
I
0
0
SHR
CHR
XHR
NR
Subtract He Ifword
Register
Compare Halfword
Register
Exclusive Or Halfword
Registel
.
0
-
R2
r---
I
LOR
Load with Offset Register
3
I
0
0
I
8ALR
Branch & Link Register
4
2
0
0
0
IN
Input
2
I
0
OUT
Output
2
I
0
BAL
Branch & link
3
2
I"
'iiII""
I
0
0
0
0
0
load Address
3
2
I
0
I
I
I
0
0
I
0
0
Exit
7
I
I~O
I
0
0
0
~
-
0
E
R
0
m
'";;-
1:11
~
!l
g'
~
* = Instructions that can alter condition latches.
JlI=_
0=+
, :" 3 Cycles with Extended Addressing
Instruction Bit Structure
I
I
0
0
RI
E
5.
'"CJ
0
ST
I
16
:I
0
A
:=J
GY30-3012-4
IntemallonaIBII.ln••• Machine. Corporallon
Date Proce..lng DIvI.lon
1133 Wealche.ler Avenue, While Plain., New York 10804
(U.S.A. only)
IBM World Trade CorporaUon
821 Unlled Nalion. Plaza, New York, New York 10017
(Intemallonal)
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising