Override compare criteria via concatenation
The Compare criteria dataset, DDxxCP, can be a concatenation of multiple data sets (Fixed LRECL=80) including in-stream DD * records. The Compare criteria parameters can therefore be split between the input data sets. The current order, syntax and rules that are in place for DDxxCP must be maintained and each parameter and keyword must only occur once.
Create and save DD01CP base options and Batch Compare JCL using File-AID/MVS online Compare. The following figure shows the contents of a sample DD01CP dataset.
Sample Compare Criteria in original DD01CP Dataset
Copy the parameters that need to be changed (highlighted in Sample JCL with Changed SYNC/KEY Parameters) into the JCL and then delete them from the DD01CP dataset.
Change the copied parameters as needed in the JCL.
The following figure shows a sample JCL with changed SYNC/KEY parameters.Sample JCL with Changed SYNC/KEY Parameters

The following figure shows the sample Compare Criteria as File-AID will execute it after the changed SYNC/KEY parameters were deleted from the Compare Criteria dataset and concatenated in the JCL.
File-AID Compare Criteria as executed after concatenation
