NBSpool for MPE Reference Guide
Chapter 4
4-34
WHILE Parameters
Parameter Description
subset
This parameter specifies the subset of spool files to be passed to the following
commands. Turn to Chapter 2 for information on working with subsets.
filename
This parameter specifies the name of an
ASCII
file containing one or more
NBSpool commands.
SHOW
This parameter displays each command as they are executed. By default, only
commands that fail are displayed.
WHILE Examples
To store all
$STDLIST
s to a sequence of disk files, enter:
I> :SETJCW COUNT 0
I> WHILE $STDLIST
W> T !CURRENT
W> :SETJCW COUNT COUNT+1
W> K DISC!COUNT.DATA
W> END
Note. The
COUNT
JCW can be substituted anywhere in a command within NBSpool. In
this example, the currently texted file will be kept to a disc file called
DISK
nnn
.DATA
,
where
nnn
is the number of spool files qualifying.