|
You're not getting an error because your prototype is wrong.
D error 265A const options(*varsize : *nopass)
Can't return errors to a CONST parameter. Remove "CONST". -Bob Cozzi www.i5PodCast.com Ask your manager to watch i5 TV -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Knezevic, Mihael Sent: Monday, March 12, 2007 9:34 AM To: RPG programming on the AS400 / iSeries Subject: AW: problem with calling QUSLMBR <code> D listFileMembers... D PR extpgm('QUSLMBR') D userspace 20A const D format 8A const D filename 20A const D member 10A const D ovrProcessing 1A const D error 265A const options(*varsize : *nopass) <snip> D copyBook S 32A D copyBookLib S 10A inz('*LIBL') D copyBookFile S 10A inz('QCPYSRC') D copyBookMember S 10A <snip> listFileMembers(usName + usLib : 'MBRL0310' : copyBookFile + copyBookLib : copyBookMember : '0' : apiErrDs); </code> -----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:15 An: rpg400-l@xxxxxxxxxxxx Betreff: RE: problem with calling QUSLMBR Michael, Could you post the code you are using for the call? It would help to see how you are populating the parameters. 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 -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. 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 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.