On Wed, 23 Feb 2011 08:43:31 -0800, Charles Mills <[email protected]> wrote:
>Thanks. I have no interest in "improving" JCL. I want to be able to use a
>single common control file to specify the name of a file for an STC that
>could be unique across systems:
>
>MYFILE=MY.&SYSNAME..DATA.FILE
>
>MY.&SYSNAME..DATA.FILE would ultimately end up in an fopen():
>
>fopen("MY.&SYSNAME..DATA.FILE", ...); // would actually be a chr* variable
>not a literal
>
You could use the symbol service in a assembler program to figure it
out yourself and pass that along to your fopen.
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS
mailto:[email protected]
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html
Systems Programming expert at http://expertanswercenter.techtarget.com/
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html