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



Hi Jerry,

Glad I could help. I remember doing something similar for some reason, but to make it more interesting, I downloaded the source member list to a spreadsheet, then wrote a function that would call a program on the AS400 to get the object description and stuff using the IBM Client Access call facility. Learn by doing...

*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> /

GKern@xxxxxxxxxxxxxxxx wrote:
Peter:

"Ok, the error you're getting is because you're passing a literal ('0000000') for the last parameter. You can only do that if the parameter prototype has either the VALUE or CONST keyword; in this case you need to use the CONST keyword. In fact, you could put that on all 3 parameters." Yep - did that.

"More questions: how are ZZMBR and ZZLIB defined (I'm guessing 10A) and what values are in them?" 10A is correct - and they contain values from data extracted off a cpysplf of PDMFNDSTR generated output.

"What error handling does the CLLE do? For example, what happens if the object or library doesn't exist?" I monitor for CPF9811 (pgm in lib not found). If it isn't found or there is no date last used that is what the '0000000' represents.

"Does the CLLE assume a particular object type?" Yes = *PGM only. I'm building an app that will troll through all my source code via FNDPDMSTR, and output the contents to a db file. Then I'm going to export it to Excel so I can slice and dice it and and do analysis on source code that is on our system that may or may not be being used.

Thanks so much for your input.

Regards, Jerry

Gerald Kern - MIS Project Leader
Lotus Notes/Domino Administrator
IBM Certified RPG IV Developer
The Toledo Clinic, Inc.
4235 Secor Road
Toledo, OH 43623-4299
Phone 419-479-5535
gkern@xxxxxxxxxxxxxxxx


This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please inform the sender by reply e-mail and destroy this and all copies of this message.


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.