SP-CREATE with RealityX 3.1 Syntax

To maintain compatibility with RealityX 3.1 Procs which use SP-CREATE, the following syntax can be used:

Syntax

SP-CREATE form-queue device-type device-id {blocksize density label}

Syntax elements

form-queue is the name of the new formqueue comprising alphabetic, numeric or special characters (excluding asterisks and embedded spaces). It cannot comprise a single numeric character.

device-type is the type of output device assigned to the formqueue, as follows:

PTR Port or Private Printer (UNIX host only).

TAPE Tape Unit.

SYS System Printer.

0 No Device.

device-id is a name or number assigned to the output device. Valid device-ids for the three device types are as follows:

SYS The destination name of a system printer.

PTR A number from one to the maximum number of ports configured on your system or, on UNIX, the name for a private printer.

TAPE A number from one to the maximum number of tape units configured on your system.

blocksize is the tape record size in the range 500 to 16384 bytes. The default is 1024 bytes.

density is the tape density (bpi), which can be 800, 1600, 3200, or 6250. The default is 1600 bpi.

label specifies the type of label the Spooler writes to tape:

0 for no label (use of this type is not recommended);

1 for a Reality 50-byte label;

Normally, a label of type 0 is used. A label of type 1 is used to write print jobs to tape for reading on a system running pre-7.0 Reality.

Comments

Using SP-CREATE with this syntax creates a default Despooler definition item and a formqueue without needing to use the SPM utility.

The software concatenates device-type and device-number to generate a Despooler name. For example:

At database update the software gives you the option to create Despooler definitions PTR1 to PTR99 and TAPE1 to TAPE99.