Re: JCL MISTERY (for me)

2010-02-11 Thread DanD
What's the purpose of ST1? As it only creates a NULL SORTOUT file, and causes you confusion, why include it? DanD -- From: "Clement Clarke" Subject: Re: JCL MISTERY (for me) I'd like to suggest that you change the SORTOUT

Re: JCL MISTERY (for me)

2010-02-10 Thread Clement Clarke
I'd like to suggest that you change the SORTOUT in ST2 to Disp=(old,pass), or Mod,Pass. It depends if you want the data added to the first output file, or replaced. In fact, because the first step won't create any records, it won't make any difference. Clem Clarke Author: Jol, the JCL Repl

Re: JCL MISTERY (for me)

2010-02-10 Thread Veilleux, Jon L
to:ibm-m...@bama.ua.edu] On Behalf Of Vernooij, CP - SPLXM Sent: Wednesday, February 10, 2010 3:07 AM To: IBM-MAIN@bama.ua.edu Subject: Re: JCL MISTERY (for me) "gnalu" wrote in message news: ... > Can somebody explain why the temporary dataset is empty in the last > ST3 step ? >

Re: JCL MISTERY (for me)

2010-02-10 Thread Elardus Engelbrecht
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 Coeytau

Re: JCL MISTERY (for me)

2010-02-10 Thread Vernooij, CP - SPLXM
"gnalu" wrote in message news: ... > 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. > > //ST1 EXEC PGM=SORT,PARM='NULLOUT=RC4' > //SYSOUT DD SYSOUT=* > //SORTIN DD * > //SORTOUT