Using IDCAMS IF/THEN/ELSE:
DELETE dsn.notexist
IF MAXCC GT 3 -
THEN SET MAXCC = 8
JCLCheck returns: CAY6079E DATA SET 'dsn.notexist' SPECIFIED AS OLD OR SHR, BUT CANNOT BE FOUND
CAY6564E 'MAXCC' CHANGED TO '8'
Need CAY6564 to be an informational message (CAY6564I), and not an error message.
CA JCLCheck release 12.0
Use runtime option NOSETPRP.
When runtime option CTL(IDCAMSIM) is used with NOSETPRP, message CAY6564 will always be an informational message: CAY6564I. (Note: SETPRP is the default option.)
Message CAY6564I is documented as follows: