GY30 3012 4_IBM_3704_and_3705_Program_Reference_Handbook_Jun76 4 IBM 3704 And 3705 Program Reference Handbook Jun76

GY30-3012-4_IBM_3704_and_3705_Program_Reference_Handbook_Jun76 GY30-3012-4_IBM_3704_and_3705_Program_Reference_Handbook_Jun76

User Manual: GY30-3012-4_IBM_3704_and_3705_Program_Reference_Handbook_Jun76

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

DownloadGY30-3012-4_IBM_3704_and_3705_Program_Reference_Handbook_Jun76 GY30-3012-4 IBM 3704 And 3705 Program Reference Handbook Jun76
Open PDF In BrowserView PDF
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..

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 
,
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


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



+
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
?

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~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)



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.3
Linearized                      : No
XMP Toolkit                     : Adobe XMP Core 4.2.1-c043 52.372728, 2009/01/18-15:56:37
Create Date                     : 2012:05:31 15:15:17-08:00
Modify Date                     : 2012:05:31 19:22:14-07:00
Metadata Date                   : 2012:05:31 19:22:14-07:00
Producer                        : Adobe Acrobat 9.51 Paper Capture Plug-in
Format                          : application/pdf
Document ID                     : uuid:3a0c0849-2302-48ea-9202-0aabea17e30d
Instance ID                     : uuid:05ada81d-e1ea-49b2-a7e4-e99da134ecf3
Page Layout                     : SinglePage
Page Mode                       : UseOutlines
Page Count                      : 311
EXIF Metadata provided by EXIF.tools

Navigation menu