• Keine Ergebnisse gefunden

On a HASP communication line, a device definition i s d i f f e r e n t f r o m a t e r m i n a l d e fi n i t i o n . A H A S P te r mi n a l c o n s i s ts o f o n e o r mo re d e v i c e s ; t e rmi n a l and device are not synonymous. In a CDC network, a device is equivalent to an equipment input or output stream within a HASP workstation.

You must provide one TERMDEV or DEVICE statement f o r e a c h d e v i c e t h a t a c c e s s e s t h e c o m m u n i c a t i o n l i n e t h r o u g h t h e t e r m i n a l y o u a r e d e fi n i n g . I f y o u use a TERMDEV statement, you cannot use a DEVICE s t a t e m e n t f o r t h e s a m e t e r m i n a l . F i g u r e s 6 - 8 a n d 6 - 9 p r e s e n t t h e f o r m a t s o f t h e s e s t a t e m e n t s f o r devices on HASP protocol lines.

For console devices:

device: DEVICEC,DT=C0N,ABL=abl,DBZ=dwnlsiz,UBZ=upbsize,DBL=dwnblim,UBL=upblim,3 CXBZ= xrai t si z,AUTOCON C=yn13,PRIC=yn23,DI C=yn33,HN=node,HD C=yn43,LK=yn5,3 CB1=M,B2=b2,CN=cn,CT=ct,PW=pw,P90=fv90,...,P99=fv993.

For card punches and plotters (DT of CP or PL):

device: DEVICE,DT=devtypC,SDT=subdt,DBZ=dwnlsiz,UBZ=upbsize,DBL=dwnblim,UBL=upblim,3 DCBZ=xmitsiz,DO=devord,STREAM=streamno,PRIC=yn13,DI D=yn23,PW=pw,3

CP90=fv90,...,P99=fv993.

For card readers:

device: DEVICE,DT=CRC,SDT=subdt,UBZ=upbsize,DBL=dwnblim,UBL=upblim,D0=devord,3 CSTREAM=streamno,PRIC=yn13,DIr=yn23,PW=pw,P90=fv90,...,P99=fv993.

F o r l i n e p r i n t e r s :

device: DEVICE,DT=LPC,SDT=subdt,DBZ=dwnlsiz,DBL=dwnblim,UBL=upblim,XBZ=xmitsiz,3 CD0=devord,STREAM=streamno,PRlC=yn13,DlC=yn23,PW=pw,P90=fv90,...,P99=fv993.

For site-defined devices:

device: DEVICE,DT=DTl2C,SDT=subdt,ABL=abl,DBZ=dwnlsiz,UBZ=upbsize,DBL=dwnblim,3 CUBL=upblim,XBZ=xmitsiz,DO=devord,STREAM=streamno,AUTOCONC=yn13,PRlC=yn23,3

CDIC=yn33,HN=node,HDC=yn43,LK=yn5,Bl=b1,B2=b2,CN=cn,CT=ct,PW=pw,P90=fv90,...,P99=fv993.

device The element name of the terminal device being defined. This name can be one through five characters long. The first character must be a letter; the other characters can be letters or digits. If this statement is used within the set following a GROUP statement, the device name cannot be longer than five characters. This is the name used by the host or NPU operator to monitor and control the device. This name is required; there is no d e f a u l t v a l u e .

All other parameters are described in the text.

Figure 6-9. DEVICE Statement Format for Communication Lines of TIPTYPE=HASP

6-22 60480000 N

J$p\

The following DEVICE and TERMDEV parameters provide t h e d e v i c e d e fi n i t i o n f o r t h e t e r m i n a l : message upline to the connected application program.

6-23

The effect this parameter has depends on the appli message upline to the connected application program.

The effect this parameter has depends on the appli

Because the terminal does not use an ASCII character terminal definition commands to determine or change o n e o f t h e v a l u e s y o u h a v e e s t a b l i s h e d f o r t h e

T h i s p a r a m e t e r i s o p t i o n a l ; i t I s a l l o w e d f o r a l l

I n d i c a t e s t h a t n o n o d e n u m b e r I s s p e c i

50 < pw < 150

I n d i c a t e s t h a t t h e d e v i c e c a n s u p p o r t p h y s i c a l l i n e s n o l o n g e r t h a n t h e

i n d i c a t e d v a l u e .

I f y o u o m i t t h i s p a r a m e t e r o r s p e c i f y t h e v a l u e C C P, a d e f a u l t v a l u e i s u s e d . T h e d e f a u l t v a l u e d e p e n d s o n t h e t e r m i n a l c l a s s a n d d e v i c e t y p e . Default values for console devices and plotters (DT of CON or PL) are:

TC Value HASP HPRE

PW

Value Used 80

80

D e f a u l t v a l u e s f o r l i n e p r i n t e r s ( D T o f L P ) i n terminal classes HPRE and HASP are:

TC Value HASP HPRE

PW

Value Used 120 120

The value of this parameter reverts to the default value when the terminal class is changed from the console or changed by the application program. The terminal user or the application program can change a n y v a l u e y o u s p e c i f y f o r c o n s o l e d e v i c e s ; t h e application program can change any value you specify for batch devices.

P90 THROUGH P99 PARAMETERS

These ten parameters indicate the hexadecimal field v a l u e t o u s e f o r t h e c o r r e s p o n d i n g fi e l d n u m b e r w i t h i n t h e Te r m i n a l I n t e r f a c e P r o g r a m c o n fi g u r a t i o n i n f o r m a t i o n t r a n s m i t t e d f o r t h i s d e v i c e . T h e released version of the CDC-written HASP TIP does n o t u s e a n y o f t h e s e t e n fi e l d n u m b e r / fi e l d v a l u e p a i r s .

T h e s e p a r a m e t e r s a r e o p t i o n a l . I f y o u s p e c i f y a value, it must be within the following range:

0 < fv9i < FF

If you omit these parameters, there are no default values.

SDT PARAMETER

The SDT parameter specifies the subdevice type of the device you are defining. The subdevice type is t h e s e t o f e x t e r n a l c h a r a c t e r i s t i c s o f i n t e r e s t t o t h e n e t w o r k s o f t w a r e . T h i s p a r a m e t e r i s o p t i o n a l a n d v a l i d o n l y f o r d e v i c e s w i t h D T v a l u e s o f C R , LP, PL, and DTI 2. The recognized reserved word values you can use and the defaults depend on the value you specify or use for the DT parameter.

I f a D T v a l u e o f L P i s u s e d , t h e f o l l o w i n g v a l u e s a r e a l l o w e d d e fi n i t i o n s o f a p r i n t e r c h a r a c t e r s e t :

A 6 I n d i c a t e s t h a t t h e d e v i c e u s e s 6 4 A S C I I c h a r a c t e r s .

A 9 I n d i c a t e s t h a t t h e d e v i c e u s e s 9 5 A S C I I c h a r a c t e r s .

B 6 I n d i c a t e s t h a t t h e d e v i c e u s e s t h e 6 4 - c h a r a c t e r C D C s c i e n t i fi c ( B C D ) c h a r a c t e r s e t .

C C P I n d i c a t e s t h a t C C P s h o u l d u s e t h e d e f a u l t a p p r o p r i a t e f o r t h e d e v i c e ; u s i n g t h i s v a l u e i s e q u i v a l e n t t o o m i t t i n g ' t h e p a r a m e t e r.

S D T 1 2 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 12.

S D T 1 3 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 13.

S D T 1 4 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 14.

S D T 1 5 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 15.

If you omit the SDT parameter or specify the value CCP, the default value of A6 is used.

If a DT value of CR Is used, the following values a r e a l l o w e d d e fi n i t i o n s o f a c a r d r e a d e r p u n c h

p a t t e r n s e t :

C C P I n d i c a t e s t h a t C C P s h o u l d u s e t h e d e f a u l t a p p r o p r i a t e f o r t h e d e v i c e ; u s i n g t h i s v a l u e i s e q u i v a l e n t t o omitting the parameter.

S D T 1 2 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 12.

SDT 13 Indicates a site-defined subdevice type that uses the subdevice type number 13.

S D T 1 4 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 14.

S D T 1 5 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 15.

2 6 I n d i c a t e s t h a t t h e d e f a u l t p u n c h p a t t e r n a t t h e b e g i n n i n g o f e a c h j o b d e c k i s the 026 pattern set.

2 9 I n d i c a t e s t h a t t h e d e f a u l t p u n c h p a t t e r n a t t h e b e g i n n i n g o f e a c h j o b d e c k I s the 029 pattern set.

If you omit the SDT parameter or specify the value CCP, the default value of 29 is used.

If a DT value of CP is used, the following values are allowed definitions of subdevice type:

S D T 1 2 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 12.

| 6-28 60480000 N

/0p!S\

S D T 1 3 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 13.

S D T 1 4 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 14.

S D T 1 5 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 15.

If a DT value of PL is used, the following values a r e a l l o w e d d e fi n i t i o n s o f a p l o t t e r i n s t r u c t i o n byte size:

C C P I n d i c a t e s t h a t C C P s h o u l d u s e t h e d e f a u l t a p p r o p r i a t e f o r t h e d e v i c e ; u s i n g t h i s v a l u e i s e q u i v a l e n t t o omitting the parameter.

S D T 1 2 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 12.

S D T 1 3 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 13.

S D T 1 4 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 14.

S D T 1 5 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 15.

6 B I T I n d i c a t e s t h a t t h e d e v i c e u s e s a 6 - b i t b y t e f o r e a c h i n s t r u c t i o n .

8 B I T I n d i c a t e s t h a t t h e d e v i c e u s e s a n 8 - b i t b y t e f o r e a c h i n s t r u c t i o n .

If you omit the SDT parameter or specify the value CCP, the default value of 6BIT is used.

If a DT value of DTI2 is used, the following values are allowed definitions of subdevice type:

A 6 I n d i c a t e s t h a t t h e d e v i c e u s e s 6 4 A S C I I c h a r a c t e r s .

A 9 I n d i c a t e s t h a t t h e d e v i c e u s e s 9 5 A S C I I c h a r a c t e r s .

B 6 I n d i c a t e s t h a t t h e d e v i c e u s e s t h e 6 4 - c h a r a c t e r C D C s c i e n t i fi c ( B C D ) c h a r a c t e r s e t .

S D T 1 2 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 12.

S D T 1 3 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 13.

S D T 1 4 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 14.

S D T 1 5 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 15.

2 6 I n d i c a t e s t h a t t h e d e v i c e u s e s t h e 0 2 6 p a t t e r n s e t .

2 9 I n d i c a t e s t h a t t h e d e v i c e u s e s t h e 0 2 9 p a t t e r n s e t .

6 B I T I n d i c a t e s t h a t t h e d e v i c e u s e s a 6 - b i t b y t e f o r e a c h i n s t r u c t i o n .

8 B I T I n d i c a t e s t h a t t h e d e v i c e u s e s a n 8 - b i t b y t e f o r e a c h i n s t r u c t i o n .

If you omit the SDT parameter, no default exists.

STREAM PARAMETER

The STREAM parameter defines the stream number used w i t h i n t h e t e r m i n a l t o a d d r e s s d a t a t o o r f r o m t h e device. This stream number must be unique for each d e v i c e o f t h e s a m e t y p e w i t h i n t h e t e r m i n a l . I f t h e t e r m i n a l h a s p l o t t e r s , t h e s t r e a m n u m b e r f o r each plotter must be unique among all plotters and card punches within the terminal.

The STREAM parameter is allowed for batch devices (DT of CP, CR, LP, and PL) or site-defined devices ( D T o f D T 1 2 ) o n l y. T h i s p a r a m e t e r i s r e q u i r e d f o r b a t c h d e v i c e s o n fi x e d - c o n fi g u r a t i o n l i n e s a n d optional for devices on automatic recognition lines.

If you specify this parameter, you must use one of t h e f o l l o w i n g v a l u e s :

AUTOREC

S p e c i fi e s t h a t t h e s t r e a m n u m b e r i s t o b e d e t e r m i n e d b y t h e n e t w o r k s o f t w a r e w h e n a u t o m a t i c r e c o g n i t i o n o f t h e t e r m i n a l o c c u r s ( v a l i d o n l y I f t h e L I N E o r G R O U P s t a t e m e n t c o n t a i n s t h e A U T O p a r a m e t e r ) ; u s i n g t h i s v a l u e i s e q u i v a l e n t t o o m i t t i n g the parameter.

1 £ streamno £ 7

Indicates the stream number associated with t h e d e v i c e w i t h i n t h e t e r m i n a l .

I f y o u o m i t t h i s p a r a m e t e r o r s p e c i f y t h e v a l u e AUTOREC, the stream number determined during auto m a t i c r e c o g n i t i o n o f t h e l i n e i s u s e d .

UBL PARAMETER

T h e u p l i n e b l o c k l i m i t ( U B L ) p a r a m e t e r s p e c i fi e s the number of upline blocks that can be outstanding ( u n a c k n o w l e d g e d ) b e t w e e n t h i s t e r m i n a l a n d a n a p p l i c a t i o n p r o g r a m . T h e v a l u e y o u c h o o s e i s independent of the ABL and DBL parameters.

Yo u s h o u l d c h o o s e a v a l u e t h a t i s l a r g e r t h a n t h e m a x i m u m n u m b e r o f l o g i c a l l i n e s t h e t e r m i n a l u s e r c a n e n t e r b e f o r e o u t p u t f r o m t h e a p p l i c a t i o n p r o g r a m i n t h e h o s t m u s t o c c u r. A fi x e d n u m b e r o f input messages might have significance to an appli c a t i o n p r o g r a m . I f s u c h a n a p p l i c a t i o n d o e s n o t p e r f o r m o u t p u t u n t i l r e c e i v i n g t h a t n u m b e r o f i n p u t messages and if you choose a UBL value smaller than this number, the application program becomes dead l o c k e d ( i t w a i t s f o r b l o c k s o f d a t a t h a t C C P i s forced to discard because the block limit has been r e a c h e d f o r u p l i n e q u e u i n g ) . I f t h e d e v i c e m u s t r e c e i v e o u t p u t b e f o r e i t c a n b e g i n a d d i t i o n a l i n p u t , t h e d e v i c e a l s o b e c o m e s d e a d l o c k e d b y t h i s s i t u a t i o n .

60480000 N 6-29 |

This parameter is optional. The UBL parameter has to store the outstanding (unacknowledged) blocks of data in the NPU and the host. upline block whenever It receives 100 characters.

The value you declare should be chosen after con divides downline network data blocks as necessary t o c r e a t e a t r a n s m i s s i o n b l o c k o f t h e s p e c i fi e d

SDT 13 Indicates a site-defined subdevice type that uses the subdevice type number 13.

S D T 1 4 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 14.

S D T 1 5 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 15.

If a DT value of PL is used, the following values a r e a l l o w e d d e fi n i t i o n s o f a p l o t t e r I n s t r u c t i o n byte size:

C C P I n d i c a t e s t h a t C C P s h o u l d u s e t h e d e f a u l t a p p r o p r i a t e f o r t h e d e v i c e ; u s i n g t h i s v a l u e i s e q u i v a l e n t t o omitting the parameter.

S D T 1 2 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 12.

S D T 1 3 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 13.

S D T 1 4 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 14.

S D T 1 5 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 15.

6 B I T I n d i c a t e s t h a t t h e d e v i c e u s e s a 6 - b i t b y t e f o r e a c h i n s t r u c t i o n .

8 B I T I n d i c a t e s t h a t t h e d e v i c e u s e s a n 8 - b i t b y t e f o r e a c h i n s t r u c t i o n .

If you omit the SDT parameter or specify the value CCP, the default value of 6BIT is used.

If a DT value of DT12 is used, the following values are allowed definitions of subdevice type:

A 6 I n d i c a t e s t h a t t h e J e v i c e u s e s 6 4 A S C I I c h a r a c t e r s .

A 9 I n d i c a t e s t h a t t h e d e v i c e u s e s 9 5 A S C I I c h a r a c t e r s .

B 6 I n d i c a t e s t h a t t h e d e v i c e u s e s t h e 6 4 - c h a r a c t e r C D C s c i e n t i fi c ( B C D ) c h a r a c t e r s e t .

S D T 1 2 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 12.

S D T 1 3 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 13.

S D T 1 4 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 14.

S D T 1 5 I n d i c a t e s a s i t e - d e fi n e d s u b d e v i c e t y p e that uses the subdevice type number 15.

2 6 I n d i c a t e s t h a t t h e d e v i c e u s e s t h e 0 2 6 p a t t e r n s e t .

2 9 I n d i c a t e s t h a t t h e d e v i c e u s e s t h e 0 2 9 p a t t e r n s e t .

6 B I T I n d i c a t e s t h a t t h e d e v i c e u s e s a 6 - b i t b y t e f o r e a c h i n s t r u c t i o n .

8 B I T I n d i c a t e s t h a t t h e d e v i c e u s e s a n 8 - b i t b y t e f o r e a c h i n s t r u c t i o n .

If you omit the SDT parameter, no default exists.

STREAM PARAMETER

The STREAM parameter defines the stream number used w i t h i n t h e t e r m i n a l t o a d d r e s s d a t a t o o r f r o m t h e device. This stream number must be unique for each d e v i c e o f t h e s a m e t y p e w i t h i n t h e t e r m i n a l . I f t h e t e r m i n a l h a s p l o t t e r s , t h e s t r e a m n u m b e r f o r each plotter must be unique among all plotters and card punches within the terminal.

The STREAM parameter is allowed for batch devices (DT of CP, CR, LP, and PL) or site-defined devices ( D T o f D T 1 2 ) o n l y. T h i s p a r a m e t e r i s r e q u i r e d f o r b a t c h d e v i c e s o n fi x e d - c o n fi g u r a t i o n l i n e s a n d optional for devices on automatic recognition lines.

If you specify this parameter, you must use one of t h e f o l l o w i n g v a l u e s :

AUTOREC

S p e c i fi e s t h a t t h e s t r e a m n u m b e r i s t o b e d e t e r m i n e d b y t h e n e t w o r k s o f t w a r e w h e n a u t o m a t i c r e c o g n i t i o n o f t h e t e r m i n a l o c c u r s ( v a l i d o n l y i f t h e L I N E o r G R O U P s t a t e m e n t c o n t a i n s t h e A U T O p a r a m e t e r ) ; u s i n g t h i s v a l u e i s e q u i v a l e n t t o o m i t t i n g the parameter.

1 £ streamno £ 7

Indicates the stream number associated with the device within the terminal.

I f y o u o m i t t h i s p a r a m e t e r o r s p e c i f y t h e v a l u e AUTOREC, the stream number determined during auto m a t i c r e c o g n i t i o n o f t h e l i n e i s u s e d .

UBL PARAMETER

T h e u p l i n e b l o c k l i m i t ( U B L ) p a r a m e t e r s p e c i fi e s the number of upline blocks that can be outstanding ( u n a c k n o w l e d g e d ) b e t w e e n t h i s t e r m i n a l a n d a n a p p l i c a t i o n p r o g r a m . T h e v a l u e y o u c h o o s e i s independent of the ABL and DBL parameters.

Yo u s h o u l d c h o o s e a v a l u e t h a t i s l a r g e r t h a n t h e m a x i m u m n u m b e r o f l o g i c a l l i n e s t h e t e r m i n a l u s e r c a n e n t e r b e f o r e o u t p u t f r o m t h e a p p l i c a t i o n p r o g r a m i n t h e h o s t m u s t o c c u r. A fi x e d n u m b e r o f

input messages might have significance to an appli c a t i o n p r o g r a m . I f s u c h a n a p p l i c a t i o n d o e s n o t p e r f o r m o u t p u t u n t i l r e c e i v i n g t h a t n u m b e r o f i n p u t messages and if you choose a UBL value smaller than this number, the application program becomes dead l o c k e d ( i t w a i t s f o r b l o c k s o f d a t a t h a t C C P i s forced to discard because the block limit has been r e a c h e d f o r u p l i n e q u e u i n g ) . I f t h e d e v i c e m u s t r e c e i v e o u t p u t b e f o r e i t c a n b e g i n a d d i t i o n a l i n p u t , t h e d e v i c e a l s o b e c o m e s d e a d l o c k e d b y t h i s s i t u a t i o n .

60480000 N 6-29 |

This parameter is optional. The UBL parameter has to store the outstanding (unacknowledged) blocks of data in the NPU and the host. upline block whenever it receives 100 characters.

The value you declare should be chosen after con divides downline network data blocks as necessary t o c r e a t e a t r a n s m i s s i o n b l o c k o f t h e s p e c i fi e d

BISYNCHRONOUS TERMINAL