Can you please provide an example of how to establish a SARFSS procedure, to process AFP reports?
Release : 12.2
Component : CA View
An FSS collector is started up with the issuing of commands for the starting of a virtual printer.
Below is an example of a command set used to start a printer/SARFSS task:
/$P PRTnn
/$ADD FSSDEF(FSSPDF01),PROC=Proc_Nam,AUTOSTOP=YES
/$T FSSDEF(FSSPDF01),PROC=Proc_Nam,AUTOSTOP=YES
/$ADD PRTnn,MODE=FSS,FSS=FSSPDF01
/$TPRTnn,MODE=FSS,FSS=FSSPDF01
/$TPRTnn,CLASS=x,FORMS=FORM001,PRMODE=(PDFC)
/$TPRTnn,WS=(Q,PRM/F,R,W,LIM,UCS,FCB)
/$SPRTnn
In the above, note where there is "WS=(Q,PRM/F,...)"
Though there are many fields, in WS, that can be used in starting a virtual printer, it will only use the parameters that are to the left of the "/".
For the above, the printer will collect output based on CLASS (noted as Q) and PRMODE (PRM).
PRMODE=PDFC above means the collector will be used for PDF reports.
Generally, a SARFSS collector is used to collect text, AFP, or PDF reports.
Each one is set up differently, using parameter of:
. Text: TYPE=VIEW
. AFP: TYPE=ACIF
. PDF: TYPE=PDF
In the CA View 14.0 documentation, there is the following:
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/traditional-management/ca-view/14-0/install-and-upgrade-ca-view-and-related-components/install-features/install-the-fss-collector.html
The above poionts to the section on "Install the FSS Collector".
A sample SARFSS proc would contain something like:
//CBRMSFVC EXEC PGM=SARFSS,TIME=1440,REGION=2M
//STEPLIB DD DISP=SHR,DSN=CAI.CVDELOAD
//SYSUDUMP DD SYSOUT=A
//SARINDEX DD DISP=SHR,DSN=VIEW.SARINDEX
//PRT15 DD DISP=SHR,DSN=VIEW.PARMLIB(PRT15)
//SARLOG DD SYSOUT=A (OPTIONAL)
//SARACT DD DISP=SHR,DSN=VIEW.SARACT (OPTIONAL)
//SARXCTAB DD DISP=SHR,DSN=VIEW.SARXCTAB (OPTIONAL)