Using the LASTCC Parameter
If the last condition code is 0, the program prints lists a catalog
and prints a data set. If the last condition code is greater than
0, the catalog is listed before and after a VERIFY command.
IF LASTCC=0
THEN DO
LISTCAT
PRINT INFILE (AJK006)
END
ELSE DO
LISTCAT ENTRY (AJK006) ALL
VERIFY FILE (AJKJCL6)
LISTCAT ENTRY (AJK006) ALL
END