VISTA Plus for MPE User's Guide

Chapter 7
7-2
Preparing for the Demonstration
To automate the collection of reports in your system, a batch job is provided that will collect
existing reports in your spooler and store them in a VISTA folder file. The batch job name is
STARTCAP.JOB.NETBASE. When the reports are captured, they are compressed and stored in a
VISTA folder file named REPORTS.ARCHIVE.NETBASE. Any new reports that are generated
while this job is running will also be stored in this folder file; this occurs every 120 seconds.
Some notes about the STARTCAP.JOB.NETBASE:
It does not VSAVE any standard lists.
It will not VSAVE any files with less than 2 records.
It only VSAVEs any report once.
The VSAVEd reports are stored to the REPORTS.ARCHIVE.NETBASE folder. They will not
be printed and are not modified in any way.
Note. If your site has deferred spool files which should not be captured, you can
modify the VSAVE command so that these files will not be selected.
The following example shows the STARTCAP job stream:
!JOB STARTCAP,MGR.NETBASE/quest;OUTCLASS=LP,1
!comment ********************************************************
!comment * This job will wake every 120 seconds and capture all *
!comment * spoolfiles except $stdlist to a vista folder called *
!comment * REPORTS.ARCHIVE.NETBASE . This job uses the nbspool *
!comment * procnum 8 . If you have a job that uses procnum 8 *
!comment * you will have to modify the XEQ line to use a *
!comment * different procnum . If you do not wish to save all *
!comment * your reports to this folder you can modify the VSAVE *
!comment * line to fit your needs . Stream STOPCAP.JOB.NETBASE *
!comment * to stop the capture process . *
!comment ********************************************************
!comment
!comment * Initializing nbsponce file *
!
!COMMENT *** Rebuild the NBSPONCE file
!
!SETJCW CIERROR 0
!CONTINUE
!LISTF NBSPONCE.DATA;$NULL
!IF CIERROR = 0 THEN
! CONTINUE