Vernooij, CP wrote: 

>You create 2 TMPFILE files and then you say: give me TMPFILE and you
should not be surprised the system does not pick the one you intended.
>Give them different names.

Thanks. The first TMPFILE was chosen. (Where is that fact actually 
documented? Anybody? )

Bernard Coeytaux wrote:
>Can somebody explain why the temporary dataset is empty in the last ST3 
step? I would like to obtain the record written is ST2, not the null from the 
ST1.

Have ST3.SORTIN refer to ST2.SORTOUT with a temp DSN name unique in the 
whole JCL. Or you can refer to DSN=*.ST2.SORTOUT. 

Look in JCL Ref for more info about backward reference.

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to