Text preview for : SC21-7507-5_IBM_System3_RPGII_Telecommunications_ProgrammingReferenceManual_Sep76.pdf part of IBM SC21-7507-5 IBM System3 RPGII Telecommunications ProgrammingReferenceManual Sep76 IBM system3 SC21-7507-5_IBM_System3_RPGII_Telecommunications_ProgrammingReferenceManual_Sep76.pdf



Back to : SC21-7507-5_IBM_System3_R | Home

aaaa oaaa
aaaa aaaa
aaaaaaaaaaaaaaaaaa
oaaaaaaaaaaoaaaaaa
aaaaaaaaaaaaaaaa..
aoaaaaaaaaaaaaaaaa
33:: ::3t
aaao aaaa
aaaa aaaa
aaaaaaaaoaaaaaaaa.
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
oaaaaaaaaaaaaaaaaa
aaaa aaaa aaaa
aaaa aaaa aaaa
aaaa aaaa aaaa
aaaaaaaaaaoaaaaaaa
oaaaaaaaaoaaaaaaaa
oaaaaaaaaaaaaaaa
oaaaoa aaaaaa
aaaa aaaa
IBMSystem./3
RPGll Telecommunications
Programming
ReferenceManual

ProgramNumbers:
aaaa aaaaa
5 7 0 1 - R G ( M o d e l1 0 C a r d S y s t e m )
1
aaaaa aaaaaaa
aaaaaa aaaaaaaaa
oaaaaaa aaaaoaaaaaa 5702-RG1 (Model 10 Disk System)
aaaaaaa aaaaaaaaaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa 5703-RG1 (Model 6)
aaaa aaaa
aaaaaaaaaaaa
aaaaaaaaaaaa
aaaaaaaaaa
aaaaaa
aaaaaa
aaaaa
5704-RG1 (Model 15)
aaaaaaaa
aaaaaa
aaaa
aaaa
5704-RG2 (Model 15)
aaaa

aaoa
aaaaa
aacaaaa 5705-RG1 (Model'12)
aaaaaaaa
aaaa aaaaaaa
aaaoaaaaaaaoao
aaaaaaaaaaao
aaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaa aaaaaaa
aaaa aaaaaaaa
oaaaoaa
aaaaa
aaaa
aaaa
aaao aaaaa
aaaaa aaaaaoa
aaaoaa aoaaaaoaa
aaaaaao aaaaaaaaaaa
oaaaaaa aaaaaaaaaa.
aaaa aaaa aaaa
aaaa aaaa aaaa
aaaa aaaa aaoa
aaaaaaaaaaaa aaaaaa
oaaaaaoaaaaa aaaaaa
aaaaaaaaaa aaaaa
aaaaaaaa aaaa
aaaaaa



aaaa
oaaa
aaaaaaaaa
oaaaaaaaa
aaaaaaoaa
aaaaaaaaa
aaaa
aaaa



aaaa aaaa
aaaa aoaa
aaaaaaaaoaaaaaaaaa
aaaaaaaaaaaaaaaaaa
oaaaaaoaaaoaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaa aaaa aaaa
aaaa aaaa aaaa
oaaa aaaa aaaa
oaaaaa aaaa aaaoaa
aaaaaa aaaaao
oaaaaa aaaaaa
oaaaaa aaaaoa
aaaa aaaa
aaaa aaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaa
aaaaaaaoaaa
aaaaaaaaaa
aaoaaaaaaaoaaaaaaa
aaaaaaaaaaaaoaoaaa
aaaaaaaaaaaaaaaaaa
aoaaaaaaaaaaaaaaaa
aaaa aaaa
aaaa aaaa
sc21-7507-5
FileNo.53-30

ProgramProduct
Page SC21-7507-5
of
lssued June1978
30
By TNL: SN21-5624




Sixth Edition {December
1975)

this is a major revision of, and obsoletes, SC2l-75074 and rechnical Newsletters
SN21-7738,SN2l-7759, and SN2l-5255. Information for the Model l2 Rpc ll
compiler has been added. changes are indicated by a vertical line to the left of the
change. New or extensively revised illustrations are indicated by a bullet (o) to
the
left of the ligure title. Appendix I has been added and should be reviewed in its entiretv.

This edition applies to the following IBM system/3 RpG II program products:

Version Modif ication ProgramNumber System/3Model

I 14 5701-RG1 10 Card
15 0 5702-RG
I 8 and 10 Disk
15 0 5703-RG
I 4and6
6 0 5704-RGl 1 5 A ,B , C
z 0 5704-RG2 15D
+ 0 s705-RCl t2

This revision remains in effect for all subsequent versions and rnodihcations unless
specifically altered by a new edition or a technical newsletter. changes are
continually made to the specifications herein; before using this publication in
connection rvith the operation of IBM systems, consult the latest IBM Systeml3
Bibliography', GC20-8080, for the editions that are applicable and current.

Use this publication only for the purposes stated in the preface.

Publications are not stocked at the addressbelow. Requests for copies
of IBM
publications and for technical information about the system
should be made to
your IBM represenrative or to the IBM branch off,rce
serving yourlocality.

This publication could contain technical inaccuracies or typographical errors.
use
the Reader's comment Form at the back of this publication to make comments
about this publication. If the form has been removed, addressyour comments
to IBM
c o r p o r a t i o n , P u b l i c a t i o n s ,D e p a r t m e n t 2 4 5 , R o c h e s t e r ,M i n n e s o t a
55901. crommenrs
become the property of IBM.



@opyright lnternational
Business
Machines
corporation1969,1970, r9j1, r9jz, l97J.rg75
P a g eo f S C 2 1- 7 5 0 7 - 5
l s s u e d2 4 S e p t e m b e r 1 9 7 6
By TNL: SN21-5428

Preface




This refcrence rnanual intendedprirnariiyfor the Systenr/3 I B M S Y S T E M 1 3 5 4 4 D I S K S T O R A G E R I V E
is 8 D
userwho haslittlc or no experience with telecommunications
prograrrnring.
The IBM Systent/3 5448 Disk Storage Driveol Systenr/3
This n'ranual provides inforrlation a progralnlner M o d c l s a n d l 0 u s e sh e s a m e r o g r a m r o d u c ts u p p o r t
8 t p p
necdsto
write System/3 RPG ll telecommunications programs. as the IBM 5445 Disk Storage Flowevcr, separatel
. a
It contains : a system control prograln feature required the 5448.
is for
I n g e n e r a r , f - e r e n ctc s5 4 4 5i n t h i s n r a n u aa l s oa p p l y
le o l
o D c t i n i t i o no f b a s i c e l e c o r n n r u n i c a t i oe rs t s
t tn n to 5448. For specific inforrnation about 5448 opt'rating
clraracleristics prograrnrning
and suppolt., IRM see
. Statenlent the telecotnnrunications
of capabilitie of Systcmf3 5448 Disk StorageDrivc Progrant Re.larcttL.t'
s
Systcnr/3 Manual,GC2l -5 I 68.

o De:scription eachof thc RPG Telcconrrnunications
of
Specifications required write a telecomnrunicaticins
to
prograni Systern/3
for

Samplcprogranls includcdin this ntanualto illustrate
arr:
progranrming
techniques possible
and applications for
Systenr/3
RPG II telecomrnunications
prograntrning.


System/3 Model 8
'Ihe
Systerr/l} Model 8 is supported System/3 by Model 10
Disk Sysicmcontrol prograrnming programproducts. and
T h e l a c i l i t i e s e s c r i b eid t h i sp u b l i c a t i o no r t h e M o d e l t 0
d n f
arealsoapplicable the Model8, althoughthe Model 8 is
to
n o t r e f ' e r e n c e d .o w e v e rt,h e I n t e g r a t eC o m n r u n i c l t i o n s
H d
A d a p t e r l C A ) i s a v a i l a b lo n l y o n t h e M o d e l8 . I f y o u h a v e
( e
the ICA, it is alwavs designated BSCAline 2. Tirerefore,
as
y o u r n u s te n t e rt h e B S C AO C L s t a t e m e n t/ i B S C Al - l N E - 2 )
(
at executior.r timc. It shouldbe noted that rrot all devices
and leatures which areavailable the Model l0 are
on
available thc Model8. Therefore,
on Model8 users should
be tarriliar with the contentsof IBM S.ysteml3ll'lodel 8
IntrP a g eo f S C 2 1 - 7 5 O 7 - 5
lssued 24 September 1976
By TNL: SN21-5428

RelatedPublications

The followingchartliststhe ordernumbers the various
of
relatedpublications.




Model 10 Model 10
Publication Model 6 Model 8 Card System Disk System Model 12 Model 15

General IrtJ'ormation Binary
Sy ttchronous Commu nica t ions GA27-3004 GA27-3004 GA27-3004 GA27-3004 GA.21-3004 GA27-3004
Comp onc t t t s R el eren c e Ma nual G A 3 4 - 0 0 0 r GA2r-9236 GA2r-9236 GA21-9236 GA2l-9236 GA21-9236

Operator's Ouide GCr2l-7501 GC21-7634 G C 2 1 - 7l53 GC2I -7508 GC21-5144 G C 2 1 -0 7 5
5

RPG II ReJ'erence
Manual sc2l-75I7 s c 21 - 7 5 0 4 s c 2l - 7 5 0 0 s c 21- 7 s 0 4 s c 2I - 7 5 0 4 s c 21 - 7 5 0 4
'f
eleco mntun icat io tls L og ic
Manual s Y 2 l- 0 5 2 6 sY21-0s
26 LY2l-0528 sY21-05
26 sY2l-0s26 sY2l-05 6
2

Systern Ot,tteratiort
ReJerencetVotual GC2l -5 I 26 G C 2 1 -1 2 6
5 GC2t-5126 G C 2 - 51 2 6
l GC2l-5126 GC2t-7616




lv
Contents




LIST OTIABtsREVIATIONS C o l u t n nl 7 ( l ' . n d l [ , i l c t
o 14
( l o l u n r nl 9 ( l r i l c l i o r n r r l ) l4
INTR0DUCTION C o l u n t n s2 0 - 2 3 ( l i k r c k [ . r ' n r ' 1 h ] 14
C o l u m n s2 4 - 2 7 ( l { c s r r r ! { . l r i r i i r ) t4
B S C I ' , E L E C O M MI J NI C A I ' I O N S C ] O N C E I Y | S N D A ('olumn 32 (Adrlitionll i\rc:r) 14
TERMINOLOGY 3 ( - , r l r r n r n4 t 1 4 h ( | ) r \ i ( r )
. 14
T ' e l e c o m m u n i c a t i 0 n se t w o r k s
N .l Descriptiontil' llS(' lrunr:lionr
s t5
Nonswitched etrvork N -5 P r o g f t i l t t r t i l t ( ' 1 ) r ] s i ( l e r r,t
n i l-s
S u i t c h e dN c t w o r k 5 R et t ' i l r ( ) r rl 1 t6
N eI u o r k ( ' r n l t r r l 5 l l c c o i v cu i t l t l - r ; u ; r t r r i i t : , ii i ' ( ' n v c r s a l i o n allt c p l y 20
l\lrrlti|uint 5 'l'r;rnsrnil
Onl1, 24
I'oint-To-Point 'l
5 r a n s n r i t i I l r l { r r : c i r 1 i t ;.i r l ( , r D v c r s a l i o r r lu lc p l y
$ { 21
I)ataLink ('ontrol 6 l r a t r s t t t iu t r t l l { c e c i v cl \ l , I , r n v c r s r t i o n r lR e p l y )
l J I
l)rtl [.ink ('onlrol ('haractcrs 6
l ) l l r l , i n k N l c s s u g( ' o c l c s
c 6 APPFINI)lX A. .,\SCil ANt) t.$t r)lC ('O[)U,S 47
l)lrlrLink l\lcsuge ,rrrn ls l r 6 AS(ll{ ,rrlt'r 47
Sl:tndilrdutn)rt I 6 l'.8('l)l('('ories 4lJ
I F l r 1 ; 1 11 r r t : s P r r t ' n e 1
. 6
I r r l r : r m r r d i a lB l o c k ( ' h c c k i n gM o d e r l l ' B )
e ( '
6 APPBNDIX Il" ')ATA l.lNI\- (ritl ROl- ('HARACI'ERS . 49

RPG II BSCA PROGRAMMINC 7 APPI,.NI)lX . POLI-lN(; A).rir \l)l)l{llSSlN(;
C
-fypes
IIS('A Station 1 CIIARA(l'l IlRS IrOR SYSi I ',tiI -sI
R P ( i I I T e l c c o n r r n u n i c a t i o n s e c i il c at i o r i r
Sp l l t ( ' l ) i ( ' ( ,' d t -)l
( ' o l u n r n sl - 2 ( P a g c ) . IJ AS('ll ('orle 52
( ' o l u r n n s S - 5( l - i n e ) li
( ' o l u n r n6 ( l o r n r T y p c ) ti A P P F ] N D I XD . I t P ( ; I I I F ] I i I ] i i . ' { ' I J S S I N G
( ' o l u n r n 7 ( ( ' o r n n t c nt s ) 9 S P E C I F I C I A l ' l 0 N S S ( r l l t h , |, : . i r , 53
( l o l u r n n s7 - 1 4 ( l i i l e N : r n r e ). R . P ( l l I c l c c o r r r r r r u n i c r l r l r '.. , r i i i c r t i o n s 53
('olumn l5 (('ontigurrtion) 9 l r i l c l ) c s c r i p t i o nS I c c i l i r : t i i r , r : .i r , ' i l S ( ' A l r i l c s
. ' ,5
-5
('olumn I6 (l ypc ol'Slation) 9
('olunrn l7 (Typc ol Clontrol) r) A P P I i N D t X [ . . t J S t N ( iT i l t r ' t r , ] 2 7 7 0
('olunrn I 13 Typc o1'(iode)
( AND THI,] II]M 27IJ0 57
('olunrn I 9 ('I'ransparcncy) RP(ilI Spctilir';rtr,'nr 5l
('olumn 2O(Switchod) R P ( l l i i l c l ) c s c r i J r t i rSri ri r i .i i , . . i i , ) 1 1 \
i
l{) 57
( ' o l u r n n s2 l - 3 1 ( l ) i a l N u r n b e r ) l0 l { P t II i n c ( u u n l ( . S t ' . . r i t ' , . : r .
; 5rl
( ' o l u r n n 3 2 ( L o c a t i o no f l d o n t i f i c a l i o n T h i s S l a t i o n ) t0 R I ) ( i ' f e l c c o n t n r u i r : ;tri o r ( ,i r r : ,i I i c a ti o n s
n 5r.l
( ' o l u m n s 3 3 - 3 9 ( l d e n t i l ' i c a t i o nT h i s S l a t i o n ) l0 R P ( ; O u l p u t - l r ( ) r r l r l t p c {i i l ! i t l j o n s
S ,59
C o l u n r n4 ( ) ( L o c a t i o n o l l d c n t i l ' i c a t i o n - R c n r o t e S y \ l ( D l /I ( i l n r i d e . r t r' 'r r .
r 59
Station). t0 | \rnll)l('s 60
( n l r r n r n s 1 4 7 ( l d en t i f i c a t i o n R e n l o t c S l a t i o n )
4 t0 T r a n s n r i t t i n g o l l r r I l t l \ { . . i' , ' t ! l ) : r l a( ' o r n r l u n i c a t i o n
l
( ' o l u n r n s4 8 - 5I ( R er n o t c T ' e r n r i u r l ) l l Systcrn 60
( ' o l u n r n5 2 ( 1 1 ' B ) l t R c e e i v i r r 1 r ' ( ) nrin l l t l V 2 7 l i 1 ii , t , l , , , , r r , t , i r r i , , n
r
( ' o l u r r r n s- 5 l - - 5 4 l ) o r r n a n e t l , , r r o r I n d i c a t o r )
- ( n 'l
l l cnninal ol
( - o l u r n n s , 5 5 - 5( W a i t T i r n e )
7 l2
( ' o l u r n n s5 t l - 5 9 ( l l e c o r d A v r i l a b l e I n d i c : r t o r ) t2 A P P I t N D I X F . ( ' O l \ , { N l { r N I ( ' lA| { , l V l ' l ' r l T I l l l
l
( o l u m n 6 0 ( [ . a s tI i i l c ) t2 O P I I R A T ' l N ( ; S Y r i l t ' . 1 \ t ' I l lI l ' . r { . \ , i \ {L i Nl ( l A ' t l O N S
.}
( - o l u n r n s I - 6 2 ( P o l l i n g( ' h l r a c t c r s )
6 l2 A C C U S SM l i l l t ( l i ) { t { ' A M ) 65
('olunrns 6 3-64 (Add ressing haracters) C l3 S y s t c r n / 3o ' l ( ' A l l
t 66
( ' o l u n r n s6 5 - 7 0 ( l { c r n o t c l ) c v r c e ) t:] l i i l c I ) c s ii i p i r r ' n S l ) f , i l i e : r I { ) n \
r 66
( ' o l u r n n s7 l - 7 4 ( l l e s c r v e d ). l3 I r , l r . t r s i l nS P . r i t i t l r r r , r r t r 66
( ' o l u l r rn s 7 , 5 t l 0 ( P l r g , r a r nl d e n t i l ' i c a t i o ) .
- n |,l T e l L ( i l l r l l l l i r r i . , r l i , ,t1 rr.1 ,r , ' . . : . , n \
1 . 67
I i i l c l ) c s c r i p t i o n p e c i l ' i c a t i o ln l n t r i e si r r I I S ( ' l r i l c s
S , l l.l I r t P r l l5 p " , t l r { : , r; ( i r l \ 61
( ' o l u r n n s7 - 1 4 ( l i l e N a r n c ) . ll ( ' , r l tt r l ; r t i " : i5 i ' ( ( r l i ( , r I i , , r ' . 6lJ
-l-ypc)
C o l L r m nl - 5 ( I r i l e . l3 O u t p u t l o n ! r i r l S I ) c ( i l i c i j t r ! ) il 68
C ' o l u m n| 6 ( l r i l e l ) e s i g n a l i o n ) l4
Pageof SC21-75C17-5
l s s u e d2 4 S e p t e m b e r 1 9 7 6
By TNL: SN21-5428

TCAM to System,/3 10
I i l e D e s c r i p t i o nS i r e c i fc a t i o n s
i 70
L x t e n s i o n S p cc i f i c a ti o n s '70
T e l c c o m m u n i c a l i o n sS p e c i f i c a t i o n s 71
Inpul Specilicrtitrns 1l
CalculationSprecifications 72
O u t p u t - l i o r m a l S p c c i f i c a t i o n s. 72
TCAM Considerali0ns 74

APPENDIX G. USINC TTIE IBM 374I AND IBM 5230 75
RPG lI Specilications 75
R P G l l l r i t e D e s c r i p t i o nS p e c i t i c a t i o n s 75
RPG II Telecornmunications pecitications S i6
RPG II Output lrormat Specifications. '16
Flxamples. i7
T r a n s r n i t t i n gt o t h e I B M 3 7 4 1 . '17
R e c e i v i n gf r o m a n I B M 3 7 4 1 79
R e c e i v i n ga S t a t u s M e s s a g er o n r a n I B M 3 7 4 1
f
Data Station 81
R e c e i v i n gl i o m a 3 7 4 1 D a t a S t a t i o n w i t h l l x p a n d e d
C o m m u n i c a t i o n sI i c a t u r e . 86
T r a n s n t i t t i n gt o a 3 7 4 1 w i t h L , x p a n d e d
C o m r n u n i c a t i o n sf i c a t u r e 88

APPB,NDIX H. USING RPG II IN COMMUNICATION
BETWEEN A SYSTEM/3 AND THE IBM 3750
(WORLD TRADE ONLY) 9l
I\oqranrmins
Procedure 9l

APPENDIX I, SYSTEM/3 RPG II INTERFACE
TO BSC LINE PROTOCOL 93
P o i n t - t o - P o i n tL . e a s e -L i n e
d 93
Receivc 93
Transrnit 94
Transmit Mulliple lrilcs 95
T r a n s m i t /R e c c i v c 96
R e c e i v e / T r a n s mti 97
L e a s e dM u l t i p o i n t , S y s t e r n / 3T r i b u t a r y S t a t i o n . 98
Roccive 98
Transmit 99
Transmit, Reccive 100
R e c e i v e .T r a n s m i t 101
P o i n t - t o - P o i n tS w i t c h c d L i n e 1 0 S I I Q : S w i t c h e d L i n e
S t a t i o n I d c n t i f i c : a t i o nS e q u c n c cO p t i o n a l t02
R e c e i v e ,S y s t e : r n / A n s r v e r S t a t i o n
3 102
R e c o i v c ,S y s t e m / 3 C a l l i n g S t a t i o n 103
Transmit, Systcm/3 Answer Station 104
Transmit, System/3Calling Station 105
Transmit/Receive, ystem/3 CallingStation .
S 106
T r a n s m i t / R e c r : i v cS y s t c m / 3 A n s w e r S t a t i o n
, r07
Reccive/Transmit, ystem/3 Answer Station
S 108
Receive/Transmit, ystem/3 CallingStation .
S 109
Conversational NIodc ll0
R e c e i v ew i t h C o n v e r s a t i o n a lR e p l y 110
T r a n s m i t w i t h C o n v e r s a t i o n a lR e p l y 1ll
Line Condition System/3 Rcsponses 112
Data Mode, System/3 Transmitting tt2
D a l : rl \ 1 u d c S v s r c m / J R e c e i v i n g
. tt4

GLOSSARY l 15

INDEX ll7




V1
List of Abbreviations




ACKO Evenpositive acknowledge RVI Reverse
interruptcharacter
ACKI Odd positiveacknowledge
ASCII American nationalstandard
codefor informa- SDLC Synchronous datalink control
tion interchange SOH Startof heading character
STX Start of text character
BCC Block checkcount SYN Line synchronization character
BPS Bits per second
BSC Binarysynchronous communications TCAM Telecommunicationsaccessmethod(Systern/370)
BSCA B i n a r y s y n c h r o n o u s c o m m u n i c a t i o n s a d a p t e r TTD Temporarytext delaycharacter
BTAM Basic telecommunications access method
(System/370) VTAM Virtualtelecommunicationsaccessntethod
(System/370)
DA Displayadapter
DISC Disconnect WACK character
Wait for acknowledgernent
DLE Datalink escapecharacter
DOS Disk operating
system

EBCDIC Extended binary codeddecimalinterchange
code
EHT Error history table
ENQ Enquiry character
EOT E n do f l r a n s m i s s i o n
ERC Error retry count
ETB End of text block character
ETX End of text character

ICA International
Communication
Association
ITts Intermediateblock check

LCA Localcommunications
adapter

NAK Negative
acknowledgement
character

OS Operating
system(System/360
and Systern/370)

PEI Permanent
error indicator




vii
P a g eo f S C 2 1- 7 5 0 7 - 5
l s s u e d2 4 S e p t e m b e r 1 9 7 6
By TNL: SN21-5428

Introduction




IBM System/3 Telecommunications programming provides The Systemi Model l0 Disk Systern,
3 I\todel12, Model6,
the userwith the capabilityof sendingand receivingbinary M o d e l8 , a n d M o d e l1 5 c a na l s ot r a n s u t id a t at o a n d r e c e i v e
t
synchronous dataoverconlmoncarrierfacilities.The pro- datafrom the IBM 2770 Dala Commr-rnication System and
grammingperformsall functions necessary establish
to line the IBM 2780 DataTransrnission Terminal(seeAppendixh,).
connections,exchange identificationsequences, and
send
receivedata,and execute correctterminationor discon-
the BSCAfilesare definedby entries the RPGIrileDescrip-
on
nect procedures. tion Specification the RPGTelecornnrunicutions
and Speci-
fication.
Systeml3RPG II telecommunications supportis provided
via the RPG II language.Binary synchronousdata trans- Note: For useof the sccond BSCAfeature .see |he IBM
mission possible
is between System/3 and: Systeml3Model 10 Disk SystemControl Prograntmbtg
Ref'erence Manual, GC2l-7512,18M Svsteml3 Model 12
. Other System/3s. System Control l'rogramming RelerenceMonual,
GC2l -5 I 30, or IBIvISysteml3Model l5 Sl,sYem Control
o Operating
System Disk Operating
or SystemBasicTele- Programming Rel'erenceManual, GC2 1-5077.
communications
Access
MethodBinarySynchronous
Communications or DOS BTAM BSC).
(OS
A System/3 RPG ll telecommunications program can exist
o System/360 within a dual progranrmingsystem (Dual Programming Fea-
Model20 Input Output Control Systemfor
ture required).Normal operator attentionis requiredto
the Binary SynchronousCommunications Adapter.
respond processing
to halts.
o Operating
SystemTelecommunications
Access
Method
(rcAM). Note: lf you are atteinpting commutlicate
to between
two programming levelsusingthe RPGIl tclecommunica-
. IBM 3741 Model 2Data Station. tions features
and dual BSCA,it is suggcsted you do
that
not haveoverlays eitherof the RPGIl prograrns.
in
o IBM 5230 Model 2Data CollectionController.
For IBM System/3telecommunications procedures,
operating
o IBM 3750 SwitchingSystem(WorldTradeonly). seeyour system's guide.
operator's

o IBM System/7.




lntroduc:1ion I
BSC Telecommunications
Concepts
and Terminology




T h i ss e c t i o n e s c r i b e s e b a s i c h a r a c t e r i s t ia n d o p e r a .
d th c cs T EL E C O M M U N I C A T I O N S T W O R K S
NE
t i o n a lc o n c e p t o f t h e B S Ct e l e c o n t m u n i c a t i o n s t e l n :
s sys
w h a ti t i s ,i r o w i t s p a r t sa r er e l a t e da n dh o w c o n t r o li s
, A t e l e c o m m u n i c a t i os ys t e m a y u s ea n o n s w i t c h en e t -
ns m d
maintainecl. Comrnonly usedtermsarc italicized. w o r k o r a s w i t c h e d e t w o r k( F i g u r el ) .
n



Switched oint-to-Point
P
S y s t e m / 3 o d e l1 0
M
D i s kS y s t e mM o d e l1 2 ,
,
DataSet Data Set
o r M o d e li 5 (Modem) System/370
(Modem)



N o n s wi t c h e d , P o i n t - t o - P o i r r t

Data Set
Common (Modem)
C ar r i e r
Exchange


Data Set DataSet
(Modem) (Modem)




DataSet
(Modem) System/7




B B
DataSet Tributary J
N o n s w i t c h e d u l t ip o i n t
M (Modem) r. Station n

\ A A
\
I B t ,
C o n t r oI
Station
DataSet
(Modem)
DataSet
(Modem)
Tributary
Statio n a
r
[-J
I

; A


B B
Data Set Tributary
(Modem) Station a
A A

l i g u r e l . T e l e c o m m u n i c a t i o nN e l u o r k s ( P a r t I o t 2 )
s




l l S C T e l e c o m m u n i c a t i o n sC - ' o n c e p ta n d T e r m i n o l o g y
s
8000 BPS Local Interface
System/3
M o d e l8 2400 BPS Local Interface




DataSet Data Set
(Modem) (Modem)




' 'l
h e l n t c r r l l c d ( o r r r r n u n i c a t i o n s( h p t e r ( I ( A ) n r u s tb e l t d d r c s s c c l
A
'fhc
asUS('A linc 2. n r a n u e lI ( ' A s w i t c h c a n h u v eo n l v o n c i n t c r f ' a c c
lclivc lll rny onc tinre.

I
S c c I t i g u r o| ( l ' l 1 1 I o t 2 ) l i r r c r r m p l e s o 1 ' l l S ( ' Al i n e c o n t i l l u r a t r o n s .




l : i 1 ' u r cL T e l ( ' r ' , ' t l l r l t t l r l i L r l i , r\ n r l u , r r k s { P r r l I , ' l I t
e
Nonswitched Network m u l t i p o i n t . o n n o n s w i t c h e dl i n e s ,a n d p o i n t - t o - p o i n te o r r -
l e n t i o n . o n b o t h s w i t c h e da t r d t r o n s w i t c h e d i n e s . T h e
l
A n o n s w r t c h e d e t w o r k c o n s i s t s f a n u r n b e ro f p r i v a t eo r
n o BSC telecornrnunicationsystent perntits comn.runicatton
l e a s e d o r n m u n i c a t i o n t n e st h a t c o n n e c t a c o l l t p u l c r t o o n e
c l u s i n ge i t h e Lt y p e o 1 ' c o n n e c t i o n F i g u r c I ) .
(
()r rrore r(ntote tarminals. Rernote terntinals is a general
l e r n l u s e dt o r e p r e s e n t n t e r c o n n e c t e d q u i p r n e n ta t a
i e
r e l n o t e k l c a t i o r r .h a v i n ge i t h e r i n p u t o r o u t p u l c a p a b i l i t y . Multipoint
o r b o t h . ( l n t r o n s w i t c h e d e t w o r k s ,t h e c o r n p u t e ra n d
n
r e r r o t e t e l n r i n a l sa r e p h y s i c a l l yc o u n e c t e d ,t l r a t i s . t h e I t a r e n r o t et e r r r i n a l i s c o n n e c t e dv i a a n r u l t i p o i n t i i n e . c l a t a
c i r c u i t sn r a k i n gu p t l ) e c o u t n t u n t c a t i o ni n e s a r e c o n t i n u o u s l y
l i s s e n t a n c ir e c c i v e du n d e r t h e c o n t r o l o l ' t h e t ' c n t r a l o r
c s t a b l i s h e d o r p r e d e t e r n t r n e di r r e p e r i o d s ,d u r i n g w h i c h
f t conlrol station. ln order to scnclttr leceive data. tlre reulote
d a t a r n a y t r e t r a n s m i t t e do v e r t h e l i n e s . ternrirral, rel'erred ro as't ntultitlroppetl termirrul ot tributur)'
'Illis
s t a t i o n ,l . n u s t e s e l e c t e d y t h e c o n t r o l s t a t r o n .
b b pr.o-
T h e l i n e s r h a t c o r n p r i s e n o n s w i t c h e dn et w o r k a r e v a r i o u s l y
a gessol station selection is called Txtllingor atlclrcssittg.
known as privatc, leasetl, or tledic'ated /incs. These lines
r n l y b e f u r n i s h e cb y a c o n t n r o nc a r n e r o n a c o n t r - a c b a s i s
l t M r r c . S y s t e n l i - lc t l l t o t b c a c o n l n r l s t a t i o n .
b e t w e e ns p e c i f i e dl o c a t i o n sf o r a c o n t i n u o u sp e r i o d o r f o r
r e g u l a r l yr c c u r r i n gp e r i o d sa t s t a t e dh o u r s , t i r r t l t e e x c l u s i v e
u s eo f o n e c u s t o l n e r . P o l l i r t g : P o l l i n gl s a l e c l u e s t o a t r r b u t a r y s t a l i o l t t o r f a n s -
rnit datato the control statton. Once the bributary sration
l n t h i s p u b l i c a t i o nt h e t e r n t n o n s w i t c h e dn e t w o r k r ef e r s t o h a s a c c e p t e dt h e i n v i t a t i o n . t h r u r . e c o g n i t i o n f i t s u n i c l u c
o
a n c t w o r k i n w h i c h t h e c o n i n t u n t c a t i o n i l t e sl i n k i n g t h e
l p o l l i n g c h a r a c t e r s e n t b y t h e c o n t l o l s t a t i o n .t h e r e n t o t e
c o n l p u t e r u n d t h e r e n l o l e t e r n t i n a la r e c o n t i n u o u s l ye s t a b - t e r n r i n a lm a y u s e t h e l i n e t o s e n dd a t a .
l i s h e d ,t h u s r e c l u i r i n g o d i a l i n gt o e s t a b l i s h h e c t t n n e c r i o n .
n t
'Ihe
t r i b u t a r y s t t t i o n l t o t i l l c s t l r e c o n t r o l s t a t i o nw l r c t r d a t a
t r a n s l e ri s c o n r p l c t eb y s e n d i n ga u n i q u c I i t r d - o . f - T r a r t s t t t i s s i t t r r
Switched Network ( E O T ) c h a r a c t e r o t h e c o n t r o l s l a t i o l t . ( F o r n r o r ei l t l i l n r a -
t
ticrrror-rcontrol clraractels.sccDuta Littk C'otttntl tn tltis
A s w i t c h c d n e t w o r k a l l o w s r l a n y r e n l o t c t c n n i n a l st o s e c t i o n . ) U p o n l e c e i p t o f t h e L , O T s e ( l u e t l c et .l r e c o n t r . o l
c o n ) t l t u n i c a t e i t l t a c o r n p u t e rw i t h o u t r e q u i r i r - rd e d i c a t e d
w g s l a t i o n u r a y p o l l o r a d d r e s s n o t h c rt r i b u t a r y s l l t r t r r r .
a
c o r n r n u n i c a t i o ni n e s . T h e c o m p u t e r a n d t h e f e n t o t e t e r r n i _
l
n a l sa r c c o n n e c t e db y a c c e s si n e s t o t h e c o r n r n o nc a l r - r c r
l
e x c h a n g e e r v i n g h e i r r e s p e c t i v eo c a t i o n s . A c o n r p l e t c
s t l Addrcssing: Datl transf-er fronr the cont lol sttliolt to thc
a u d c o n t i n u o u sd a t a p a t h i s e s t a b l i s h e d e t w e e nt h e c o r n -
b t r i b u t a l y s t a t i o no r r a n t u l l i p o i n tn e l w o l k i s l c c o r r r p l i s l r c ty
bl
p u t e r a n c lt h e r e m o t e t e r n t r n a lo n l y t b r t h e p e r i o d o 1 ' t i n t e a d d r e s s i n gl r e s e l e c t c ctlr i b u t a r y s t a t i o n . A d d r e s s i n gs n
t i
i n w h i c h d a t a t r a n s l n i s s i o na k e sp l a c e . T l r e c o n n c c t i o ni s
t r e q u e s t ( ) a t r i b u t a f ys t t t i o n t o r c c c i v c a t a .
d
e s t a b l i s h e c ly d i a l i n g t h e t e l e p h o n cn u r n b e ro f r h e r e m o t e
b
terrlrinal. T h e c o n t r o l s l a t i o l t n o t i l l e s t h c t r i b u t a r y s t a t i o nw h e u d a t a
t r a n s f ' eirs c o n t p l e t eb y t r a n s n r i t t i n g h c L . O T s e q u e c c .
t n
l n s w i t c h c dn e t w o r k s . I i n e r e f - e r t o a d i s c r e t ed a t a p a t h
s A f i e r B O T l ' r a s c c n s e n t .t h s c o n t l o l s t a t i o l l p o l l s o r
b
b e t w c e nt h c t e l e c o n t r l u n i c a t i o n s o n t r < t lu n i 1 .o r a c l a p t e r ,
c a d d r c s s eo t h e r t r i b u t a r y s t a t r o r r s o n n c c l c r - l i l t l t e r n u l t i -
s c v
and the cornnton carrier exchange. The servicc provideclby point nelwork.
thc cornnlol-lcarrier is usually on a tirne-usedbasis.
O r r l y t h e c o n t r o l s t a t i o n h a s t h e f i g l i t t o r c r l u e s ld r t l
l n t h i s p u b l i c a t i o n ,t h e t e r n l s w i t c h e dn e t w o r k r e f ' e r s o a n y
t trlnslcr-s rr a niultipoint netwot'k.