ON[,–S sess][,lu1],lu2[,DC]

Starts LU redirection from lu1 to lu2. The default lu1 is LU 6. All I/O to lu1 will be routed to the lu2 specified. Both lu1 and lu2 must be valid LU numbers. By default, up to 2 levels of I/O redirection are allowed. For example, •sp,on,7,9" and •sp,on,9,11" will redirect LU 7 to LU 11.

–ssess" can be specified by a superuser to start spooling for session number sess. By default, spooling is started for your session.

The DC (do not chain redirections) option can be specified to inhibit chaining of redirection.

ON[,–Ssess][,lu],file[,options]

Starts spooling for the LU specified. Any subsequent output to lu is written in the file specified. At completion, the file is removed from the spool system but not purged. The default lu is LU 6.

–ssess" can be specified by a superuser to start spooling for session number sess. By default, spooling is started for your session.

Valid options are NC, NF, BP, SS, KC, and PU as defined at the end of the command descriptions.

Note that unless the KC option is given, the spooled output written to the specified file does not contain EXEC CNTWD flags that were given in the spooled write requests. The file also does not contain device control requests that were issued to the LU via an EXEC 3.

LI,file[,lu][,options]Queues the file in the spool system for output to lu. The default lu

 

is LU 6. Valid options are NC, NF, BP, SS, KC, and PU as defined

 

at the end of the command descriptions.
RE,fileref[,offset]Restarts spool file output. The optional offset parameter can be

 

either positive or negative. If specified, the appropriate number of

 

relative records (+ or -) will be skipped. For example,

 

RE,FILE,–5" will restart output five records back. The fileref

 

parameter may be either the file name or the reference number

 

displayed by the ST command.
PU,filerefRemoves the file from the spool system. This file is purged only if it

 

is a spool file (that is, OUTSPOOLxx.SPL). The fileref parameter

 

may be either the file name or the reference number displayed by

 

the ST command.
OF[,lu][,session]Stops spooling or LU redirection for lu. The default is LU 6. If lu

 

was spooled to a default spool file, output is started to the device.

 

Note that nondefault spool files are not output. See the SP LI

 

command to output nondefault spool files.

 

A superuser may terminate spooling or redirection for another

 

session by specifying the session parameter.

32 SP Spool System