When I said "outside of the UNIX environment" I simply meant using standard JCL 
with EXEC PGM=<name of program>, rather than using one of the BPX programs to 
do what I assumed is "establish a UNIX environment".  Granted I don't 
understand what the BPXBATCH or BPXBATSL programs truly do, so my terminology 
is likely incorrect.  Nonetheless, I was able to run it with JCL without what I 
consider to be "UNIXy" stuff, and that was what I wanted.  Not that I am 
against UNIX, but our developers are not at all familiar with it so its nice 
that it can run as what looks like "standard MVS JCL", regardless of UNIX 
hiding under the covers.  :-)

I wonder if I copy the "swift" executable to a PDSE if I could even run the 
compiler in the same way.  I'll try that out at some point.  I assume EXEC PGM 
is restricted to 8 bytes upper case, which is why I'd have to do this.  Let me 
know if that's not true!

The other thing I should point out is that LE runtime option POSIX(ON) is 
required.

Frank
________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Tony Harminc <[email protected]>
Sent: Friday, October 13, 2017 12:24 PM
To: [email protected]
Subject: Re: fopen DD

On 13 October 2017 at 13:09, Charles Mills <[email protected]> wrote:
> And you can do getenv() and setenv() from a program running the traditional 
> EXEC PGM= way.
>
> An important concept to keep in mind is that the mental model of "there is a 
> legacy MVS over here, and then over
> there in some other compartment is UNIX, and you run in one place or the 
> other" is erroneous.

Yes. IBM's "offering manager" for Swift on z/OS said that "USS is
required", showing perhaps that he's not entirely familiar with the
concept of z/OS UNIX.

> It's all one thing. There is MVS, and it has full UNIX services available to 
> it. There are three or more user interfaces,
> "shells" if you will (in the broadest sense of the term): The USS shell 
> environment, TSO, and JCL. They are all just very
> different user interfaces into more or less the same running environment.

AKA "There is no wall."

Tony H.

----------------------------------------------------------------------
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

Reply via email to