• Keine Ergebnisse gefunden

IBM System./33741Reference Manual

N/A
N/A
Protected

Academic year: 2022

Aktie "IBM System./33741Reference Manual"

Copied!
100
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

a a a a o a a a

a a a a a a a a

a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a . . I a a a a a a a a a a a a a a a a a

a a a a a a a a

a a a a a a a a

a a a a a a a a a a o a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a o a a a a o aa a a aa a a a a a a a a a a a a a a a a a a a a aa a a a

a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a . a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a o a a a a a a a a a

a a a a a o a a a a a a a a a a a a

a a

a aa a a aa a a a a a a a a a a a a a a a a a a a a a a a a a a a a a

a a a a a a a a a a a a o a a

a

IBM System./3

3741

Reference Manual

3741 Data Station Models 1 and 2 3741 Programmable Work Station

Models 3 and 4

GC21-5113-2 File No. 53-08

a a a a i a a a a a a a a a a a a a a a o a a a a a a a o a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a o a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a

a a a o a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a . . a o a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a . . a a a a a a a a a a a . . a a a a a a a a o a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a

a a a a a a a a a a a a a a a a a a

a a a a a a a a a a o a a a a a a a a a a a a a a a a a a a a a a a a a

a a a a a a a a a a a a a a a a a a a a a a a a

a a a a a o o a

(2)

Preface

T h i s m a n u a l i s in t e n r l e d p r i m a r i l y f o r d a t a p r o c e s s i n g p e r - s o n n e l w h o a r e p l a n n i n g i n s t a l l a t i o n o f a n I B M 3 7 4 1 D a t a Station or 3741 Prol;rammable Work Station directly a t t a c h e d t o a S y s t e n r , / 3 M o d e l 6 . 8 , 1 0 , 1 2 , o r 1 5 , a n d fo r key station operators who use a 3741 directly attached to a S y s t e m / 3 M o d e t 6 , € i , 1 0 , 1 2 , o r 1 5 .

T h e p u r p o s e o f t h i s n r a n u a l i s to d e s c r i b e t h e o p e r a t i o n a n d use of a 3741 that s directly attached to a System/3.

(The 3741 has an inlcut/output adapter and the System/3 h a s a 3 7 4 1 a t t a c h m e n t f e a t u r e . ) T h e r e a d e r s h o u l d b e

Third Edition (September 1978)

T h i s p u b l i c a t i o n i s a m a j o r r e v i s i o n o f , a n d o b s o l e t e s , G C 2 1 - 5 1 1 3 - 1 a n d t e c h n i c a l n e w s - l e t t e r s G N 2 1 - 5 4 1 9 a n d G N 2 1 - 5 5 5 6 . C h a n g e s t o t e x r a n d i l l u s t r a t i o n s a r e i n d i c a t e d b y a v e r t i c a l l i n e t o t h e l e f t : o f t h e c h a n g e o r a d d i t i o n .

T h i s e d i t i o n a p p l i e s to t h e f o l l o w i n g I B M S y s t e m / 3 s y s t e m c o n t r o l p r o g r a m s and to all s u b s e q u e n t v e r s i o n s a n d m o d i f i c a t i o n s u n t i l o t h e r w i s e i n d i c a t e d in new editions or t e c h n ic a l n e w s l e t t e r s .

familiar with System/3 and 3741 operations. (See the IBM Data Station Operator's Guide, GA21-9131.) Refer a s r e q u i r e d t o o n e o f t h e f o l l o w i n q r e f e r e n c e m a n u a l s : . IBM 3741 Data Station Reference Manual. GA21-9183.

. IBM 3741 Models 3 and 4 Programmable W<lrk Station Programming Reference Manual, GA21 -91 9,+.

See Appendix A for a bibliography of related publications.

Version 1 5

t 3 U b

0 3 o4

M o d i f i c a t i o n P r o g r a m N u m b e r S y s t e m / 3 M o d e l o0

00 00 00 00

5702-SC 1 5703-SCl 5704-SC1 5704-SC2 5705-SC1

M o d e l 1 0 D i s k a n d M o d e l 8 M o d e l 6

M o d e l 1 5 A - B - C M o d e l 1 5 D M o d e l 1 2

C h a n g e s a r e p e r i o d i c a l l l / m a d e t o t h e i n f o r m a t i o n h e r e i n ; b e f o r e u s i n g th i s p u b l i c a t i o n i n c o n n e c t i o n w i t h t h e o p e r a t i o n o f I B M s y s t e m s , re f e r to the latest IBM System/3 B i b l i o g r a p h y . G C 2 0 - 8 0 8 0 , fo r t h e e d i t i o n s th a t a r e a p p l i c a b l e a n d current.

T h i s p u b l i c a t i o n c o n t a i r r e x a m p l e s o f d a t a a n d r e p o r t s u s e d in daily business o p e r a t i o n s . T o i l l u s t r a t e th e m a s c o n l p l e t e l y a s p o s s i b l e , t h e e x a m p l e s in c l u d e th e n a m e s o f i n d i v i d - u a l s , c o m p a n i e s , b r a n d s , a n d p r o d u c t s . A l l o f t h e s e n a m e s are fictitious and any s i m i l a r i t y t o t h e n a m e s a n d a d d r e s s e s u s e d b y a n a c t u a l b u s i n e s s e n t e r p r i s e is e n t i r e l y c o i n c id e n t a l.

U s e th i s p u b l i c a t i o n o n \ / f o r t h e p u r p o s e s s t a t e d in t h e P r e f a c e .

P u b l i c a t i o n s a r e n o t s t o c k e d a t t h e a d d r e s s b e l o w . R e q u e s t s f o r c o p i e s o f I B M p u b l i - c a t i o n s a n d f o r t e c h n i c a l i n f o r m a t i o n a b o u t t h e s y s t e m s h o u l d b e m a d e t o y o u r I B M r e p r e s e n t a t i v e o r t o t h e t r r a n c h o f f i c e s e r v i n g y o u r l o c a l i t y .

T h i s p u b l i c a t i o n c o u l d r : r r n t a i n t e c h n i c a l in a c c u r a c i e s o r t y p o g r a p h i c a l e r r o r s . A d d r e s s y o u r c o m m e n t s a b o u t t l ' l i s p u b l i c a t i o n to IBM Corporation. Publications, Department 2 4 5 , R o c h e s t e r , M i n n e s o t a 5 5 9 0 1 . I B M m a y u s e a n d d i s t r i b u t e a n y o f t h e i n f o r m a t i o n y o u s u p p l y i n any way it believes a p p r o p r i a t e w i t h o u t i n c u r r i n g a n y o b l i g a t i o n w h a t e v e r . Y o u m a y , o f c o u r s e , c o n t i n u e t o u s e th e i n f o r m a t i o n y o u supply.

@ C o p y r i g h t I n t e r n a t i o n a l B u s i n e s s M a c h i n e s C o r p o r a t i o n 1 9 7 5 , 1 9 7 6 , 1 9 7 7 , r c 7 1

(3)

Contents

L I S T O F A A B R E V I A T T O N S

v C o n r n u a t r o n

H O W T O USE THIS MANUAL . . , 5 r r o r C o n d i t i o n s 3 7

v i c o n s i d e r a t i o n s 3 7

. H A P T E R 1. lNTRoDUcrtoN e a d i n g - Mode 2, Muttipre o"tu s"tr; oo"rurol. 3 7

D e s c r i p t i o n of the Models and Recording M e d i a

S v s t o - Q - . . i - ^ - ^ - - ^

S Y s t e m R e q u i r e m e n t s ' I F u n c t i o n

1 . - - _

u s e o f the 3741 onrine and otrti.o 1 p r e p a r a t i o n . . . . 3 g

? ? . 3 8

P r o g r a m m i n g racitiiies . 4 E r r o r Conditions . 3 8

p e r f o r m a n c J . o " r , O u r u , , o " 4 C o n s r c l e r a t i o n s 3 g

Q r r c r ^ - o ^ - - . :

s

5 R e a d i n n - ^ r ^ i ^ . ^ 3 8JO

S y s t e m Requirements 5 R e a d i n g - Mode 3, Multiple Data Sets

S F u n c t i o n 3 9

cHAprER2.3T4lopERAroN

6 ilii,i,,ijill . . . . . ::

Featu res

A s u m m a r y of standard and optionar' r"u,rru, . : 9 : : r l i r " t ' : . 3 9

1 1 O f f l i n e Opurution, . 8 C o n s i d e r a t i o n s

E n t e r i n g Data 8 E x a m p t e s . 4 0

U p d a t i n g Records 8 R e a d i n g - Mode 4, Multiple oata Sets; ur"; nr.ign"o ' 4 0

. C E ^ d i ^ ^ c ^ - . . -

A d d i n g Records

s e a r c h i n s r o r D a t a o n t h e D , s k e t t e 4 2

. . . . : . : 5 . U e 1 1 . " 1 1 , ; . . . . . 4 2

3T4t Dispray Screen

. . : ::"-oj:"]l?" 42

L i n e l - s t a t u s L i n e 9 T e r m i n a t i o n

L a n e s 2 t h r o u g h 6 I C o n t i n u a t i o n 4 2

D a t a S e t Label 1 l E r r o r C o n d i t i o n s 4 2

Data Recovery . . 3 T 4 t O p e r a t o r Duties

P l a n n i n s D i s k e t t e c o n t " n t r " n o p . o s , " ' n s " q r " n " " .

. . l: " " " r ' r l 1 ; T . o " . u , Y r , : r : o " * i " , , . . . . . . 1:

l n i t i a t i n s an operation .

-

. - - . : : : i : : . - l 4 6

S i t e P l a n n i n g .

1 4 T e r m i n a t i o n 4 6

c H A P T E R 3 . P R o G R A M M | N G F A c | L | T | E s 1 5 : i l . J : " . i l T " " , . . . ' . .

A A

S y s t e m Control Program

. . - _ j : t r r o r c o n d i t i o n s

F u n c t i o n s l b C o n s i d e r a t i o n s 4 6

P r o g r a m s 1 7 E x a m P l e s . 4 7

P r o g r a m Products 2 4 W r i t i n g - Modes 1 , 2, and 5 4 7

R p G ' 2 9 F u n c t i o n 4 9

S u b s e t ANs co'oL 2 9 p r e p a r a t i o n 4 9

F . R T R A N l v 2 9 T e r m i n a t i o n 4 9

B a s i c Assembler 3 0 C o n t r n u a t t o n 4 9

D i s k Sort and CCP/Disk Sort .

T a p e s o r t 3 1 C o n s i d e r a t i o n s 5 0

D i s k R e s i d e n t c a r d U t i r r t i e s

. . . . . . i i

- ' i H # . ; " i t r , r - . o " , u s " . r .

- . : . . - ; i

C o n v e r s a t i o n a l U t i l i t i e s

1 2 5 5 U t i t i t y 3 1 P r e o a r a t i o n

5 t D A T A / 3

s y s t e m / 3 BASIg 3 1 C o n t i n u a t i o n '

3 l E r r o r C o n d i t i o n s

c o n s i d e r a t i o n s 5 2

C H A P T E R 4. MOOES OF OpERATtoN 3 2 E x a m p r e s . 5 3

f n i t i a f o p e r a t i n g l n s t r u c t i o n s f o r M o d e s 1 , 2 , 3 , 4 , a n d 5 3 4 W r i t i n g - M o d e 4 , M u l t i p l e D a t a s e t s ; u . e r - a s s i g n e a ' 5 3 C h e c k i n g Data Set Labels

L o c a t i n g the First Record to be processed . . 3 4 F u n c t i o n 5 5

S e l e c t i n g the Mode ; : ; _ b b

Readins

F u n c t i o n

- rrr"a" i, s"ni" out. s"i . : . .

; ; ; : ^ : , : . : ^ : . " 1 ' . p r e p a r a t i o n 5 s

. . .

3 6 c o n t i n u a t i o n . T e r m i n a t i o n

3 6 c o n s r d e r a t i o n s 5 6

E x a m p r e s . 5 6

5 6 9 ( q | | u d ' u d r | q U p t | o n a | F e a t U r e s . 7 E r r o r C o n d i t i o n s

S e c o n d D i s k Feature

3 7 4 1 O f f l i n e Opuru,ion, 8 C o n s i d e r a t i o n s 4 0

q E 4 0

C o n t e n t s i l l

(4)

C H A P T E R 5 . E R R O R C O N D I T ] O N S S y s t e m / 3 H a l t s

3 7 4 1 E r r o r s E r r o r D e s c r i p t i o n s C H A P T E R 6 . E X A M P L E S

summary of the Exarnrples . E x a m p l e 1

E x a m p l e 2 E x a m p l e 3 E x a m p l e 4 E x a m p l e 5 E x a m p l e 6 E x a m p l e 7 E x a m p l e 8 E x a m p l e 9 E x a m p l e 1 0 E x a m p l e 1 1 E x a m p l e 1 2

60 60 60 65 67 67 68 68 69 70 70 7 1 72 73 74 75 76 77

A P P E N D I X A . B I B L I O G R A P H Y A P P E N D I X B . L A Y O U T O F D I S K E T T E T h e I B M D i s k e t t e

I n d e x T r a c k ( T r a c k 0 O l L a b e l .

A P P E N O I X C . V A L I D 3 7 4 1 C H A R A C T E R S A P P E N O I X D . 3 7 4 1 S T A T U S L I N E . I N O E X

78 80 80 80 84 85 86

t v

(5)

List of Abbreviations

A C L A p p l i c a t i

BoE ,.n,"","n"ir1LTl]ransuase

: : 9 1 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 B S C C B i n a r y s v n c h r o n o u s . o r n r n r n i " . i i o n s c o n t r o l l e r

CCP Communications

control ;;;;;;;

C P U p r o c e s s i n g u n i t

?lI Disptay format facitity DPF Dual program feature

EOD End of data

EOE End of extent

EOJ End of job

l/O Input/output

l9A Integrated communications adapter I P L I n i t i a l p r o g r a m t o a d

LCA Local communications adapter MFCM Multi_function card machine M F C U M u l t i - f u n c t i o n c a r d u n i t

M R J E M U L T T - L E A V I N G r e m o t e j o b entry M V I M u l t i v o l u m e i n d i c a t o r

OCC Operator control command

OCL Operation control language

PP program product

R D R O R e a d e r q u e u e

RJE Remote job entry

SCP System control programming

VTOC Volume table of contents

(6)

How To Use This Manual

T h i s p u b l i c a t i o n i s d e s i g n e d t o b e u s e d i n a n y o n e o f s e v e r a l w a y s , d e p e n d i n g u p o n y o u r n e e d s :

As an Overview

Chapter l. lntroduction.' Provides an overview of the online functions and characteristics o f t h e 3 7 4 1 d i r e c t l y a t t a c h e d t o a s y s t e m / 3 M o d e l 6 , 8 , 1 0 , 1 2 , o r 1 5 .

Chapter 2. 3741 Operation: Explains the operation of the 3741 both as an online device directly attached to a System/3 and as an offline device.

As a Reference Summary

Chapter 3. Programming Facilities: Describes System/3 system control programming and p r o g r a m p r o d u c t s i n r e l a t i o n t o t h e 3 7 4 1 . l t p r o v i d e s a r e f e r e n c e s u m m a r y o f t h e f a c i l i t i e s p r o v i d e d b y p a r t i c u l a r p r o g r a m s , s u c h a s R P G ll .

As an Operator's Guide

Chapter 4. Modes of Operation.' Contains information relevant to the individual modes.

This chapter is divided into separate sections for each read and write mode. This allows you tc, remove a particular section and keep it at the 3741 for quick reference in perform- ing da'y-to-day acti vities.

Chapter 5. Error Conditions: Explains the possible error conditions and recovery actions.

You nray find it convenient to remove this chapter and place it near the 3741.

A s a P l a n n i n g G u i d e

Chapter 6. Examples.' Provides examples that can serve as aids in planning your programs.

Apperrdixes included are : Appendix A. Bibliography Appendix B. Layout of Diskette Appen,dix C. Valid 3741 Characters Appen,dix D. 3741 Status Line

(7)

The four models of the 3741 are the 3741 Data Station Models 1 and 2 and the 3741 programmable Work Station M o d e l s 3 a n d 4 ( F i g u r e l ) . M o d e l s c a n b e u s e o :

. As online l/O (input/output) devices direcily attached to System/3.

o As offline data entry devices.

o As terminal d e v i c e s i n a c o m m u n i c a t i o n s e n v i r o n m e n t ( M o d e l 2 o r 4 o n l y ) .

T h i s m a n u a l d e s c r i b e s t h e o n l i n e f u n c t i o n s a n d c h a r a c t e r i s _ tics of the 3741 directly attached to a System/3 Model 6, System/3 Model g, System/3 Model 10, System/3 Model 12, or System/3 Model 15. When the 3741 is directly attached to a System/3, the 3741 requires an l/O adapter and the System/3 requires a 3741 attachment feature.

Note: ln this manual, online means that the 3741 is being used as an l/O device directly attached to a System/3; off_

line means that the 3741 is being used indepenctently of the System/3. Also, a directly attached 3741 Model 2 or 4 can perform offline operations with another 3741 Model 2 or 4.

Any reference to the 374.l used as a terminal device is clearly specified; otherwise any reference in this manual to the 3741 is a reference to a 3741 used as an online l/O device directly attached to a System/3.

Also, any reference to Model l0 always means System/3 Model 10 Disk System.

D E S C R I P T I O N O F T H E M O D E L S A N D R E C O R D I N G M E D I A

For a description of the functions performed by the individ_

uaf models of the 3741 , refer to the IBM 3741 Data Station Reference Manual, Glr21-glg3 or to the IBM 3Z4l Models 3 and 4 Programmablet Work Station programming Refer_

ence Man ual, GA21 -g 1 94.

The f BM 3741 Data Station Model 1 is a single operator, key entry station withr one or two diskette drives. Model 2 performs the Model 1 functions and has a BSCA (binary synchronous communications adapter) so that it can func- tion as a remote terminal in a telecommunications e n v i r o n m e n t .

Chapter 1l . Introduction

T h e I B M 3 7 4 1 P r o g r a m m a b l e W o r k S t a t i o n M o d e l 3 p e r - f o r m s th e M o d e l 1 f u n c t i o n s a n d , in a d d i t i o n , c a n o p e r a r e under control of application programs written in ACL ( a p p l i c a t i o n c o n t r o l la n g u a g e ) . M o d e l 4 p e r f o r m s t h e Model 2 f unctions and can use ACL.

Only one 3741 can be directly attached to a System/3.

W h e n t h i s 3 7 4 1 is o p e r a t i n g o n l i n e t o S y s t e r m / 3 , o n l y Model 1 functions are supported.

The 3741 uses a magnetic recording mediurn called the I B M D i s k e t t e ( F i g u r e 2 ) .

f f your System/3 has a directly attached 3741 , vou can also use card l/O devices (except for the Model g which does not have card l/O). The arrangement of records on a diskette parallels the arrangement of punchred card records.

Also, operations parallel those of a card-oriented system.

f n this manual, input to System/3 is called a read operation from the diskette; output from System/3 is called a write operation to the diskette (rather than punch to cards).

In the publications for the 3740 system..the term read. or input, relers to reading from the l/O channel on the 3741 (a System/3 write operation), and the term write, or out- put, refers to writing to the l/O channel on the 3741 (a System/3 read operation ).

S Y S T E M R E O U I R E M E N T S

F o r in f o r m a t i o n c o n c e r n i n g t h e m i n i m u m s ! / s t e m c o n f i g - uration required to use the directly attached 3741 and additional devices supported by the system controt program, s e e o n e o f t h e f o l l o w i n g p u b l i c a t i o n s , a s a p p r o p r i a t e f o r y o u r I B M System/3 m o d e l :

. l8M System/3 Models 4, 6, B, | 0, and | 2 Sysrem Generation Reference Manual, GC21-51 2{i

. IBM System/3 Model l5 System Generation Reference Manual, GC21-7616

. IBM System/3 Model 8 lntroduction, GC2l1_5114 . IBM System/3 Model l2 lntroduction, GC21_S116 . IBM System/3 Model ls lntroduction, GCt2l-S094

f n t r o d u c t i o n 1

(8)

Keyboard and Switches Display Screen

\

D i s k

I

ette Drive 2

Diskette Drive 1

Figure 1. IBM 3741 Data Station or Programmabl€ Work Station

Figure 2. Inserting an IBM Disk€tto

(9)

U S E O F T H E 3 7 4 1 O N L I N E AND OFFLTNE Communications Configurations

F o r lo c a l use as a terminal (Figure

3 , p a r t B), the 3741 is attached to System/3 via LCA (local communi".tion, a d a p t e r ) o r I C A ( i n t e g r a t e d c o m m u n i c a t i o n s a d a p t e r ) . F o r remote use as a terminal, the 3741 i, ,ttu"h"Jto System/3 v i a a B S C A or lCA. When the 3741 is uring u n y o f t h e s e

communications adapters, data record:; are transferred between the 3741 and System/3 bu ,,,;;;;;ommunica- t i o n s p r o g r a m m i n g .

When the 3741 is directly attached to liystem/3 3 7 4 1 a t t a c h m e n t f e a t u r e ( F i g u r e S , p . , : r , n via the

" r i ) , i t c a n l._::"0 for system input and output as well as for data H ; : r " O o u t p u t . ( N o communications p r o g r a m m i n g i s

' - - l l ' . . i r ' "

t E -

O f f l i n e f r o n r

, System/3r F ! _ ! , - , ; .

.

I t' 'o "**i''-l

, - 1 l l

i l r

) t '

, .

L r . , - a---1, l

l-"'----4

3741 Data Station Modet 2 o r

3 7 4 1 P r o g r a m m a b l e W o l <

S t a t i o n M o d e l 4

3741 Data Station Modet 2 o r

37 4 1 Programmable \Mork Station Model 4.

O n l i n e t o Systemr'3

3 7 4 1 ( d i r e c t i y attached )

Local A t t a c h m e n t

3741 Data Station M o d e l 2 o r

3 7 4 1 P r o g r a m m a b l e Work Station M o d e l 4

Remote ,Attachment

3741 DataStation M o d e t 2 o r

3 7 4 1 P r o g r a m m a b l e Work Station M o d e l 4

, : . ' .

Notes:

1. The directly attached 3741 can operate with System/3 or with other 3741s *ii,.'orr,,n. either online,o , System/3; it cannot do both at the same time.

2. BSCA can be used with any Sv"rrnli.#i.

ICA can be used with IBM Svrt../S MoiJiu

", ,|r.

3. LCA can be used with IBM Svr,.rnli Vf.J.l 6, 10, or 15.

ICA can be used with tBM Srr*rnl3 It/.dii g or 12.

4 . B S C C c a n b e u s e d w i t h I B M System/3 M o d e l 1 5 D .

Figure 3" Communications configurations O n l i n e to System/3r

I n t r o d u c t i o n 3

(10)

3741 Operations SYstem/3 Model:

F u n c t i o n 6 8 1 0 1 2 1 5 A B C 1 5 D T h e d i r e c t l y a t t a c h e d 3 7 4 1 s h o u l d b e p o w e r e d o n p r i o r to

p e r f o r m i n g a n i n i t i a l p r o , g r a m l o a d (l P L ) o n t h e S y s t e m / 3 S y s t e m i n p u t o r X X X X X X and powered off after the System/3 is powered off. lf it output device

becomes necessary to po,wer the 3741 on or off while a pro-

g r a m is r u n n i n g i n t h e S y s t e m / 3 , p r e s s S T O P o n t h e p r o - S p o o l i n g i n p u t X X cessing unit, power the :1741 on or off, then press START $ee Spoolingl

o n t h e p r o c e s s i n g u n i t .

D a t a m a n a g e m e n t X X X X X X l f t h e 3 7 4 1 h a s b e e n o n l i n e t o t h e S y s t e m / 3 , t h e k e y e n t r y

p r o g r a m s m u s t b e r e l o a d e d i f t h e 3 7 4 1 is to b e u s e d a s a k e y D e v i c e - i n d e p e n d e n t X X

e n t r y d e v i c e . d a t a m a n a g e m e n t

T h e 3 7 4 1 k e y b o a r d i s e n a b l e d f o r o f f l i n e o p e r a t i o n s s o th a t D i s k S o r t in p u t X X you can enter or change data on diskettes.

R P G l l i n p u t o r X X X X X X To transfer data to or from the System/3, ptace the 3741 outpur

online in a read or write mode. (See Chapter 4. Modes of

Operation.) The five read and write modes offer a means of COBOL X

transferring data rapidly between the 3741 and System/3.

F O R T R A N X

B a c k u p f i l e s a n d fi l e s t h a t a r e u s e d o n l y o c c a s i o n a l l y c a n b e stored compactly on diskettes.

F i g u r e 4 . 3 7 4 1 P r o g r a m m i n g F u n c t i o n s

A l l m o d e l s o f t h e 3 7 4 1 c a n o p e r a t e o f f l i n e . M o d e l s 3 a n d 4 c a n u s e A C L o n l y w h e r n o f f li n e . W h e n o n l i n e t o S y s t e m /

3, the 3741 Model 2, 3, or 4 operates the same as a Model 1. The system input device, called the system reader, or C h a p t e r 2 i n c l u d e s a b r i e f d e s c r i p t i o n o f o f f l i n e o p e r a t i o n s ; s i m p l y R E A D E R , r e a d s s u c h t h i n g s a s O C L ( o p e r a t i o n c o n - for more complete information, see either the tBM 3747 trol languageland utility control statements for the system'

Data Station Reference Manual, GA21 g183, or rhe IBM The system output device, called the system punch. or 3741 Models 3 and 4 Pr,ogrammable Work Station Program- simply PUNCH, writes or punches output such as object

ming Reference Manual,. GA21 -9194. programs.

Data management and device independent data management p R O G R A M M I N G F A C I L I T I E S r o u t i n e s a r e in c l u d e d i n u s e r p r o g r a m s , s u c h a s R P G ll o b -

ject programs. to read data from the 3741 or write data to S y s t e m / 3 p r o g r a m m i n g f o r t h e d i r e c t l y a t t a c h e d 3 7 4 1 is t h e 3 7 4 1 . R e c o r d s p r o c e s s e d b y d a t a m a n a g e m e n t a r e fi x e d s i m i l a r t o t h a t f o r a c a r d re a d e r o r c a r d p u n c h . F i g u r e 4 l e n g t h a n d u n b l o c k e d . A f i l e c o n s i s t s o f o n e o r m o r e d a t a l i s t s s o m e o f t h e p r o g r a r n m i n g f u n c t i o n s t h a t a r e a v a i l a b l e . s e t s o n o n e o r m o r e d i s k e t t e s .

A s p e c i f i c r e c o r d l e n g t h o f 9 6 i s r e q u i r e d w h e n th e 3 7 4 1

i s u s e d a s th e s y s t e m i n p u t o r o u t p u t d e v i c e ; f o r a l l o t h e r W h e n t h e 3 7 4 1 is o n l i n e , S y s t e m / 3 c a n r e a d f r o m o r w r i t e f u n c t i o n s . t h e r e c o r d l e r r g t h c a n b e f r o m l t h r o u g h l 2 8 . t o t h e 3 T 4 l , b u t c a n n o t d o b o t h a t t h e s a m e t i m e . O n l y

one file on 3741 diskettes can be used at one time' For example, although System/3 can assign the 3741 to be b o t h th e R E A D E R a n d th e P U N C H , t h e 3 7 4 1 c a n n o t b e used as both simultaneouslV. The operator can, however, stop the processing and change modes (read or write), then contlnue processing. Also, an RPG I I program can have only one file description specification that defines a diskette f i l e .

An SCP (svstem control programming) utility program copies records to and from the 3741 '

(11)

P E R F O R M A N C E C O N S I D E R A T I O N S

SyStem/3 Can reed aoDroximately 1EOO records per minute f r o m t h e 3 7 4 j a n d c a n write approximately 1000 records p e r m i n u t e t o t h e 3741 when:

o R e c o r d s a r e t r a n s f e r r e d b e t w e e n th e 3 7 4 . 1 a n d a disk d e v i c e (5 4 4 4 , 5 4 4 5 , 3 3 4 0 or 3344).

o 1 28-byte records are used on the diskette and double b u f f e r i n g is s p e c i f i e d in t h e System/3 program.

o B l o c k s i z e o n the disk device is 1024 bytes (eight records p e r b l o c k ) a n d double buffering is specif ied in the System/3 program.

. T h e s y s t e m is dedicated (without dual programmrng, m u l t i p r o g r a m m i n g , o r s p o o l i n g ) .

o The operation is error-free with no alternate tracks a s s i g n e d o n t h e S y s t e m / 3 d i s k .

o The diskette is error-free and normal sector sequenctng i s u s e d .

The stated performance rates may not be achieved if these c o n d i t i o n s v a r y .

You should also be aware that, tor l/O bound joos, a System/3 program cannot run faster than the slowest l/O d e v i c e . F o r e x a m p l e , if r e c o r d s are printed while being r e a d f r o m t h e 3 7 4 1 , t h r o u g h p u t speed is about that of the S y s t e m / 3 p r i n t e r .

S Y S T E M R E O U I R E M E N T S

To use the 3741 dlrectly attached to Sy:;tem/3, you need ( a s a m i n i m u m ) t h e d i r e c t l y a t t a c h e d 3 7 4 1 a n d th e f o l l o w -

i n g .

T h e M o d e l 6 r e q u i r e s a 1 2 K p r o c e s s i n g r - r n i t , a 5 4 4 4 D i s k Storage Drive, and a printer. Note that the system cannot have both a 3741 attachment feature anrd a serial l/O c h a n n e l . P r o g r a m m i n g r e q u i r e m e n t s a r e th e S y s t e m C o n t r o l Program (5703-SCl ) and the 3741 Data Station Feature.

T h e M o d e l 8 r e q u i r e s a 1 6 K p r o c e s s i n g u n i t , a 5 4 4 4 D i s k S t o r a g e D r i v e , a n d a p r i n t e r . p r o g r a m m i n g r e q u i r e m e n t s a r e th e S y s t e m C o n t r o l P r o g r a m ( S 7 0 2 - S C 1 ) a n d th e 3 7 4 1 Data Station Feature.

T h e M o d e l 1 0 r e q u i r e s a 1 2 K p r o c e s s i n g u n i t , a 5 4 4 4 D i s k Storage Drive, a printer, and a card input/output device.

Programming requirements are the Systern Control program ( 5 7 0 2 - S C 1 ) a n d th e 3 7 4 1 D a t a S t a t i o n F e a t u r e .

T h e M o d e l 1 2 r e q u i r e s a 3 2 K p r o c e s s i n g u n i t , a 3 3 4 0 D i r e c t A c c e s s S t o r a g e F a c i l i t y M o d e l C 2 , a n d a p r i n t e r . p r o g r a m - m i n g re q u i r e d i s th e S y s t e m C o n t r o l p r o g r a m ( 5 7 0 5 _ S C l ) . w h i c h in c l u d e s s u p p o r t f o r t h e 3 7 4 1 .

T h e M o d e l 1 5 A r e q u i r e s a 4 g K p r o c e s s i n g u n i t , a 5 4 4 4 D i s k S t o r a g e D r i v e , a 3 2 7 7 D i s p l a y S t a t i o n , a n d a p r i n t e r . T h e S y s t e m C o n t r o l P r o g r a m ( 5 7 0 4 - S C 1 ) i n c l u d e s s u p p o r t f o r t h e 3 7 4 1 .

T h e M o d e l 1 5 8 r e q u i r e s a 4 8 K p r o c e s s i n g u n i t , a 3 3 4 0 D i r e c t A c c e s s S t o r a g e F a c i l i t y , a 3 2 7 7 D i s ; p l a y S t a t i o n , a p f l n t e r , a n d a n i n p u t / o u t p u t d e v i c e . T h e S y s t e m C o n t r o l P r o g r a m ( 5 7 0 4 S C 1 ) i n c l u d e s s u p p o r t f o r t h e 3 7 4 1 . T h e M o d e l 1 5 C re q u i r e s a 1 6 0 K p r o c e s s i n g u n i t , a 3 3 4 0 D i r e c t A c c e s s S t o r a g e F a c i l i t y , a 3 2 7 7 D i s p l a y S t a t i o n , a p n n t e r , a n d a n i n p u t / o u t p u t d e v i c e . T h e ts y s t e m C o n t r o l P r o g r a m ( 5 7 0 4 - S C 1 ) i n c l u d e s s u p p o r t f o r t h e 3 7 4 , l . T h e M o d e l 'l 5 D r e q u i r e s a 9 6 K p r o c e s s i n g u n i t , a 3 3 4 0 D i r e c t A c c e s s S t o r a g e F a c i l i t y , a 3 2 7 7 D i s p l a y S t a t i o n , a p r i n t e r , a n d a n i n p u t / o u t p u t d e v i c e . T h e li y s t e m C o n t r o l P r o g r a m ( 5 7 0 4 SC2) includes s u p p o r t f o r . r h e 3 7 4 1 . Notes:

1 . l f c a r d l/O devices a r e a v a i l a b l e , t h e y a n d a d i r e c t l v attached 3741 can be used with System/3.

2. A 3741 cannot have both an l/O adapterr and a oata recorder attachment.

I n t r o d u c t i o n 5

(12)

Chapter 2. 3741 Operation

The 3741 is a single operator, key entry station that has a keyboard (Figure 5), one or two diskette drives, a control u n i t . a p o w e r s u p p l y . a n d a p i x - l i n e d i s p l a y s c r e e n .

O U T P U T F RO|VI

3741

F I E L D T O T A L S

D I S P L A Y F I E L D T O T A L S

D I S P L A Y F I E L D P R O G

D I S P L A Y F I E L D N AI\4 E D I S P L A Y

D A T A D I S P L A Y

P R O D STAT

A I . P H A S F I F T

Figure 5. 3741 Keyboard

6

(13)

F E A T U R E S

A Summary of Standard and Optional Features Standard and optional features of the 3741 are listed in Figure 6. More complete information about these features is contained in the tBM 3740 Data trtry iyrl"_ _ System Summary and lnstallation Manual_physicit planning, GA21-9152; the IBM 3741 Data Station Reference Manual, GA21-9193; and the IBM 3741 Models 3

"n:,a I erogr"..",_

O!1^\or* Station programming Reference Manual, GA21_

9 1 9 4 . W h e n o n l i n e t o S y s t e m / 3 , o n l y t h e l / O aOapter a n d the Second Disk Feature can be used; when the 374,l is offline, the other features can be used.

Function or Feature l^1:: l,' Models

- Function or Feature l^f: i"

Models

n t e r i n g d a t a t i n g d a t a rator guidance P r o g r a m c o n t r o l :

P r o g r a m c h a i n i n g

T e n l e v e l s o f p r o g r a m c o n t r o l e r i f y i n g d a t a

Record insert

S e a r c h i n g d a t a o n t h e d i s k : Search on record address Search on end of data Search on content and

s e q u e n t i a l c o n t e n t D i s k c o p y

Second disk (l\e1s l) Record length D i s k i n i t i a l i z a t i o n Production statistics F i e l d t o t a l s :

O f f l i n e f i e l d t o t a l s O n l i n e f i e l d t o t a l s

Standard S t a n d a r d S t a n d a r d

Standard Standard O p t i o n a l O p t i o n a l

Standard Standard S t a n d a r d O p t i o n a l O p t i o n a l

Standard (1 128]r O p t i o n a l

O p t i o n a l

Optional O p t i o n a l O p t i o n a l

Proof keyboard

I n p u t / o u t p u t a d a p t e r ( N o t e s 2 and Appl ication control language

Data recorder attachment feature ( N o t e 3 )

P r i n t e r s :

3 7 1 3 P r i n t e r , 3 7 1 5 p r i n t e r , o r 3 7 1 7 P r i n t e r

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

S y n c h r o n o u s c l o c k T e r m i n a l i d e n t i f i c a t i o n K e y l o c k

O p e r a t o r id e n t i f i c a t i o n c a r o reade r

E x p a n d e d c o m m u n i c a t i o n s E x p a n d e d c o m m u n ic a t i o n s /

m u l t i p o i n t d a t a li n k c o n t r o l

O p t i o n a l 3 ) O p t i o n a l

Standard on Models 3 a n d 4 f o r o f f l i n e u s e ( n o t a v a i l a b l e o n Models 1 and 2) O p t i o n a l

(Jptional

S t a n d a r d o n M o d e l s 2 a n d 4 ( n o t a v a i l - a b l e o n M o d e l s 1 a n d 3 )

Q t p t i o n a l o n M o d e l s 2 a n d 4

Nota:

1 . F u n c t i o n s a n d fe a t u r e s i n t h i s s u m m a r y a p p l y to t h e 3741 Programmable Work Station Mo,dels 3 and 4 only when they are not under ACL prograrn control.

2. Supported when the 3741 is directly attached to Svstem/3.

3. The input,/output adapter and data recorder attachment features are mutually exclusive.

Figure 6. Standard and Optional Functions and Features

i i 7 4 1 O p e r a t i o n 7

(14)

Second Disk Feature Updating Records

T h e a d d i t i o n o f a s e c o n d rJ i s k e t t e d r i v e p r o v i d e s d u a l d i s k S e l e c t u p d a t e m o d e t o c h a n g e a p r e v i o u s l y k e y e d r r : c o r d . c a p a b i l i t y o n t h e 3 7 4 1 . T h e s e c o n d d i s k e t t e d r i v e i s t o t h e A f t e r y o u e n t e r a p a r t i a l o r c o m p l e t e d a t a s e t , y o u c a n l e f t o f t h e f i r s t d i s k e t t e c r i v e ( F i g u r e 1 ) . r e v i e w e a c h r e c o r d a n d m o d i f y a n y r e c o r d b y s e l e c t i n g

update mode. You can step through the records by press' W h e n t h e 3 7 4 1 h a s a s e c o n d d i s k e t t e d r i v e , y o u c a n p e r f o r m i n g R E C A D V o r R E C B K S P . Y o u c a n u s e u p d a t e m o d e t h e f o l l o w i n g o f f l i n e f u n , : t i o n s : t o c h a n g e a n y f i e l d i n a r e c o r d .

o D u p l i c a t e a d i s k e t t e fo r b a c k u p o r s a v e d a t a f r o m a

defective diskette. Adding Records

. Merge records from a cliskette on the second drive and The best way to add one or more records to an exir;ting records from the keyboard onto the diskette on the first data set is to add them at the end of a batch after ltst

d i s k e t t e d r i v e . v e r i f y t h e r e s t o f t h e b a t c h .

o P o o l d a t a f r o m s e v e r a l d i s k e t t e s o n t o o n e d i s k e t t e T o a d d m i s s i n g r e c o r d s b e t w e e n r e c o r d s p r e v i o u s l y e n t e r e d :

o Extend program stora,ge; programs can be loaded into o Add the records at the end of the batch and sort them

t h e p r o g r a m s t o r a g e b u f f e r s f r o m t h e s e c o n d d i s k e t t e o n t h e S y s t e m / 3 p r i o r t o p r o c e s s i n g ' w i t h o u t r e m o v i n g th e c l i s k e t t e o n d r i v e 1 .

o U s e a m a c h i n e e q u i p p e d w i t h d i s k c o p y t o c o p y t h e r E x p a n d s t o r a g e f o r u s e w i t h t h e c o m m u n i c a t i o n s f e a t u r e . d a t a u p t o t h e a p p r o p r i a t e a d d r e s s ; t h e n i n s e r t th e

m i s s i n g r e c o r d a n d c o p y t h e r e s t o f t h e d a t a . W h e n t h e 3 7 4 1 i s o n l i n e t o S y s t e m / 3 , y o u c a n n o t a d d r e s s

t h e s e c o n d d i s k e t t e d r i v e . D e p e n d i n g o n t h e m o d e y o u r I n s e r t th e r e c o r d s w i t h i n t h e d a t a s e t b y u s i n g th e s e l e c t w h e n t h e 3 7 4 1 i s p r l a c e d o n l i n e , p r o c e s s i n g a u t o m a t i - r e c o r d in s e r t fe a t u r e '

c a l l y s w i t c h e s f r o m d r i v e 1 t o d r i v e 2 , a n d t h e n f r o m d r i v e 2 t o d r i v e 1 . Y o u c a n c h a n g e t h e d i s k e t t e o n o n e d r i v e

while processing is continr.ring on the other drive. Process- Searching for Data on the Diskette i n g a l w a y s s t a r t s o n d r i v e 1 ; p r o c e s s i n g a l s o a l w a y s r e s u m e s

o n d r i v e 1 a f t e r a n e r r o r , c o n d i t i o n re q u i r i n g 3 7 4 1 o p e r a t o , I n s e a r c h m o d e , y o u c a n : i n t e r v e n t i o n .

. S e a r c h o n r e c o r d a d d r e s s . Y o u c a n f i n d a p a r t i c u l a r y'i1ote.. Automatic processing on first one drive, then the record by specifying its address (track and sector num- o t h e r , o c c u r s o n l y i f y o u o p e n a n d c l o s e th e c o v e r o f e a c h b e r ) . T h e s e a r c h s t o p s a t t h e s p e c i f i e d a d d r e s s a n d t h e d r i v e a f t e r i t i s u s e d ; th i s a c t i o n p r e v e n t s a d i s k e t t e fr o m p r o p e r r e c o r d is d i s p l a y e d '

a c c i d e n t a l l y b e i n g p r o c e s s ; e d a g a i n .

. S e a r c h o n E O D ( e n d o f d a t a ) . T h e l a s t r e c o r d in a d a t a s e t i s f o u n d . T h i s o p e r a t i o n a l l o w s y o u t o a d d a d d i t i o n - 3 7 4 1 O F F L I N E O p E R A I - I O N S a l r e c o r d s t o a d a t a s e t w i t h o u t e i t h e r k n o w i n g ' w h e r e

the end of the data set is or having to search for the end Y o u c a n u s e th e 3 7 4 1 o f f l i n e t o e n t e r d a t a , u p d a t e r e c o r d s , o f t h e d a t a s e t m a n u a l l y '

add records, and search {or data.

a Search on content and sequential content. You can locate a record by specifying a mask statement identify-

Entering Data rng the record contents. Search sequential content is a

fast search method that you can use for records having E n t e r o r i g i n a l r e c o r d s b y k e y i n g w h i l e i n e n t e r m o d e . T h e s e q u e n t i a l l y a r r a n g e d f i e l d s . l n e i t h e r t y p e o f s ' e a r c h , i f system places keyed Characters in a buffer as they appear the record is not found' an error is displayed'

o n t h e 3 7 4 1 d i s p l a y s c r e e n . W h e n y o u h a v e e n t e r e d a c o m - plete record, press REC,ADV to transfer the record to the d i s k e t t e a n d c l e a r th e d i s ; p l a y s c r e e n . l f A U T O R E C A D V i s o n , t h e 3 7 4 1 r e l e a s e s t f r e r e c o r d a u t o m a t i c a l l y w h e n t h e l a s t c h a r a c t e r i s k e v e d .

a

(15)

3 7 4 1 D I S P L A Y SCREEN T h e d i s p l a y s c r e e n :

r Provides quick communication of errors to an operator.

o Facilitates scanning and searching of stored records.

o Permits source keying with operator guidance.

The display contains a 40_character status line and displays the data record as it is keyed or when it is reviewed. The cursor, shown on the left side of the display screen in Figure 8, moves as you key entries, indicating the next position to be keyed.

L i n e l - S t a t u s L i n e

When you insert a diskette and close the diskette drive c o v e r , t h e s t a t u s l i n e a n d fi r s t data set label are displayed.

F o r a n e x p l a n a t i o n o f s t a t u s l i n e e n t r i e s d u r i n g o f f l i n e operations. see the IBM 3741 Data Station Operator.s G u i d e , c A 2 1 - 9 1 3 1 .

N o t a l l p o s i t i o n s o n t h e o n l i n e s t a t u s l i n e h a v e a d i s p l a y e d entry at all times. See Chapter i. Error C,onditions for a l i s t o f d i s p l a y e d e n t r i e s a n d th e i r m e a n i n g . F i g u r e 7 c o n - tains a list of the most common entries.

Position Entry Meaning

Position Entry Meaning

The 374'l is disconnected from the System/3.

T h e 3 7 4 1 is o n l i n e . N o c o m m a n d s a r e a c t i v e . The 3741 is ready to perform a

read or write for System/3.

T h e 3 7 4 1 is w a i t i n g f o r a r e s p o n s e f r o m t h e p r o c e s s i n g u n i t :

Service request response.

End of record active.

End of data set out is active.

End of file is reached. (The last r e c o r d i s r e a d i n m o d e 1 o r FUNCT S E L u p p e r , t h e n T i s p r e s s e d i n m o d e 2 , 3 , 4 , or 5.)

3 7 4 1 a t t e n t i o n i s r e q u i r e d . ( S e e p o s i t i o n 7 . )

Mode (readlwrite) is incorrect.

Record length is incorrecr.

Record length is incorrecr.

Note: 6A,68, and 6C are sense responses. System/3 has informed t h e 3 7 4 1 th a t t h e condition e x i s t s a n d th e 3 7 4 1 displays t h e e r r o r i n d i c a t i o n .

Diskette error code is:

Diskette removed during seek operation.

E a r l y d i s k re m o v a l d u r i n g f i l e operati ons.

Length error.

No record founcl.

S e e k e r r o r . R e a d e r r o r . W r i t e e r r o r .

O v e r l a p e x t e n t e r r o r . D i s k e t t e e r r o r is o n d r i v e 1 . D i s k e t t e e r r o r is o n d r i v e 2.

l / O a d a p t e r e r r o r c c , d e i s : Record length error.

A t t a c h m e n t e r r o r (u s u a l l y i n _ dicated when in the wrong m o d e ) .

End of data sent by System/3 ( m o d e 4 o n l y ) .

End of file sent bry System/3 ( m o d e 4 o n l y ) .

System/3 is writing ro the diskette.

System/3 is reading from the diskette.

Mode 1 is indicated.

M o d e 2 i s in d i c a t e d . Mode 3 is indicated.

M o d e 4 i s in d i c a t e d . M o d e 5 i s in d i c a t e d .

Figure 7. Status Line Entries

3 7 2 [ 1 O p e r a t i o n g

(16)

S t a t u s li n e w h e n t h e 3 7 1 1 1i s o f f l i n e : P r o g r a m B e g i n N u m b e r F i e l d

I coo.

l l

1 2 1 7

C u r s o r P o s i t i o n

I

I

I

1 3

S t a t u s li n e w h e n t h e 3 7 4 1 i s o n l i n e : 31"+1

Startu s

I

s I 1 0

C u r r e n t A d d r e s s : D r i v e 1 D r i v e 2 P r o g r a m

s h i f t C o d e 2 0

M o d e I n d i c a t o r

I I I

38 40

a a

M a c h i n e Status

( S e e n o t e )

2 E l r n

2 9 3 1 3 s

(Current address is displayed when drive 2 is being used.)

(Current address for drive 1l is a l w a y s d i s p l a y e d . )

O = R e a d M o d e N u m b e r

| = w r i t e , / t l , 2 , 3 , 4 , o r 5 )

\ . .

J / J ' J

t a

When drive 2 is being used, the current address is in p o s i t i o n s 3 1 t h r o u g h 3 5 .

lUofe.' When there is an O in position 37. positiorrs 25 through 29 contain the address of the next recorcl to be transferred to System/3.

When there is an I in position 37, positions 25 through 29 contain the address of the first record in each 13-record b l o c k .

F i g u r e 8 . S t a t u s L i n e D i s p l a y e d o n L i n e 1 o f 3 7 4 1 Display Screen

1 0

(17)

Lines 2 through 6

ff the diskette head is oositioneri at tho index track, lines 2 and 3 contain the data set label. lf the operation is be_

yond the index track, lines 2 through 5 contain keyed data.

During record transfer, lines 2 through 5 contain the first of each block of 1 3 records. lf there is a diskette error, lines 2 through 5 contain the error record and the image on the display screen blinks. The last 30 characters of lines 5 and 6 are used for operator guidance during offline operations.

DATA SET LABEL

Each track on a diskette contains 26 sectors. The first seven sectors of the index track (track 00) contain track and diskette identification information as described in Appendix L Each data set label contains the location of a particular data set on the diskette. The label can also identify the data set by name. (Creation and checking of labels is an operator function. The System/3 does not process or create the labels.) Each data set label requires one of the sectors between g and 26 on the index track and contains:

Field

M u l t i v o l u m e i n d i c a t o r

V o l u m e s e q u e n c e n u m b e r Creation date

Expiration date Verify mark EOD (See Note 2.) Notes:

1 . T h e o p t i o n a l o r n o t a p p l i c a b l e f i e l d s a r e n o t r e q u i r e d for online use, but can be used in offline iapplications on a 3747 or 3540.

2 . B O E , E O D . a n d E O E are diskette a d d r e s s e s i n t h e f o r - mat TT0SS where TT is a track number (l through 73) a n d S S is a s e c t o r n u m b e r ( 1 through 2 6 ) .

Bypass lndicator (Position 4l )

A blank (6) in position 41 indicates that you can process the data set. A B entry indicates that you cannor process the data set, even though it resides on the diskette. How_

ever, if you position the diskette head at a re,cord within a data set before you place the 3741 online, the program does not bypass the data set. Those subsequent data sets with a bypass indicator of B are bypassed if the mode be_

i n g u s e d i s 3 , 4 , o r 5 . A B 1 error is posted i n p o s i t i o n s 7 and 8 of the status line if you attempt to process a bypass data set while in mode 1 or 2.

Write Protect (Position 43)

P in position 43 indicates that the data set can be reacl o n l y . T h i s fi e l d m u s t contain a b l a n k t o a l l o v r b o t h r e a d and write operations.

Fot ,3741 Directly Attached to System/3 R e q u i r e d ( b l a n k , C , o r L ) .

N o t i l p p l i c a b l e . N o t a p p l i c a b l e . N o t a p p l i c a b l e . Not applicable.

R e q u i r e d .

Field

L a b e l i d e n t i f i e r ( H D R I ) Data set name

Block/record length

Beginning of extent (BOE) (See Note 2.)

End of extent (EOE) (See N o t e 2 . )

Bypass indicator

Data set security Write protect

lnterchange type indicator

Fot 3741 Directly Attached to System/3 R e q u i r e d .

Optional. (See N o t e 1 . ) R e q u i r e d .

R e q u i r e d .

R e q u i r e d . R e q u i r e d ( b l a n k o r B ) .

O p t i o n a l . R e q u i r e d ( b l a n k o r P ) .

M u s t b e b l a n k .

3 7 4 1 O p e r a t i o n 1 1

(18)

Check for OverlappinlT Exten$ (Reading or Writing) Each time the diskettr: head returns to the index track to locate another data set label, the 3741 checks for overlap- ping extents. lf the next data set label defines a data set t h a t h a s a B O E o r E O E I a d d r e s s t h a t is w i t h i n a n o t h e r s e t , the 3741 posts an error and displays the data set label that overlaps the one you irre trying to process.

lf you position the di:;lkette head to a record within a data s e t b e f o r e p l a c i n g t h e : 1 7 4 1 o n l i n e , t h e r e is n o o v e r l a p p i n g extents check for that data set. Checks for overlapping extents are made for:;ubsequent data sets if you are using m o d e 2 , 3 , 4 , o r 5 . A l i l a b e l s a r e c h e c k e d , e v e n i f t h e y a r e coded as bypass, securrs, or write protect. (See Appendix 8, index track, sector 08, position 42, for data set security e n t r y . ) l f a n y d a t a s e t o n a d i s k e t t e i s s e c u r e , a 1 0 A ' l o r

10A2 error occurs if 1r,ett 11y to place any other data set on t h e d i s k e t t e o n l i n e w h r e n p o s i t i o n e d a t t h e l a b e l . Y o u c a n , h o w e v e r , p l a c e a n o n s e c u r e d a t a s e t o n l i n e b y p o s i t i o n i n g w i t h i n th e n o n s e c u r e d a t a s e t a n d th e n p l a c i n g t h e 3 7 4 1 o n l i n e .

Multivol ume lnd icator (Position 45)

A b l a n k in p o s i t i o n 4 i 5 in d i c a t e s t h a t t h e e n t i r e d a t a s e t is c o n t a i n e d o n t h i s d i s l l e t t e . F o r th e m e a n i n g o f C a n d L e n t r i e s i n t h i s fi e l d , s e e t h e a p p r o p r i a t e m o d e (1 t h r o u g h 5) description in Chapter 4.

Record Length (Positions 25 through 27)

You must set up the record length field before placing the 3 7 4 1 o n l i n e f o r e i t h e r a r e a d o r a w r i t e o p e r a t i o n . T h e specified record lengtfr can be from I to 128, but must be the same as the record length specif ied in the System/3 p r o g r a m ( F i g u r e 4 ) . ' T h e

r e c o r d l e n g t h s p e c i f i e d i n t h e l a b e l a p p l i e s t o a l l r e c o r d s i n t h e d a t a s e t .

A s i n g l e d i s k e t t e c a n h o l d m u l t i p l e d a t a s e t s , b u t f o r e a s y m a n a g e m e n t o f t h e w o r k f l o w , k e y i n g o n l y o n e d a t a s e t o n e a c h d i s k e t t e i s r e c o n r m e n d e d . l f m u l t i p l e d a t a s e t s a r e c o m b i n e d i n t o a s i n g l e r f i l e , a l l d a t a s e t s m u s t h a v e t h e s a m e record length. A data set can extend to more than one d i s k e t t e . T h e d e s c r i p t i o n s o f m o d e s 1 t h r o u g h 5 e x p l a i n w h e r e a n d h o w s p e c i a l l y d e s i g n e d p r o c e d u r e s a p p l y w h e n processing multiple data sets on one or more diskettes on o n e o r b o t h d i s k e t t e ' d r i v e s .

D A T A R E C O V E R Y

lf you write over data that is not yet processed, you must recreate the data from source or backup materierl. To re- cover a partially destroyed data set. you must rerestablish the EOD address. The appropriate 3741 reference manual and operator's guide (see Appendix A. Bibliographyl con- tain the operating procedures for recovery of EOD address for overwritten records.

Although diskettes rarely develop irregularities because of c o n t i n u e d u s e , s o m e i r r e g u l a r i t y c a n o c c u r if f o r e i g n m a t e r i a l c o n t a m i n a t e s t h e d i s k e t t e . E a c h i n s t a l l a t i o n s h o u l d h a v e a s t a n d a r d p r o c e d u r e t o f o l l o w w h e n a d a t a record cannot be read or written onto a diskette. lf the station has the copy function, the best data recovery pro- cedure is to copy the undamaged data onto a nerw diskette and key in the affected records. Alternate methods depend on the mode of operation the station is in at thtl time the diskette error is encountered. (See the IBM 37111 Data Station Operator's Guide, G421 -9 1 31.)

You should make a note of diskette irregularitiers on the external label of the diskette. Consider the foll,cwing be- f o r e r e p l a c i n g a d i s k e t t e :

1 . l f t h e e r r o r is o n o n e o f t h e f i r s t f e w t r a c l < s , y o u c a n e a s i l y m o d i f y th e d a t a in d e x t r a c k to s k i p th e b a d track and all tracks that precede it and sirnply start r e c o r d i n g f u r t h e r in t o t h e d i s k e t t e .

A full l898tecord capacity may not be required.

Diskettes need not be discarded when batches con- tain only 300 to 500 records.

2 .

(19)

3 7 4 1 O P E R A T O R D U T I E S

1 . R e a d V t h e d i s k e t t e a n d th e 3 7 4 1 .

a. Select the correct diskette. Caref ully identif y each data set on the external label of the diskette s o th a t y o u c a n fi n d the correct d i s k e t t e e a s i l y . This can save time that would otherwise be spent rn a search for the desired data set label. (There c a n b e u p t o l 9 data sets o n o n e d i s k e t t e . ) b . I n s e r t t h e d i s k e t t e i n t h e 3 7 4 1 d i s k e t t e d r i v e l

and close the cover; the first data set label is then d i s p l a y e d .

c. Search the index track to locate the desired data s e t la b e l .

d . l f n e c e s s a r y , m o d i f y th e l a b e l .

e. Position the diskette to the first record that is to be read or to receive data. Note that if the disk.

ette head is positioned at the label, processing begins with the record specified by the BOE add ress.

f . S e l e c t t h e d e s i r e d m o d e a n d p l a c e t h e 3 7 4 1 o n l i n e . 2. Initiate the System/3 program that uses the data. lf

t h e p r o g r a m i s a l r e a d y l o a d e d . t h e S y s t e m l 3 m a y i s s u e a d e v i c e n o t - r e a d y i n d i c a t i o n . T h i s re q u r r e s a response on the system/3.

Note: (57O4-SC2 only) lf unit record resrarr was s e l e c t e d d u r i n g s y s t e m g e n e r a t i o n , a n a u t o m a t i c 1 - o p t i o n i s p r o v i d e d .

3 . E n s u r e t h a t t h e d i s k e t t e s a r e in s e r t e d i n t h e p r o p e r s e q u e n c e w h e n p r o c e s s i n g m u l t i p l e d i s k e r r e s .

P L A N N I N G D I S K E T T E C O N T E N T S A N D P R O G R A M S E O U E N C E

You can use the diskette to store data, OCL starements, and utility control statements. For the storage of data, it is suggested that only one or two data sets be asigned and u s e d p e r d i s k e t t e ; t h i s te c h n i q u e c a n r e s u l t i n a s i m p l i f i e d operati on.

You may want to store all OCL and utility controt state- m e n t s o n o n e d i s k e t t e a n d a l l d a t a o n a n o t h e r . Generally, you do not need to change OCL once it is created, but you may need to change data frequently. you can use wnte protect to prevent accidental destruction of OCL data sets.

You must select a read mode or a write mode in order to p l a c e t h e 3 7 4 1 o n l i n e . W h e n p r o c e s s i n g f i l e s u s i n g d a t a management. the System/3 program can specify only an i n p u t o r a n o u t p u t fi l e , but not both. For data handled b y R E A D E R o r P U N C H f u n c t i o n s , b o t h i n p u t a n o o u t p u t can b e p e r f o r m e d o n t h e 3 7 4 1 , b u t o p e r a t o r i n t e r v e n t i o n i s required to change modes. lt is importarnt for you to con- s i d e r t h i s w h e n c o m p i l i n g p r o g r a m s a n d r u n n i n g S C p u t i l i t y p r o g r a m s .

W h e n c o m p i l i n g , i f y o u r s o u r c e p r o g r a m s a r e o n d i s k e t t e a n d y o u w i s h to p u n c h the object programs o n d i s k e t t e , you must change from read to write mocle for each program.

T w o p o s s i b l e a l t e r n a t i v e s a r e ro :

o Compile all programs, putting the objr.,ct programs in t h e o b j e c t li b r a r y o n d i s k . W h e n t h e r : o m p i l a t i o n s a r e compiete, punch the object programs f rom the library t o a d i s k e t t e .

. C o p y the source p r o g r a m s t o a s o u r c e l i b r a r y o n d i s k and use a catalogued procedure to conrpile them. As the source programs are compiled, object programs can b e w r i t t e n o n t h e d i s k e t t e w i t h o u t o p e r a t o r i n t e r v e n t i o n .

W h e n r u n n i n g t h e S C P u t i l i t y p r o g r a m s , r e m e m b e r t h a t some of them read control statements thert request punch_

i n g f u n c t i o n s . S o m e o f t h e u t i l i t i e s d o n o , t r e a d a l l c o n t r o l s t a t e m e n t s b e f o r e b e g i n n i n g t o p u n c h . ( l t s e a c h c o n t r o l s t a t e m e n t i s r e a d , i t i s p r o c e s s e d . ) T h e r e f o r e . w h e n c o n t r o l statements are to be read and data is to be punched in the s a m e r u n , it m a y b e d e s i r a b l e t o f i r s t c a t a l o g t h e O C L a n d control statements in the procedure library and then exe_

c u t e th e p r o c e d u r e ; p u n c h i n g t o t h e d i s k e t t e c a n th e n p r o _ c e e d w i t h o u t o p e r a t o r i n t e r v e n t i o n . A n e x a m p l e i s : / / L O A D $ M A I N T r F l ,

/ / R U N

/ / C O P Y F R O M - R 1 , , L I S R A R Y - S , N A I , I E - P R O G A r T O - P U N C I {

/ / E N D

At the time punching is to begin, the // El,,lD statement is not read.

3 7 4 ' l O p e r a t i o n 1 3

(20)

I N I T I A T I N G A N O P E R I \ T I O N T o i n i t i a t e a n o p e r a t i o n : 1. Select a data set or record.

S I T E P L A N N I N G

The 3741 should be situated so that you can readily see the 3741 display screen when you are at the Systern/3 console.

2 . K e y a 4 i n p o s i t i o n 1 . W h e n t h e 3 7 4 1 is o p e r a t i n g o n l i n e , t h e 3 7 4 1 c a n r e q u i r e attention before the completion of the job and System/3 3 . K e y a 1 ,2,3,4, or Ii in position 2 ( s t a n d s f o r t h e c a n a p p e a r t o b e in a b u s y lo o p w h e n :

m o d e n u m b e r ) . (M o d e 4 r e g u i r e s a n a d d i t i o n a l

entry in positions 3i through 5.) o EOD is reached while in mode 2 (read).

4. For a read operation, press FUNCT SEL upper, then o A lOCl or 10C2 continuation-required error is posted

D U P . o n t h e 3 7 4 1 .

5 . F o r a w r i t e o p e r a t i o n , p r e s s F U N C T S E L u p p e r , t h e n . A l O E l o r 1 O E 2 e x t e n t e r r o r is p o s t e d o n t h e 3 , / 4 1 . F I E L D C O R .

In these instances, you must take appropriate action at the 3741 (no action required at System/3) to continue Processi ng .

(21)

This chapter discusses System/3 SCp and program products in relation to the 374,|.

Chapter 3. Programming Facilities

SYSTEM CONTROL PROGRAM

This section describes SCP functions and programs.

F i g u r e 9 i s a l i s t o f S C P f u n c t i o n s a n d p n o g r a m s t h a t a r e available for each of the models of System/3. The X oppo- s i t e t h e n a m e m e a n s o n l y t h a t t h e f u n c t i o n o r p r o g r a m i s available for that model of System/3 and does not neces_

s a r i l y m e a n t h a t i t a p p l i e s t o t h e 3 7 4 1 . T h e in d i v i d u a l d e s c r i p t i o n s i n t h e t e x t t h a t f o l l o w s e x p l a i n t o w h a t e x t e n t , if any, each function or program can be used with the 3741.

P r o g r a m m i n g F a c i l i t i e s 1 5

(22)

Function

Program Number: 5703-SCl

Model Number: 6

5702.SC1 5705SC1

8 1 0 1 2

5704-SC1 5704-SC2

1 5 1 5

Diskette records R E A D E R P U N C H

Data management

X X X X

X X X X

X X X X

X X X X

X X X X

X X X X

Device independent clata management

E n , l o f f i l e

S p o o l i n g ( p r i n t e r o n l y o n M o d e l 1 2 ) M u l t i p r o g r a m m i n g

X X X X

X

X X X X

X X X X

D u a l p r o g r a m m i n g

Checkpoi nt/restart R o l l o u t / r o l l i n

OCL (operation control languaqe)

X X X

X X X X X

X X X X X

X X X X X X

OCC (operator control commands) I P L

LOAD * C a n c e l i n g a i o b

X X

X X X

X X X

X X X

X X X X

X X X X Program

CCP (communicationrs control program) M R J E ( M U L T I - L E A , t r ' l N G r e m o t e j o b entry) R J E ( r e m o t e j o b entry)

X X

X X X

X X X

X X

X X

X X

Copy/dump progranl

Library maintenance Macro processor

X X

X X X

X X X

X X X

X X X

X X X

O v e r l a y l i n k a g e e d i t o r X X X X X X

S y s t e m g e n e r a t i o n X X X X X X

O t h e r u t i l i t i e s :

A l t e r n a t e t r a c k a s s i g n m e n t X X X X X X

Alternate track rr:build Dump/restore F i l e d e l e t e

S y s t e m h i s t o r y a r e a d i s p l a y Configuration re<nrd

X

X

X X

X X X

X X X

X X X X

X X X X X X

D i s k i n i t i a l i z a t i o n

F i l e a n d v o l u m e l a b e l d i s p l a y Disk pack backup,/1s51er-g F i l e c o m p r e s s

3340 simulation ilrea program T a p e i n i t i a l i z a t i o r r

X X X

X X X

X X

X X

X X

X

X

X X

X X

X X

Tape error summary

5445 data interchange

1000-file VTOC conversion program Reassign alternatr? track

R e c o v e r i n d e x

X X

X

X

X

X

X X

X X

X X X

X X X

Figure 9. SCP Functions and Programs Available f or Models of Slrtem/3

t o

Referenzen

ÄHNLICHE DOKUMENTE

Central Processor registers: Accumulator, Memory Buffer, Program Counter, Multiplier Quotient, Memory Address, Link, Instruction Field, Data Field, Instruction

When the keyboard has assembled a character, it generates a KEY STROBE signal to activate the interface and the 7-bit character is parallel loaded into the

Enter the number corresponding to the drive in which the diskette was placed and press RETURN... Enter n to cancel all previous

In determining the priority of control units which operate multiple devices with different priority rules (for example, a 2821 that attaches both class 2 and class

The seventh character of the instruction (last character of the B-address) enters the units position of the B-address register and the A-register through the

You also need to know the restrictions on revision of field types and maximum lengths. You can change a field description after the fil~ is created.. A character

Brian K. Each repetitive letter uses the information from only one record. One letter is produced for each selected record in the file. A report uses the

routines of category 126 will be given tlrst consideration for re-inclusion in the root area (non- ovcrlay core). lf this cannot be done, the Overlay Unkage Edi- tor assigns