× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



it ain't returning any error. (field is blank)

i use *libl for the library and if i understand it correctly it should return 
an entry for any member with the specified name in the specified file in every 
library the member is found in the library list. 

but it seem to only look at the current library. 

-----Ursprüngliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im 
Auftrag von Rick.Chevalier@xxxxxxxxxxxxxxx
Gesendet: Montag, 12. März 2007 15:29
An: rpg400-l@xxxxxxxxxxxx
Betreff: RE: problem with calling QUSLMBR


The current library is always at the top of the user potion of the library 
list.  Using *LIBL will cause the file in the current library to be the first 
one found.  That's why using *LIBL is giving the same results as *CURLIB.

Without knowing the values of the parameters at the time of the call I can't 
thing of any reason using a specific library name wouldn't work.  I always 
specify the library name when I use this API and it always returns the correct 
member list.

If you are using the error API, is it returning an error number in position 9 
of the error structure?

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On 
Behalf Of Knezevic, Mihael
Sent: Monday, March 12, 2007 9:17 AM
To: RPG programming on the AS400 / iSeries
Subject: AW: problem with calling QUSLMBR

i tried both '0' and '1' and there is no override in place. 

-----Ursprüngliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im 
Auftrag von Rick.Chevalier@xxxxxxxxxxxxxxx
Gesendet: Montag, 12. März 2007 14:23
An: rpg400-l@xxxxxxxxxxxx
Betreff: RE: problem with calling QUSLMBR


Mihael,

What are you passing for the override parameter?  Is it possible that there is 
an override in place?

Rick 

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On 
Behalf Of Knezevic, Mihael
Sent: Monday, March 12, 2007 4:54 AM
To: RPG programming on the AS400 / iSeries
Subject: problem with calling QUSLMBR

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
--


Privileged and Confidential.  This e-mail, and any attachments there to, is 
intended only for use by the addressee(s) named herein and may contain 
privileged or confidential information.  If you have received this e-mail in 
error, please notify me immediately by a return e-mail and delete this e-mail.  
You are hereby notified that any dissemination, distribution or copying of this 
e-mail and/or any attachments thereto, is strictly prohibited.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.