Would you like to get all the Files present in a particular Library?
Source Physical file doesnt contain the list of Files(Objects) in it. But, It will store the Source of a File or Program as Members.
If you declare Source Physical file using CL and if you try to Read the file, You can be able to get the Source details(DDS) of First Member of Source Physical file.
Instead of that, Maybe you can try DSPOBJD and store the Objects in OUTFILE.
<pre>DSPOBJD OBJ(LIBNAM/*ALL) OBJTYPE(*FILE) OUTPUT(*OUTFILE) OUTFILE(TEMP) </pre>
You can use the OUTFILE for getting the Available Files details in a Particular Library.
Last Wiki Answer Submitted: December 16, 2011 10:19 am by deepu93213,370 pts.