On Wed, 7 Apr 2010 06:50:55 -0700, esmie moo wrote: > >I have a problem with a batch job which keeps failing on a JCL error. The >first step deletes the dsn and the second step recreates the dsn using >PGM=IDCAMS. Is there a way of having the job continue to execute STEP2 even >though it posts a jcl error (dsn not found) in STEP1. I looked at using >COND=EVEN but it doesn't work because the job did not abend to meet the >condition. > >Is there another way of going about having the job continue to STEP2 >eventhough STEP1 has a jcl error? > Use DISP=(MOD,DELETE),SPACE=(1,0),UNIT=SYSALLDA in STEP1 and no JCL error should occur. (Untested.)
-- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

