Paul Gilmartin wrote: >Are you using your DD only as a flag, or do you actually do I/O to it?
Flag. It *is* an environment variable, for all practical purposes. OK, so the answers seem to be: 1) Use Rexx + BPXWDYN, which is probably OK, and/or 2) Have the API also do a getenv() if it doesn't find the DD; we *may* explore that Re #1, if an existing application is being happily called from a shell script, and the user really doesn't want to modify that, I guess they could add an *outer* Rexx program that did the BPXWDYN and then called the original shell script.though now it's starting to feel a bit matryoshka-ish! Charles Mills wrote: >My point is that thinking of something as "a UNIX program" or "a traditional MVS program" misapprehends how things are. Right, it is (or at least can be) the exact same code. I prolly should have written "a program called from a USS shell, instead of from JCL". That would have been more precise. My apologies! .phsiii ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
