http://tldp.org/LDP/lpg/node11.html
examples using C -- Artificial Intelligence is no match for Natural Stupidity - Unknown On Tue, Aug 29, 2017 at 12:51 PM, scott Ford <idfli...@gmail.com> wrote: > So my question is where do I find a example of a pipe call and retrieve > ...this would help me > > > > On Tue, Aug 29, 2017 at 1:45 PM scott Ford <idfli...@gmail.com> wrote: > > > Gil, > > Can u talk off list ? > > > > On Tue, Aug 29, 2017 at 12:57 PM Paul Gilmartin < > > 0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > > > >> On 2017-08-29, at 10:37, scott Ford wrote: > >> > > >> > I was reading through IBM Unix services manuals and have a pipe > >> question.. > >> > If I as a STC ..issue a Unix command after a PIPE was established and > >> > retrieve output of the > >> > command, i *think* the answer is "yes". If so in a Single Thread STC > >> would > >> > the STC wait for the response ?? or does it depend on your code..I am > >> > dealing with LE Cobol and want to utilize the nice features of Unix > >> which i > >> > am somewhat familiar. > >> > > >> Many questions: > >> > >> How are you creating the pipe? Named or unnamed? > >> > >> How are you issuing the UNIX command? > >> > >> Is it a shell command? > >> > >> Did you put it in background with the '&' operator? > >> > >> Are you reading the output with a nonblocking read? > >> > >> Are you depending on the system buffer (131kB, I believe) > >> to circumvent deadlock? > >> > >> Are you using select() to be notified of available output? > >> > >> Did you close the input end of the pipe in the parent process > >> space in order to be able to detect end of information? > >> > >> Are you using waitpid() on the child? > >> > >> -- gil > >> > >> ---------------------------------------------------------------------- > >> For IBM-MAIN subscribe / signoff / archive access instructions, > >> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > >> > > -- > > Scott Ford > > IDMWORKS > > z/OS Development > > > -- > Scott Ford > IDMWORKS > z/OS Development > > ---------------------------------------------------------------------- > 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