Spooled files can also be copied into and returned formatted from database files.
http://server:port/splf/jobname/user/jobnbr/splfname
or
http://server:port/splf/jobname/user/splfname
or
http://server:port/splf/jobname/jobnbr/splfname
where,
WRKJOB JOB(jobname) command can be used
to identify all the jobs in the system with the specified jobname.
WRKJOB JOB(jobname) command can be used
to identify all the jobs in the system with the specified jobname.
The following order is used to determine the content type of data stored in a spooled file:
*READ authority to the queue on which the spooled file resides
and the queue is specified as DSPDTA(*YES)
*SPLCTL authority
*JOBCTL authority and the queue on which the spooled file
resides is specified as OPRCTL(*YES) and DSPDTA(*YES or *NO)
AUTCHK(*OWNER) and DSPDTA(*YES or *NO)
AUTCHK(*DTAAUT) and DSPDTA(*YES or *NO)
If the SPLNBR keyword is not supplied then the server defaults to SPLNBR(*LAST).
Samples:
If the URL indicates the spooled file contains HTML data then either option can be specified and the data is returned as is from the spooled file. Non-text content types will return the spooled file data with the printer control characters.
If the SPLF keyword is not supplied then the server defaults to SPLF(0).
Samples:
The first part of the header keyword value indicates the library and source physical file that contains the member containing the header information. The slash separating the library and src-pf should be escaped (e.g., / = %2F). The library specified must be accessible through the configured include libraries. The second part specifies which member contains the header data. The data contained in the member is assumed to be plain text unless one of the following two methods is used to indicate the member contains HTML data:
.HTML is appended to the member name
Samples:
The first part of the footer keyword value indicates the library and source physical file that contains the member containing the footer information. The slash separating the library and src-pf should be escaped (e.g., / = %2F). The library specified must be accessible through the configured include libraries. The second part specifies which member contains the footer data. The data contained in the member is assumed to be plain text unless one of the following two methods is used to indicate the member contains HTML data:
.HTML is appended to the member name
The footer should not include either the <HTML> or
<BODY> tag.
Samples:
The format of the PAGES keyword value is the starting page number followed by a hyphen and then the ending page number. If the starting page number is greater then the total number of spooled file pages then no spooled file data is returned. The ending page number may be set to the special value *LAST. The starting and ending page values are inclusive.
If PAGES is not specified then all of the pages will be returned.
Samples:
Samples:
DFNCHR or
TRNSPY keywords the data is replaced with blanks.
http://system/splf/dsp01/user/123456/splf
http://system/splf/dsp01/user/splf
http://system/splf/dsp01/123456/splf
http://system/splf/dsp01/user/123456/splf?SPLNBR(3)
http://system/splf/prtdoc/user/123456/office?SPLF(1)
http://system/splf/prtdoc/user/123456/report.html