Thanks to John for the reference. That pretty much answered my question.

Richard said:
>I am  curious to see what you read in the JCL reference.

I was looking at 4.1.1.2 in the JCL User's Guide where it says, "if the same 
temporary data set name appears more than once in a job, the system might 
create duplicate data set names. This would be a JCL error. . ." Which is 
where I stopped reading. The rest of the sentence reads, "Unless the data set 
is passed from one job step to another." It does not go on to further explain 
what happens when the duplicate name is passed.

Unfortunately this did not explain the behavior as well as the section on 
passed data sets. 

Also unfortunately, JCLCHECK gave a misleading message, "CAY6218W TEMP 
DSN "&T1" WAS SPECIFIED AS NEW TWICE. IT WILL BE REUSED". 

Ah well. Lesson learned. JCL changed. All water under the bridge. 

Thanks for the responses.

----------------------------------------------------------------------
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

Reply via email to