Paul Gilmartin wrote:

>"calling" remains ambiguous.  It could still refer to:

>o The TSO CALL command.

>o The Assembler CALL macro.

>o The Rexx CALL instruction.

>o Or. less precisely, Rexx ADDRESS LINKMVS.

 

>BPXWDYN may solve the last three. The first one is hardest.

 

OK, I've been trying to keep this minimal for simplicity, not trying to be
obscure!

 

It's an API, called via the COBOL "CALL" verb or equivalent. The code it
calls runs the TIOT, and if it finds a particular DD, it behaves
differently. Yes, we could use an environment variable, but that isn't what
it does now. 

 

The question arose (internally): "If I run a (probably C) program from USS
that calls the API, can I define this optional DD from the calling
environment?" (like, that's the point of the DD-that it's an externally
defined thing, not requiring a change to the actual program). It looks like
BPXWDYN will do it from Rexx, but-that isn't usable from a shell script?
Your earlier post implied that.


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

Reply via email to