MPE/iX Commands Reference Manual (32650-90877)

562 Chapter13
Command List XI
Commands SHOWLOG thru STORE
Only spool files whose attributes satisfy all filter requirements are listed.
For example, you use the following command to delete all the output spool
files to which you have access and that have less than 100 pages from
user.acct:
SPOOLF O@;DELETE;SELEQ=[(OWNER=user.acct)AND(PAGES<100)]
Begin and end selection equations with square brackets, as shown in the
preceding example.
The following command prints the output spool files to which you have
access with a priority greater than 2 and that were created before
September 30, 1994.
SPOOLF O@;PRINT;SELEQ=[(PRI>2)AND(DATE<09/30/89)]
Selection equations have the following format. In this display, when the
expression is expanded, interpret the symbol ::= as "can be replaced by."
select-eq
::=[
equation
]
equation
::={
parm
{ >>=<<=<>=}
value
(
equation
) NOT
equation equation
{ ANDOR}
equation
}
In a selection equation, the logical operator AND takes precedence over the logical operator
OR. For example, suppose you enter this command:
SPOOLF O@;PRINT;SELEQ=[FILEDES=REPT &
OR OWNER=BOB.ACCTG AND PRI>8]
In this example, [FILEDES=REPT OR OWNER=BOB.ACCTG AND PRI>8] is the same as
[FILEDES=REPT OR (OWNER=BOB.ACCTG AND PRI>8)].
value
::= Appropriate values per data type. For example, STATE=READY or PRI>6.
parm
::= The parameter (
parm
) may be one of several attributes of the spool file to be used
as filters. The
parm
choices are described below.
parm
::= DEV: LDEV number, device name, or device class name. You may use wildcards
for device name and device class name.
parm
::= FILEDES: Formal or actual file designator for the spool file. You may use
wildcards.
For example, if you enter the file equation below and print to it, EPOCLONG will be the
spool file's FILEDES.
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 #O
nnn
or #I
nnn
.
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