Using the SET command and MAXCC Parameter
In this example, if the maximum condition code is 0, the program
lists an entry from a catalog and prints a data set. If the maximum
condition code is not 0, set the maximum condition code to 8.
IF MAXCC=0
THEN DO
LISTCAT CATALOG (AMASTCAT/MST27) ENT (MN01.B005)
PRINT INFILE (AJK006)
END
ELSE ...
SET MAXCC=8