Incorrect. You use a pipe-fitting on the JCL DD, something like "bpread | sysout q | > dd=out2 | > dd=out3" for as many outputs as you like.
I'm iffy on the exact syntax for specifying the stream separator, but the fanout stage can do the same: "(end ?) bpread | fo: fanout | sysout q ? fo: | dd=out2 ? fo: | dd=out3" If you wanted to remove ASA page feeds from, say the last output. "(end ?) bpread | fo: fanout | sysout q ? fo: | > dd=out2 ? fo: | change 1 /1/ / | > dd=out3" In other words, you have all of CMS/TSO Pipelines available to your, except full-screen I/O. Use PipeThink. You'll never go back. OREXXMan JCL is the buggy whip of 21st century computing. Stabilize it. Put Pipelines in the z/OS base. Would you rather process data in move mode or locate mode? IBM has been looking for an HLL for program products; REXX is that language. On Wed, Sep 23, 2020 at 1:23 PM Martin Packer <[email protected]> wrote: > No, that would have to be another job, also specifying eg SUBSYS=PIPE. And > scheduled to run alongside the sort. > > Cheers, Martin > > Martin Packer > > Systems Investigator & Performance Troubleshooter, IBM > > +44-7802-245-584 > > email: [email protected] > > Twitter / Facebook IDs: MartinPacker > > Blog: https://mainframeperformancetopics.com > > Mainframe, Performance, Topics Podcast Series (With Marna Walle): > https://anchor.fm/marna-walle > > Youtube channel: https://www.youtube.com/channel/UCu_65HaYgksbF6Q8SQ4oOvA > > > > From: Paul Gilmartin <[email protected]> > To: [email protected] > Date: 23/09/2020 17:18 > Subject: [EXTERNAL] Re: SORT question: How to both remove records > from a file AND write removed records to a 2nd output? > Sent by: IBM Mainframe Discussion List <[email protected]> > > > > On Wed, 23 Sep 2020 16:01:08 +0100, Martin Packer wrote: > > >Right. That example used BatchPipes/MVS pipes - but it's not essential to > >the use of OUTFIL SPLIT. The reason it used pipes was to enable cloning > to > >balance a pipe. > > > OK. I looked at your example (z/OS 2.1; not too misty). But what > mystifies > me is where to code the Pipeline specification. Suppose I want to, for > example to direct OUT1 (or an added OUT3) to a stage such as > DIGEST MD5. Could I just code: > ...,SUBSYS='PIPE,DIGEST MD5',... > ??? if not, how? And can I further direct that digest to SYSOUT? > > >-----Original Message----- > >From: IBM Martin Packer > >Sent: Wednesday, September 23, 2020 4:31 AM > > ... > >Something also from the mists of time, by no coincidence, is this: > > > > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.icea100/ice2ca_Example_11._Sort_with_Pipes_and_OUTFIL_SPLIT.htm > > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > > > > > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
