NBSpool for MPE Reference Guide
Chapter 3
3-26
DUP
The
DUP
command duplicates existing spool files. The new spool files may have their outpri, copies
and device specifications changed, but will otherwise be exact copies of the originals. This
command may be interrupted at any time by pressing
Ctrl+y
. If a spool file is being copied, the new
incomplete copy will be purged.
Note. The
DUP
command operates only on spool files in the
READY
state.
To denote the copies, the job/session number will be changed to include an apostrophe, as in
#S’1
.
The exception to this rule is when both the
NOPAGE
and
PURGE
parameters are specified, resulting
in a new spool file with the same characteristics as the original excepts all form feeds have been
removed.
If the
NEWTIME
parameter is specified, the duplicate spool files will have a creation date/time of the
current time. This allows you to order the spool files for printing on systems with the native mode
spooler, since the
NMS
prints in creation sequence within a priority.
The
INTERLEAVE
parameter allows you to print multiple copies of reports in whatever order you
desire. It takes the number of copies for the first spool file in the subset (or the value specified in
COPIES=
) and generates that many copies of each spool file in the subset. Each copy is timestamped
to cause them to print in the sequence specified by the
SORT
command.
For example, to print three copies of the
A
,
B
and
C
spool files one can use the
NM
spooler, which
will print them in the sequence shown below.
A A A B B B C C C
The
INTERLEAVE
parameter can be used to override this. To print the spool files in the
A B C A B C
A B C
order, type:
O> DUP A,B,C;INTERLEAVE;COPIES=3
If the
COPIES=
parameter is not specified, the first spool file in the subset determines the number of
copies to print. The number of copies set on all other spool files in the subset will be ignored.