Don't assume that everything with a BPX name is Unix. In this case, it was written as a service for Unix users but is widely used outside of Unix. OTOH, if you use it to allocate a path then an OPEN will dub you.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Steve Thompson <[email protected]> Sent: Monday, April 13, 2020 11:31 AM To: [email protected] Subject: Re: Any shop use UNIX in a production job? What about BPXWDYN from COBOL? I know this is being done. And I know of another using BPXWDY2 that will be production in the near future (alias entry to BPXWDYN). Sent from my iPhone — small keyboarf, fat fungrs, stupd spell manglr. Expct mistaks > On Apr 13, 2020, at 11:22 AM, John McKown <[email protected]> > wrote: > > On Mon, Apr 13, 2020 at 9:48 AM Kirk Wolf <[email protected]> wrote: > >> Do you mean - >> >> - using z/OS Unix syscalls? >> > > Yes. Such as a COBOL program doing a CALL to BPX1SLP to "sleep" for a > while. No, I don't know why they would use that example, I just chose it. > > > >> - using the z/OS Unix file system? >> > > Yes to all. Saving & reading data in UNIX files vs legacy datasets. > Excluding "temporary" data going in fro "somewhere and then copied to a > legacy DSN for actual use. As an example uses PATH= in Production JCL. for > application generated and processed data. > > > >> - using the z/OS Unix shell? >> > > Yes, such as using awk to read a report data set (cp -T "//'some.dsn'" > /dev/fd1 | awk ... | cp -T /dev/fd0 "//'another.dsn'"" > > > >> >> FWIW - I contend that there is no such thing as "running under Unix" on >> z/OS. All please discuss :-) >> >> > -- > People in sleeping bags are the soft tacos of the bear world. > Maranatha! <>< > John McKown > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
