On Fri, 6 Jun 2014 11:54:44 -0500, John McKown wrote:
>
>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.
>
I just tried it successfully with SORTIN allocated to a POSIX pipe (not a
BatchPipe).  The spirit of UNIX, suggested by the first three letters of its
name, is that "everything is a file", and all files are (mostly) the same.
The hazard might arise if DFSORT attempted to reposition its SORTIN,
not possible with special files.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to