On 11/22/2016 5:06 AM, Peter Relson wrote:

What the system has, and could return (indeed does provide to the CSVFETCH
exit as of z/OS 2.2) is the UCB address and CCHH of the data set. I don't
claim to know exactly how, but you can get from that to the data set name.
An enhancement could be made to CSVQUERY/CSVINFO to provide that data.

I assume one would use the UCB address to get the volser, then process the VTOC using CVAFSEQ or similar to find which data set is located at that CCHH.

Hopefully, CVAFSEQ et al has no APF requirement. It would be an unfortunate catch-22 if only an authorized program could determine with certainty why it's not running authorized...

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/

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

Reply via email to