I *think* that if a job fails without actually "executing" at all, then none of the JCL DS creation and/or cataloging happens (as opposed to an ABEND or other execution-time failure). This is just my impression. I've never seen it documented.
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Paul Gilmartin Sent: Thursday, September 15, 2005 4:15 PM To: [email protected] Subject: Order of allocations within a job step Lately, I tried a job with: // EXEC //DD1 DD DISP=(MOD,CATLG),... //DD2 DD DISP=SHR,... The job failed with JCL error because DD2 does not exist. DD1 was never created. Clever, actually; I had expected DD statements to be processed in order of appearance; I'm glad not to have the side effect of a failed jobstep. But where is it documented in what order allocations are performed? JCL RM? Pretty thick book and lots of hits on ---------------------------------------------------------------------- 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

