> i want to free one of them (sortout) > and browse the file from the second dd. > ( At the moment i am alloc 2nd dd copy the first and free the first ) > ( I do not want a fixed file )
Weizman arbel, You can route the contents to an OUTFIL file and DFSORT will still write out the contents to SORTOUT dd. Here is an example. //STEP0100 EXEC PGM=SORT //SYSOUT DD SYSOUT=* //SORTIN DD * ABC //SORTOUT DD SYSOUT=* //OUT01 DD SYSOUT=* //SYSIN DD * OPTION COPY OUTFIL FNAMES=OUT01 /* Both SORTOUT and OUT01 will have ABC Thanks, Kolusu DFSORT Development IBM Corporation ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN