SVC 99 available from C. https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1 .bpxbd00/dynalloc.htm?sc=_latest
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Phil Smith III Sent: Wednesday, December 07, 2016 1:22 PM To: [email protected] Subject: Re: DDs in USS? 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
