catsplf - Concatenate and print spool files
Synopsis
catsplf -j qualified-job [-aen] splfname splfnum
catsplf -p pid [-aen] splfname splfnum
Description
The catsplf utility reads the specified spool
file and writes it to standard output.
In the first synopsis form, catsplf finds the spool files associated
with the job specified by qualified-job.
In the second synopsis form, catsplf finds the spool files associated
with the job specified by pid.
Options
- -a
- Print all of the spool files associated with the specified job.
- -e
- Number the output lines starting at 1 and display a dollar sign ($) at the
end of each line.
- -j qualified-job
- Find the spool files associated with the job identified by qualified-job,
where qualified-job is a string in the form number/user/name.
The number is a six-digit decimal number, user is the user profile under which
the job was started, and name is the name of job.
- -n
- Number the output lines starting at 1.
- -p pid
- Find the spool files associated with the job identified by pid,
where pid is the decimal process ID of the job.
Operands
The splfname operand specifies the name of the spool file and the
splfnum operand specifies the number of the spool file. Both operands
are required to uniquely identify a spool file.
Exit Status
- 0 when successful
- >0 when unsuccessful
Related information
Examples
- Print the spool file named QPRINT and number 1 for a job using a
qualified job name.
catsplf -j 386687/SHELLTST/QZSHCHLD QPRINT 1
- Print the spool file named QPRINT and number 1 for a job using a pid.
catsplf -p 942 QPRINT 1
- Print all of the spool files for a job.
catsplf -a -j 386687/SHELLTST/QZSHCHLD