SP-OPEN/SP-CLOSE Command

Makes one print job out of multiple print requests. The SP-OPEN command opens a single print file for several consecutive print requests. The SP-CLOSE command closes the print file.

Format

SP-OPEN

SP-CLOSE

Description

SP-OPEN activates the O option of SP-ASSIGN; SP-CLOSE deactivates (turns off) the O option. SP-OPEN and SP-CLOSE are useful, however, when you want to create one print file out of a sequence of print requests without being affected by any other of the current SP-ASSIGNments.

These two commands have been superseded by the SP-ASSIGN command.

Using SP-OPEN and SP-CLOSE

The following example shows how to open a print file, send two print jobs, then close the print file. The SP-ASSIGNments are also shown both before and after using the SP-OPEN command:

SP-OPEN

 

 

 

 

SP-ASSIGN ?

 

 

 

 

PROCESS

STATUS

COPIES

FORM #

 

 

 

 

4

P O

7

1

 

 

 

 

> SORT ORDERS WITH CURR-BAL <   50 (P)

 

 

 

 

ENTRY # 27

 

 

 

 

SORT ORDERS WITH CURR-BAL  >  50 (P)

 

 

 

 

> SP-CLOSE

 

 

 

 

[1140] YOUR OPEN FILES WERE CLOSED

 

 

 

 

>