z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using the CANCEL Command

z/OS DFSMS Access Method Services Commands
SC23-6846-01

In this example, if the maximum condition code is not 0, the maximum condition code is set to 12 and the step ends with CANCEL.
IF MAXCC=0
  THEN DO
    LISTCAT  CATALOG (AMASTCAT/MST27) ENT (MN01.B005)
    PRINT INFILE (AJK006)
    END
  ELSE DO
    SET MAXCC=12
    CANCEL
    END

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014