Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
generally this is made by specifying the DISP parameter.
if your dataset exists indeed, well code DISP=(OLD,DELETE)
if you are not sure if the dataset exists, then code DISP=(MOD,DELETE),
this means: if exists then it is like DISP=(OLD,DELETE),
if not then MOD is like NEW, therefore you should give at leat
a minimum space amount SPACE=(TRK,1)
note: IEFBR14 gives always RC=0 in register 14,
no matter how the step ends!