On Fri, Jun 6, 2014 at 11:25 AM, Sri h Kolusu <[email protected]> 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 [email protected] with the message: INFO IBM-MAIN

Reply via email to