FORTRAN Reference Manual

Utility Routines
FORTRAN Reference Manual528615-001
15-17
FORTRANSPOOLSTART Routine
level-3-buffer
is an INTEGER*2 array that contains at least 512 elements. This array is the buffer
in which to store spool file records before sending them to the spooler. It must be
allocated statically (in a common block or named in a DATA or SAVE statement)
and must not be allocated in the extended data segment.
location
is a character expression whose value specifies the location for the spooler job.
location overrides the location components of the file name you specify in an
OPEN statement. location requires 16 characters. If location is more than 16
characters, only the first 16 characters are passed to the spooler. If location is
less than 16 characters, the FORTRAN run-time library adds blanks on the right
side of location when it calls SPOOLSTART. The spooler expects a two-part
location name in the following format:
LOCATION ( 1: 1) must be "#"
LOCATION ( 2: 8) group name
LOCATION ( 9: 16) destination name
The group and destination names can by any combination of letters, digits, and
blanks.
form-name
is a character expression whose value specifies the form name for the spooler job.
form-name requires 16 characters. If form-name is more than 16 characters,
only the first 16 characters are passed to the spooler. If form-name is less than 16
characters, the FORTRAN run-time library adds blanks on the right side of location
when it calls SPOOLSTART. The spooler accepts any combination of letters, digits,
and blanks.
report-name
is a character expression whose value specifies the report name for the spooler
job. report-name requires 16 characters. If report-name is more than 16
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.