I'm looking for the API that returns the "based on file" in the DSPFD printed output. I tried all version of DSPFD to an outfile (that would have been good too) with no results. DSPDBR just works from PF to all it's dependent LFs. Any suggestions?
Thanks for the answers. I missed the field in *MBRLIST. As far as the other command- I don't have that kind of access to the computer and I wanted to use the physical file name in a command I already have.
There is an API called QDBLDBR which lets you retrieve this info. I've written a utility called DSPREL which shows you all related physicals and/or logicals for a file, regardless of whether it is physical or logical. The IBM command (DSPDBR) only shows you this info for physical files. The source code will let you see how to use it. If you let me know your address I'll e-mail it to you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.