![]() ![]() |
|
SP-ASSIGNDefines a formqueue, spooler options and number of copies to be used by subsequent print reports.
COMMAND SYNTAXSP-ASSIGN {{n}=formqueue} {options} {copies}
SYNTAX ELEMENTSn defines the print report channel to be assigned in the range 0 to 127. The default value for n is zero. If a print report channel is specified a formqueue must also be specified. 0 is the default print report channel number. jBASE processors like jQL and jCL produce print reports on print channel zero. The default PRINT statement will also direct output to print report channel zero. Print report channels 1-127 can be assigned by the SP-ASSIGN command and used within jBASE programs to direct output to separate print reports simultaneously by using the PRINT ON statement. Print report channels 128-254 are reserved. Print report channel 255 is reserved for log reporting by the jBASE Background Task Processor, jBTP. formqueue defines the name of the formqueue to which print jobs are queued. The default formqueue is STANDARD. options define the spooler assignment options which will be assigned to the subsequent print jobs when queued to the formqueue:
copies defines to number of copies of the print report data are required to be output.
RESTRICTIONS ON OPTIONSThe following combinations of spooler options are incompatible.
Options I or C cannot be assigned to logical PROG device type formqueues. This error message will be displayed if any illegal combinations are attempted: INCOMPATIBLE OPTIONS: I S, C NOT I, COPIES I
NOTESThe default spooler assignment takes effect if the SP-ASSIGN command is executed without parameters. The default assignment is print report channel zero, formqueue STANDARD, spooler options P and number of copies set to one. This is also the default spooler assignment after log on. The options assigned using the SP-ASSIGN command remain in effect until the SP-ASSIGN command is re-executed for the same print report channel or the user logs off. Assignment information about each print report channel is held in the spooler assignment table and can be displayed by using the SP-LOOK command. jBASE provides the ability to produce a banner page at the start of the print job with the SETPTR command. The implementation of the SETPTR command on jBASE is limited to providing the functionality of:
SP-ASSIGN will close any previously open global print jobs as well as clear any banner text assigned with the SETPTR command. |