User`s guide

1.
Ensure that you have a GOPTIONS statement that includes a DEVICE= parameter, and set the DEVICE= parameter to
the same device driver that you selected above. (You do not need to specify the TARGETDEVICE= parameter.) For
example,
goptions device=hplj4si ;
2. Then specify settings by means of OUT xxxx parameters on the IT Service Vision reporting macros. For example, to
route the graphs to a printer/plotter, you would use these parameters on each of the reporting macros:
outmode=catalog
outloc=work.repts
where work.repts is a temporary catalog that is automatically deleted at the end of the batch job (because the SAS
WORK library is automatically deleted at the end of the batch job).
For instance, here is an example batch job that generates two graphics reports, one for mills and one for natural, and
sends them to the catalog and to the printer (using a site-specific print command, which is
nlp in this example):
%cpstart(mode=batch,
pdb=/nfs/ark/local/disk1/sasabc/pdb/unix,
access=readonly);
filename grafout pipe ’nlp’;
goptions cback=white
device=ps
gaccess=sasgastd
gsflen=80
gsfmode=replace
gsfname=grafout ;
GOPTIONS reset=title reset=footnote ;
TITLE1 "CPU and Disk Utilization across Days-Mills";
%CPPLOT2(PCSGLB,GLBCPTO,CPU Total,GLBDUT,Disk Utilization
,REDLVL=DAY
,PERIOD=ASIS
,BY= MACHINE
,WHERE=MACHINE = ’mills’
,outmode=catalog
,outloc=work.repts
,outname=plot);
GOPTIONS reset=title reset=footnote ;
TITLE1 "CPU and Disk Utilization across Days-Natural";
%CPPLOT2(PCSGLB,GLBCPTO,CPU Total,GLBDUT,Disk Utilization
,REDLVL=DAY
,PERIOD=ASIS
,BY= MACHINE
,WHERE=MACHINE = ’natural’
,outmode=catalog
,outloc=work.repts
,outname=plot);