On Thu, May 3, 2018 at 6:47 AM, Peter Relson <rel...@us.ibm.com> wrote:
> Whether a dataset is SMS-managed or not has no relevance to the > information displayed by the program, but has relevance to whether or not > there is a "match". That match is done as part of "Open" processing, for > example. > > An APF list entry created by a specification such as DSN(MY.DSN) SMS will > match a dataset named MY.DSN that is SMS-managed. It will not match a data > set named MY.DSN that is not SMS-managed. The other side of that is that > an APF list entry created by DSN(MY.DSN) VOLUME(V) will match a dataset > named MY.DSN that is on VOLUME V whether or not the data set is > SMS-managed (but if the data set is SMS-managed and moves to a different > volume, there would no longer be a match from that APF list entry). > > The DEBAPFIN bit is used to determine if the concatenation is considered > to be APF-authorized or not. It works approximately like this: initially, > the DEBAPFIN bit is turned on. If any data set is found in the > concatenation that is not APF-authorized, the DEBAPFIN bit is turned off. > > Since the code you show does not use an intended programming interface, I > will not comment on its correctness. IPLINFO itself must have been changed > when dynamic APF was introduced but chose not to use the provided > programming interface (CSVAPF REQUEST=LIST) to gain access to the data. > > Peter Relson > z/OS Core Technology Design > > That was very interesting. Thanks for the explanation. Just to be sure that I understand, the logic above is done on _every_ OPEN for _every_ DD name. Or is it only if the OPEN is for a DCB which is BPAM (i.e. the DD concatenation is for libraries)? It doesn't really matter, I'm just curious. One of the reasons that I really did (and do) dislike OCO is that my understanding is "artificially" reduced (as opposed to "inherent" due to my own lack of capability). That's why I'm an FSF member. And a Linux (vice Windows / MacOS) partisan. And, yes, I do sometimes "use the Source, Luke!". -- We all have skeletons in our closet. Mine are so old, they have osteoporosis. Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN