|
When you code *LIBL, it uses that to find the FILE, not the member. As soon as it finds the first source file (with the name that you supplied) in the library list, then it checks that file for the member.
It does not list the members in all files in the library list. Only the members of one particular file -- the first one that it finds in the library list.
To solve your problem, get a list of the libraries in your library list into an array. Then call QUSLMBR in a loop (if you still need QUSLMBR) to get the files that contain that library.
Knezevic, Mihael wrote:
hello, i'm trying to call list database file members (QUSLMBR) to find the member of a sourcefile in the library list. i got the member name and the filename and want to find the member in the sources files in the library list. calling the api with the parameters returns with no errors but not with the results i'm expecting. im using *LIBL for the library name. it returns one entry, the entry which points to the member in the current library. if i change the current library to something other then it returns no entries at all. it seems it doesn't search the whole library list but only the current library, even if a put *LIBL in the library name. anyone any idea? thanx in advance mihael knezevic
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.