Specifying data input

The input data sets to be processed by CICS PA reports and extracts must be specified in your JCL. To do this:
  1. Nominate the data sets in the SMFINnnn DD statements of your JCL, where nnn is a sequential number 001-999 to uniquely identify the data sets. (CICS PA will accept other DDnames of your choosing.)
  2. Code the command CICSPA INput(ddname) where ddname is SMFINnnn corresponding to the data files to be processed.
Figure 1 shows an example of the JCL.
Figure 1. Sample JCL Specifying Data Input
//CICSPA JOB (Job Accounting)
//CPA      EXEC PGM=CPAMAIN
//SYSPRINT DD  SYSOUT=*
//* SMF Files for APPLID=APPL1
//SMFIN001 DD  DSN=CICS.APPL1.FILE1,DISP=SHR
//         DD  DSN=CICS.APPL1.FILE2,DISP=SHR,UNIT=AFF=SMFIN001
//* SMF Files for APPLID=APPL2
//SMFIN002 DD  DSN=CICS.APPL2.FILE1,DISP=SHR,UNIT=AFF=SMFIN001
//         DD  DSN=CICS.APPL2.FILE2,DISP=SHR,UNIT=AFF=SMFIN001
 . . .
//SYSIN    DD  *
     CICSPA IN(SMFIN001),APPLID(APPL1),
            LIST(OUTPUT(LIST0001)),
            SUMMARY(OUTPUT(SUMM0001))
     CICSPA IN(SMFIN002),APPLID(APPL2),
            LIST(OUTPUT(LIST0002)),
            SUMMARY(OUTPUT(SUMM0002))
/*
//