>>Do you know if DFSORT supports allocating SORTIN and SORTOUT to UNIX pipes (FIFOs)? John,
Yes you can. Check this example http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ice1ca60/11.5.11 Thanks, Kolusu DFSORT Development IBM Corporation IBM Mainframe Discussion List <IBM-MAIN@listserv.ua.edu> wrote on 06/06/2014 09:54:44 AM: > From: John McKown <john.archie.mck...@gmail.com> > To: IBM-MAIN@listserv.ua.edu, > Date: 06/06/2014 09:55 AM > Subject: Re: Any need? DFSORT interface to C language > Sent by: IBM Mainframe Discussion List <IBM-MAIN@listserv.ua.edu> > > On Fri, Jun 6, 2014 at 11:25 AM, Sri h Kolusu <skol...@us.ibm.com> wrote: > > > John, > > > > Not exactly a SORT Verb interface, but you CAN call both DFSORT and > > ICETOOL from C and C++ programs. The key is to use the system() function > > in the C/C++ program and supply the needed JCL and control statements when > > you execute the program. Check out the smart DFSORT Trick "C/C++ calls to > > DFSORT and ICETOOL" at > > > > http://www.ibm.com/support/docview.wss?uid=isg3T7000094 > > > > Thanks, > > > > Kolusu > > DFSORT Development > > IBM Corporation > > > > Thanks for that reference! > > Do you know if DFSORT supports allocating SORTIN and SORTOUT to UNIX pipes > (FIFOs)? The book mentions UNIX files, but not "named pipes" (FIFOs). That > might be an interesting way to emulate the INPUT and OUTPUT procedure > facility that the COBOL SORT verb has, rather than trying to implement the > equivalent of the E15 and E35 exit points in C. > > -- > There is nothing more pleasant than traveling and meeting new people! > Genghis Khan > > Maranatha! <>< > John McKown > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN