This change in DSNAME triggers some specific logic to occur within our applications.
I am able to successfully execute bpxwdyn using the cozclient command, with args of 'info dd(mydd) inrtdsn(dsnvar)' tp get the DSNAME of a file that is allocated to my job step. However, when the DDNAME allocated to my job step is made up of multiple files concatenated together the bpxwdyn does not meet my needs and may not be the most efficient method to get DSNAME.
Do you know of a way to get the current value of DSNAME while we are processing (reading) file data fromdsn?
It would be great if fromsan were to maintain an environment variable with the DSNAME.
Sample JCL Code that I am trying to get DSNAME from:
Code: Select all
//DATAIN DD DISP=SHR,DSN=@17171.T.FLATFILE.A
// DD DISP=SHR,DSN=@17171.T.FLATFILE.B