On Wed, 23 Oct 2019 22:02:03 +0300, ITschak Mugzach wrote: >For example, you have a ddname concatenating five datasets. now you need to >sort the files, so you need to allocate them to SORTIN. Can do, but piping >is much better. > Why is your DDNAME not SORTIN to start with? (I know there are reasonable answers, but I'm curious about yours, even if it's an academic example.)
(It appears that DFSORT supports alternate DDNAMEs, but not by the Utilities convention. And it doesn't satisfy your general requirement.) With some kludging with Rexx BPXWDYN, SYSCALL pipe, ATTCHMVS, ... much of this could be done. Perhaps IEBGENER with your problem DDNAME as an alternate for SYSUT1; SYSUT2 as input to a POSIX pipe, SORTIN allocated to the output of that pipe. Dammit! Rexx ATTACHMVS doesn't allow concurrency! Why! Why! Why! -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
