How to write ACF2 rules to validate files in CICS
search cancel

How to write ACF2 rules to validate files in CICS

book

Article ID: 25712

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC

Issue/Introduction

How to write ACF2 rules to validate files in CICS

Environment

Release:
Component: ACF2MS

Resolution

Use the resource type based on the CICSKEY parameter.

The $KEY value needs to be the DDNAME that was specified when the file/dataset was created by CICS Resource definition (RDO) . The define panel in the CEDA CICS transaction specifies DSNAME and FILE name. The DSNAME is the dataset name and FILE is the DDNAME referenced in the CICS JCL.

For example, in the CEDA transaction, if creating a file definition for DDNAME PAYTEST which is DATASET TEST.MASTER.FILE;

FILE(PAYTEST) DSNAME(TEST.MASTER.FILE)

The $KEY of the ACF2 resource rule would look like:

$KEY(PAYTEST) TYPE(CFC)