
Chapter 8 633
Command Definitions SP-Z
SPOOLF
FILE EPOCLONG;DEV=EPOC;ENV=LPLONG.ENV.SYS
PRINT MYFILE,*EPOCLONG
You may also select files based on a null string by entering FILEDES= "" or FILEDES=
''. You must include such a construct if you specifically want to select on such an
attribute. Note that "" is not the same as " ". The blank is significant.
• parm ::= SPOOLID: Spoolfile identifier number in the format #Onnn or #Innn.
The # is optional; but if it is used, an O or I must also be used. If it is not used, the O is
also optional for output spool files; that is 123 is the same as #O123. The valid range of
SPOOLIDs is 1 ≤ nnn ≤ 9,999,999. (The commas are for clarity; do not enter any commas
in the actual equation.)
• parm ::= PAGES: Number of pages in spool file (if known). Use a positive integer.
The PAGES attribute does not apply to input spool files; therefore, any logical condition
involving the attribute always returns FALSE when tested against an input spool file.
• parm ::= FORMID: Form name. You may use wildcards. (The formid is an ASCII string up
to 8 characters, the first of which must be a letter.)
You may also select files based on a null string by entering FILEDES= "" or FILEDES=
''. You must include such a construct if you specifically want to select on such an
attribute. Note that "" is not the same as " ". The blank is significant. Also, this
attribute does not apply to input spool files; therefore, any logical condition involving the
attribute always returns FALSE when tested against an input spool file.
• parm ::= STATE: READY, ACTIVE, OPEN, CREATE, PRINT, PROBLM, DELPND,
SPSAVE, DEFER, XFER.
• parm ::= JOBNAME: Job or session name under which the spool file was created. The job
name can consist of up to 8 alphanumeric characters, the first of which must be a letter.
For a job input spool file, the JOBNAME shown is allocated to that job, not the job or
session that streamed it.
You may use wildcards.
• parm ::= DISP: Disposition can be SPSAVE or PURGE. See the NOTE accompanying the
PAGES description.
• parm ::=COPIES: Number of copies. Minimum is 1, maximum is 65,535. (The comma in
65,535 is for clarity; do not enter commas in the actual equation.)
• parm ::= PRI: Output priority. Minimum is 0, maximum is 14. See the NOTE
accompanying the PAGES description.
• parm ::= JOBNUM: Job or session number under which the spool file was created, for
example: #S257, #J329, or Jn (the "#" is optional). 1 ≤ n ≤ 16,383. (The comma is for
clarity; do not enter any commas in the actual equation.)
For a job input spool file, the JOBNUM shown is allocated to the job, not the job or session
that streamed it.