The following section describes the JCL and control statements needed to run the BILLING functions against VSAM clusters. It is equivalent to the SCAN and ACCUMULATION process used for non-VSAM data sets. This is the only portion of the billing function that is unique to VSAM cluster billing.
Keep in mind that the EXTEND procedure will process both the VSAM and non-VSAM records.
//jobname JOB (acct,info),etc. //DAILY EXEC VSAMBILL //DMS.SYSIN DD * <— NOTE use of STEP NAME * Specify the following DSCL commands for VSAM billing. * PASSWORD MASTER=,CATALOG= (optional) SCAN CATALOGS=/ (required)
EXCLUDE CRITERIA=(DSORG,NE,VSAM) (required) SELECT CRITERIA=,DSN=,VOL=,TABLE= (optional) EXCLUDE CRITERIA=,DSN=,VOL=,TABLE= (optional)
BILLING (required)
//ACCUM.SYSIN DD * <— NOTE use of STEP NAME * ACCUMULATE COMMAND as described for non-VSAM *
A sample job to accumulate VSAM billing records is as follows:
//jobname JOB (acct,info),etc. //DAILY EXEC VSAMBILL //DMS.SYSIN DD * SCAN CATALOGS=/
EXCLUDE CRITERIA=(DSORG,NE,VSAM)
BILLING
//ACCUM.SYSIN DD *
ACCUMULATE BMONTH,MODE=IMMEDIATE,BYPASSNEW
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|