FORTRAN Reference Manual

Utility Routines
FORTRAN Reference Manual528615-001
15-14
FORTRAN_SPOOL_OPEN_ Routine
characters, only the first 16 characters are passed to the spooler. If report-name
is less than 16 characters, the FORTRAN run-time library adds blanks on the right
side of report-name when it calls SPOOLSTART. The spooler accepts any
combination of letters, digits, and blanks.
number-of-copies
is an integer expression whose value specifies the number of copies to print.
number-of-copies must be in the range 1 through 32,767. The default is 1.
page-size
is an integer expression whose value specifies the number of lines per page the
HP NonStop PERUSE utility uses for its PAGE and LIST commands. page-size
must be in the range 1 through 32,767. The default is 60 lines.
flags
is an integer expression whose value specifies certain attributes for the spooler
job. The value of flags is the sum of the values associated with the defined
options, which are:
HOLD 0 = off, 64 = on
HOLDAFTER 0 = off, 32 = on
PRIORITY 0, 1, 2, 3, 4, 5, 6, or 7
The default is 4 (HOLD=off, HOLDAFTER=off, PRIORITY=4).
owner
is a character expression whose value specifies the owner of the spooler job in the
format:
OWNER ( 1: 8) group name
OWNER ( 9: 16) user name
The value of the group name is a file-security system group name, and the user
name is a file-security system user name. Each name must be eight characters
long, with trailing blanks inserted if a name is shorter than eight characters. The
item does not include a period between the names. If you specify an invalid
combination of names for owner, error code 102 is returned in error-return. If
owner is omitted, the spooler uses the owner ID of the executing process.
max-lines
is an integer expression whose value specifies the maximum number of lines
allowed for the spooler job. max-lines must be in the range 1 through 65,534. If
max-lines is zero or omitted, the spooler does not impose a limit on the number
of lines it writes.