VISTA Plus for MPE User's Guide

VISTA Plus Demonstration
7-3
! RUN NBSPOOL.PUB,RESETONCE
! IF JCW >= FATAL THEN
! TELLOP ***************************************
! TELLOP * FATAL ERROR ADJUSTING nbsponce FILE *
! TELLOP ***************************************
! ELSE
! TELLOP *** NBSPONCE file successfully adjusted
! SET STDLIST=DELETE
! ENDIF
!ELSE
! SETJCW CIERROR 0
! CONTINUE
! BUILD NBSPONCE.DATA;REC=1;DISC=9999999
! CONTINUE
! ALTSEC NBSPONCE.DATA;(R,W,L:ANY)
! IF CIERROR = 0 THEN
! TELLOP *** NBSPONCE file sucessfully built
! SET STDLIST=DELETE
! ELSE
! TELLOP *********************************
! TELLOP * UNABLE TO BUILD NBSPONCE FILE *
! TELLOP * SEE THE $STDLIST TO GET INFO. *
! TELLOP *********************************
! ENDIF
!ENDIF
!comment
!comment * Starting capture process *
!comment
!run nbspool.pub.netbase
xeq ;wait=120;procnum=8
vsave @,~$,~rec=1-2,once=y;file=reports.archive.netbase;release;&
append;limit=999,100000;desc="Sample reports for vista demo"
end
exit
!eoj
To stop the STARTCAP job and terminate the collection of reports from the spooler, simply stream
the batch job STOPCAP.JOB.NETBASE. The example below shows the STOPCAP job stream:
!job stopcap,mgr.netbase/quest;outclass=lp,1
!comment ** stopping capture process
!run nbspool.pub.netbase
xeqstop 8
exit
!eoj