• Aucun résultat trouvé

Function During system generation, a system print device is established for each partition. The P R I N T E R s t a t e m e n t e n a b l e s y o u t o c h a n g e t h e s y s t e m p r i n t d e v i c e f o r t h e p a r t i t i o n i n which the statement is processed. The new system print device remains in effect until c h a n g e d b y a n o t h e r P R I N T E R s t a t e m e n t o r u n t i l a n o t h e r I P L o c c u r s .

Placement

Format Contents

T h e P R I N T E R s t a t e m e n t c a n b e p l a c e d a n y w h e r e a m o n g t h e O C L s t a t e m e n t s . I n a procedure it must precede the RUN statement.

/ / P R I N T E R o a r a m e t e r s

The parameters are as follows (keywords are in capital letters; defaults are underlined):

D E V I C E .

L I N E S - n n n F O R M S N O - n n n C O P I E S - n n D E F E R .

A L r c N . { G ' l

P R I O R I T Y

-f t4o3 |

\ s z u I

f Y E S t

l r l o t

, Y E S I

t N o I

\ i ll

c L o s E . { # }

ocoPY-DEVICE: The device parameter is optional . lf not specified, 1403 is assumed. Spool does not support the 3284.

L I N E S : T h e L I N E S p a r a m e t e r i s o p t i o n a l . lt i s u s e d t o a l t e r t h e n u m b e r o f p r i n t li n e s ( f o r m s l e n g t h ) p e r p a g e . P o s s i b l e r a n g e i s 1 2 t o 1 1 2 . T h e n u m b e r o f l i n e s s p e c i f i e d r e m a i n s i n e f f e c t f o r t h a t p a r t i t i o n u n t i l a n o t h e r P R I N T E R s t a t e m e n t w i t h L I N E S p a r a m -eter is entered or until the next lPL. This parameter overrides the forms length specified during system generation; however, a program's forms length overrides the LINES parameter. lf a program's forms length is used, it is in effect for the duration of that job step only. At the end of the job step, forms length is restored to the previous value.

P R I N T E R S t a t e m e n t 1 - 8 5

FoRMSNO: This optional parameter, which applies only to the job step in which the PRINTER statement was used, may be used to inform the operator which forms are to be mounted on the printer. This parameter can be any combination of 1 to 3 characters, except commas, apostrophes, or blanks. when this param€ter is used, the system halts with a message to the operator indicating the forms type to be used. when printing spooled printed output, the print writer issues a message whenever the forms type for the current print step is different from that of the previous print step. The response taken to this message informs the print writer if separator pages should be printed between jobs and job steps. see the IBM system/3 Model | 5 User's Guide to spooling, GC21-7632, for information on separator pages. lf the forms type operand is given in the START pRT command, the print writer will print only those job steps whose forms type matches that given in the START command. You can start the print writer with a different forms type by entering the sroP PRT command, followed by the START pRT command with a forms type operand. Starting the print writer without the forms type operand causes the p r i n t w r i t e r to print job steps i n t h e o r d e r t h e y a p p e a r o n t h e p r i n t q u e u e .

coPlES: This optional parameter. which applies only to the job step in which the P R I N T E R s t a t e m e n t w a s u s e d , a l l o w s t h e u s e r t o o b t a i n 1 - g g c o p i e s o f a j o b s t e p ' s spooled printed output. lf this parameter is not specified, only one copy is printed.

When more than one copy is requested. the print writer continues to produce the number of requested copies before continuing to the next step on the print queue. All copies p r o d u c e d b y t h e p r i n t w r i t e r a l l o w fo r f o r m s alignment i f A L I G N - Y E S i s s p e c i f i e d . T h i s parameter is ignored when print spooling is inactive or not supported for the specified device.

D E F E R : T h e D E F E R p a r a m e t e r i s o p t i o n a l , lt i s i g n o r e d w h e n p r i n t s p o o l i n g i s in a c t i v e o r n o t s u p p o r t e d f o r t h e s p e c i f i e d d e v i c e . D E F E R - N O a l l o w s t h e s p o o l i n g u s e r t o b e g i n printing a job step's printed output before the job step has completed execution if the j o b step is the next step to be printed from the print queue. when DEFER-yES is speci-f i e d , p r i n t i n g d o e s n o t b e g i n u n t i l th e jo b s t e p h a s c o m p l e t e d e x e c u t i o n . T h e D E F E R parameter applies only to the job step in which the PRINTER statement was received. lf t h e p a r a m e t e r i s n o t s p e c i f i e d , t h e s y s t e m a s s u m e s D E F E R - y E S .

A L I G N : T h e A L I G N p a r a m e t e r i s o p t i o n a l . lt a i d s t h e o p e r a t o r i n f o r m s a l i g n m e n t f o r spooled printed output. This parameter is ignored when print spooling is inactive or not supported for the specified device. When ALIGN-YES is specified, the printer stops after p r i n t i n g t h e fi r s t li n e to a l l o w fo r m s a l i g n m e n t . A m e s s a g e i s d i s p l a y e d o n t h e C R T a f t e r the first line is printed. The operator's response to this message indicates that forms are a l i g n e d ( c o n t i n u e p r i n t i n g ) o r t h a t t h e l i n e s h o u l d b e p r i n t e d a g a i n ( t r y alignment a g a i n ) . l f m o r e th a n o n e c o p y is requested ( C O p l E S p a r a m e t e r ) a n d A L I G N - y E S i s s p e c i f i e d , t h e p r i n t e r h a l t s f o r f o r m s a l i g n m e n t p r i o r to p r i n t i n g e a c h c o p y . l f A L I G N - N o is s p e c i f i e d . the printer does not stop. The ALIGN parameter applies only to the job step in which the P R INTE R statement was received. lf the parameter is not specif ied. the system a s s u m e s A L I G N - N O .

Note: lf logging was assigned to the 1403, forms alignment is done on the first ocL statement logged to the 1403 for that job step. For this reason, logging to the 1403 s h o u l d b e s u p p r e s s e d w h e n A L I G N - y E S is u s e d .

1 € 6

Spooling Considerations

P R I O R I T Y : T h e P R I O R I T Y p a r a m e t e r i s o p t i o n a l . A p r i o r i t y c a n b e a s s i g n e d t o a j o b s t e p t o i n d i c a t e i t s o r d e r o f p r i n t i n g o n t h e p r i n t q u e u e . P r i o r i t y 0 i n d i c a t e s a p r i o r i t y 1 j o b step that is to be held on the print queue u n t i l r e l e a s e d v i a a n o p e r a t o r c o n t r o l c o m m a n d . ( S e e A p p e n d i x C f o r a s u m m a r y o f o p e r a t o r c o n t r o l c o m m a n d s . ) P r i o r i t y 5 i s the highest priority that can be assigned. lf this parameter is not specified, the priority of the iob at the time of execution is assigned to the job steps on the print queue. This parameter is ignored when print spooling is inactive or not supported for the specified d e v i c e . T h e P R I O R I T Y p a r a m e t e r a p p l i e s o n l y t o t h e jo b s t e p in w h i c h th e P R I N T E R statement was used.

CLOSE: This optional parameter is used to group multiple print steps of a job under one s t e p n a m e . l f C L O S E - N O i s s p e c i f i e d , n o p r i n t s t e p s a r e c l o s e d a t e n d o f s t e p , o n l y a t e n d of job. lf CLOSE-YES is specified, a print step is closed at end of step. lf the parameter is not specified. CLOSE-YES is assumed. The CLOSE parameter is ignored when print s p o o l i n g i s n o t a c t i v e .

l f a p r e v i o u s p r i n t s t e p s p e c i f i e d C L O S E - N O , a P R I N T E R s t a t e m e n t w i t h a n A L I G N , C O P I E S , D E F E R , F O R M S N O , P R I O R I T Y , o r O C O P Y p a r a m e t e r i s ig n o r e d a n d c a u s e s a n informational message to be issued.

QCOPY: This optional parameter (OCOPY-NO) is used to prevent the spool file copy p r o g r a m f r o m c o p y i n g a j o b s t e p t h a t i s o n t h e p r i n t q u e u e . O C O P Y - Y E S a l l o w s t h e spool file copy program to copy the job step. lf the parameter is not specified.

O C O P Y - Y E S i s a s s u m e d .

T h e O C O P Y p a r a m e t e r a p p l i e s o n l y t o t h e io b s t e p in w h i c h th e P R I N T s t a t e m e n t i s i n c l u d e d .

You can change your system print device in a spooled job stream; however, if the new device is the 3284, printed output for the system print device (for example, from the

o v e r l a y l i n k a g e e d i t o r o r l i b r a r y m a i n t e n a n c e p r o g r a m ) i s n o t p l a c e d o n t h e p r i n t q u e u e . To resume spooling of this printed output, you must change the system print device back t o t h e 1 4 0 3 .

W h e n a P R I N T E R s t a t e m e n t i s e n c o u n t e r e d a n d p r i n t e r o u t p u t fo r t h e jo b s t e p is b e i n g s p o o l e d . t h e e f f e c t o f t h e C O P I E S , D E F E R . A L I G N a n d / o r F O R M S N O p a r a m e t e r s i s d e l a y e d u n t i l t h e p r i n t w r i t e r is r e a d y t o p r i n t t h e o u t p u t .

P R I N T E R S t a t e m e n t 1 - 8 7

Function

Placement

Format Contents

The PUNCH statement enables you to define the system punch device for the partition in which the statement was received.

The new system punch device remains in effect until changed by another PUNCH state-m e n t o r u n t i l a n o t h e r I P L o c c u r s .

During system generation of a default system punch device is established for each p a r t i t i o n .

The PUNCH statement can be placed anywhere among the ocL statements. In a proce-dure, it must precede the RUN statement.

i/ PUNCH keyword parameters The keyword parameters are as follows:

D E V IC E - d e v i c e C A R D N O - n n n C O P I E S - n n

D F F F R - ' J E I l N o I oenpY- .{ YES I

) N o (

DEVICE: This parameter is optional and can be any of the following:

MFCUI Primary hopper ot the 5424 MFCU2 Secondary hopper of the 5424 1442 1442 Card Read Punch M F C M I P r i m a r y h o p p e r o f t h e 2 5 6 0 MFCM2 Secondary hopper of the 2560

3741 3741 Data Station/Programmable Work Station (not supported for punch spooling)

1-88

CARDNO: This parameter is optional and may be used to inform the operator which card type to use for output punching. When the punched output is spooled, the card t y p e u s e d f o r p u n c h i n g c a n b e id e n t i f i e d i n t h e P U N C H s t a t e m e n t . T h i s p a r a m e t e r m a y be any combination of 1 to 3 characters, except commas, apostrophes, or blanks. The C A R D N O p a r a m e t e r a p p l i e s o n l y t o t h e jo b s t e p in w h i c h th e P U N C H s t a t e m e n t w a s u s e d . When the CARDNO parameter is used, the system halts and issues a message on the CRT indicating the card type to be used for the job or job step.

When punching spooled output on a 1442 Card Read Punch or 2560 MFCM, blank cards may be inserted between decks to cause all cards of the deck iust punched to be fed into the stacker. On the MFCU, the last card is stacked without the extra blank cards.

COPIES: This optional parameter allows the user to obtain from 1 to 99 copies of job step's spooled punch output. lf this parameter is not specified, only one copy is punched.

When more than one copy is requested, the END OF PCH STEP message must be re-sponded to before the punch writer will start punching the next copy. Once started, the punch writer punches the entire number of requested copies before continuing to the next j o b step on the punch queue. The COPIES p a r a m e t e r i s ig n o r e d w h e n p u n c h s p o o l i n g i s inactive or not supported for the specified device. The COPIES parameter applies only to the job step in which the PUNCH statement was used.

D E F E R : T h e D E F E R p a r a m e t e r i s o p t i o n a l . lt i s i g n o r e d w h e n p u n c h s p o o l i n g i s i n a c t i v e o r n o t s u p p o r t e d f o r t h e s p e c i f i e d d e v i c e . D E F E R - N O a l l o w s t h e s p o o l i n g u s e r to begin punching a iob step's punched output before the job step has completed execu-tion (if the job step is the next step to be punched from the punch queue). When

D E F E R - Y E S i s s p e c i f i e d , p u n c h i n g w i l l n o t b e g i n u n t i l th e iob step has completed e x e c u -t i o n . T h e D E F E R p a r a m e -t e r a p p l i e s o n l y t o t h e io b s t e p in w h i c h th e P U N C H s t a t e m e n t w a s re c e i v e d . l f t h e p a r a m e t e r i s n o t s p e c i f i e d . t h e s y s t e m a s s u m e s D E F E R - Y E S . QCOPY: This optional parameter (OCOPY-NO) is used to prevent the spool file copy program from copying a job step that is on the punch queue. OCOPY-YES allows the spool f ile copy program to copy the job step. lf the parameter is not specif ied, OCOPY-YES is assumed.

The QCOPY parameter applies only to the iob step in which the PUNCH statement is i n c l u d e d .

P R I O R I T Y : T h e P R I O R I T Y p a r a m e t e r i s o p t i o n a l . A p r i o r i t y c a n b e a s s i g n e d t o a j o b s t e p t o i n d i c a t e i t s o r d e r o f p u n c h i n g o n t h e p u n c h q u e u e . P r i o r i t y 0 i n d i c a t e s a p r i o r i t y

1 job step that is to be held on the punch queue until released via an operator control command. (See Appendix C for a summary of operator control commands.) Priority 5 is the highest priority that can be assigned. lf this parameter is not specified, the priority of the job at the time of execution is assigned to the job steps on the punch queue. This parameter is ignored when the punch spooling is inactive or not supported for the speci-f i e d d e v i c e . T h e P R I O R I T Y p a r a m e t e r a p p l i e s o n l y t o t h e jo b s t e p in w h i c h th e P U N C H statement was usecl.

P U N C H S t a t e m e n t 1 - 8 9

E x a m p l e

Spool ing Con siderations

l n t h i s e x a m p l e , p r i o r to p u n c h i n g . t h e s y s t e m h a l t s a n d d i s p l a y s o n t h e d i s p l a y s c r e e n , the partition's cARDNo parameter (s0) informing the operator that card type b0 is to be placed in the secondary hopper of the MFCtJ.

D u r i n g p u n c h i n g . n o c h e c k f o r b l a n k c a r d s i s m a d e . lf t h e s y s t e m p u n c h d e v i c e i s a l s o the partition's system input device and neither device is being used by spooling, a halt is issued to inform the operator that the system punch device should be readied for p u n c h i n g .

You can change your system punch device in a spooled job stream; however, if the new system punch device is not the spooled punch device, punched output from the overlay linkage editor and the library maintenance program, for example, is not placed on the punch queue. To resume spooling of this punched output, you must change the system punch device to the device designated as the spooled punch device during sysrem genera-t i o n .

The punch writer issues a message whenever the card type (cARDNo) tor the current punch step is different from that of the previous punch step.

when a PUNCH statement is encountered and punch output for the job step is being s p o o f e d , t h e e f f e c t o f t h e C O P I E S , D E F E R a n d l o r C A R D N O p a r a m e t e r s i s d e l a y e d u n t i l the punch writer is ready to punch the output.

| -90