CRE Programmer's Guide

CRE Service Functions
Common Run-Time Environment (CRE) Programmer’s Guide528146-004
6-28
CRE_Spool_Start_
location:location_bytes
if present, specifies the location for the spooler job and its length in bytes.
CRE_Spool_Start_ passes this parameter to the SPOOLSTART system
procedure’s location parameter. CRE_Spool_Start_ ensures that the string it
passes to SPOOLSTART is 16 bytes long by truncating or adding blank characters
to the string you specify.
form_name:form_bytes
if present, specifies the form name for the spooler job. CRE_Spool_Start_ passes
this parameter to the SPOOLSTART system procedure’s form-name parameter.
CRE_Spool_Start_ ensures that the string it passes to SPOOLSTART is 16 bytes
long by truncating or adding blank characters to the string you specify.
report_name:report_bytes
if present, specifies the report name for the spooler job. CRE_Spool_Start_ passes
this parameter to the SPOOLSTART system procedure’s report-name parameter.
CRE_Spool_Start_ ensures that the string it passes to SPOOLSTART is 16 bytes
long by truncating or adding blank characters to the string you specify.
number_of_copies
if present, specifies the number of copies to print. CRE_Spool_Start_ passes
number_of_copies to the num-of-copies SPOOLSTART parameter.
page_size
if present, specifies the number of lines per page to be used by the Peruse utility
for its PAGE and LIST commands. CRE_Spool_Start_ passes
page_size to the
page-size SPOOLSTART parameter.
flags
if present, specifies certain attributes for the spooler job. See the Spooler
Programmer’s Guide
for details. CRE_Spool_Start_ passes flags to the flags
SPOOLSTART parameter.
owner
if present, specifies the spooler job owner. CRE_Spool_Start_ passes owner to the
owner SPOOLSTART parameter.
max_lines
if present, specifies the maximum number of lines to allow for the spooler job.
CRE_Spool_Start_ passes
max_lines to the max-lines SPOOLSTART parameter.