Dummy Program (MFJBR14)

MFJBR14 can be used, for example, in a job step to delete data sets at the appropriate time. You can also use it to replace a program that does not have a version on the local machine, so that you can still test data set allocation and disposition for the job step.

Unexpired datasets are not removed during end of step disposition processing unless DISP=NEW or DISP=MOD and the dataset is NEW. The dataset status is shown as UNEXPIRED in the JESYSMSG. For example:

MFI01.MFITEST.RETPD DEL2
…\DATA\MFI01.MFITEST.RETPD.DAT UNEXPIRED

This can have an effect on the often-used construct of DISP=(MOD,DELETE,DELETE) with PGM=IEFBR14 to remove old datasets. In this case, the dataset is not removed if it already exists and has not reached its expiration date. Use IDCAMS DELETE with PURGE in place of this method to remove old datasets.