NBSpool for MPE Reference Guide

Chapter 3
3-12
ARCHIVE Examples
In the following example, every spool file is archived and then purged.
O> ARCHIVE @;FILE=A111188.SPOOLARC;PURGE
10 Spool files Qualify
DFID FILENAME JOB USER NAME SECTORS STATUS
---------------------------------------------------------------
#O6 LIST #S463 MGR.NETBASE 44 Archived
#O7 BIGLIST #S497 MGR.NETBASE 1960 Archived
#O8 PRINTER #S415 MGR.NETBASE 36 Archived
#O9 PORT #S222 MGR.NETBASE 40 Archived
#O275 OFFLINE #S35 MGR.NETBASE 76 Archived
#O278 OFFLINE #S35 MGR.NETBASE 32 Archived
#O287 OFFLINE #S35 MGR.NETBASE 32 Archived
#O290 OFFLINE #S35 MGR.NETBASE 32 Archived
#O293 OFFLINE #S35 MGR.NETBASE 32 Archived
#O295 $STDLIST #J132 MGR.NETBASE 36 Archived
Purging...
Archived 10 spool files for 2400 sectors
In the following example, all
$STDLIST
s are archived to the file
STDLST.SPOOLARC
.
O> ARCHIVE $;FILE=STDLST.SPOOLARC
In the following example, all spool files created by jobs except the
$STDLIST
s are archived, and then
the
OUTPRI
s are changed to
13
.
O> ARCHIVE #J,~$;FILE=ARCEM;NEWPRI=13
In the following example, an archive with room for
400
spool files and a total size of
10000
sectors
is created, and all
$STDLIST
s are placed in the new archive.
O> ARC $;FILE=STORE;LIMIT=400,10000
In the following example, all spool files with an outpri of 1 are appended to the archive
SQUISH
,
and then their
OUTPRI
s are changed to
2
.
O> ARC %1;FILE=SQUISH;APPEND;NEWPRI=2