Re: Source File Metadata Change Date Info for Compiled ILE Programs
Brian Parkins <[email protected]> Wed, 24 Jun 2026 21:45:36 +0100
| Newsgroups | gmane.comp.lang.as400.rpg |
|---|---|
| Message-ID | <[email protected]> |
"it apparently doesn't capture the source file info for ILE program objects" It can't. Consider, an ILE program object could contain multiple *MODULE objects bound by copy, (not the ideal build strategy - but it could). These *MODULES could be a mix of languages, (e.g. COBOL, RPG IV, CL, C) - so there is no sensible way of saying that xxxxx *PGM is derived from yyyyy source code. The *MODULE object(s) contain the source file information, not the *PGM. Use DSPPGM to determine the *MODULEs, then DSPMOD to determine the source file/member. Unfortunately neither command provides an *OUTFILE capability, so you may wish to resort to retrieve or list APIs: QBNLPGMI, QBNLMODI, QBNLSPGM, etc.) - or the equivalent (SQL-based) IBM i Services, (e.g BOUND_MODULE_INFO view). This is an area where commercial tools such as X-Analysis, Pathfinder, Abstract, Observer, etc. really excel. Brian. On 24/06/2026 19:26, Richard Schoen wrote: > Hi All, > > When using object statistics against object in an IBM i library, it apparently doesn't capture the source file info for ILE program objects. > > Does anyone know a way to retrieve the source info for an ILE program object ? > > I also tried DSPOBJD and the same source file info is missing. > > I guess the main question is how to determine which source was used to build an ILE object ? > > I wonder if DSPPGMREF would do that. > > Regards, > Richard Schoen > Web: http://www.richardschoen.net > Email: richard-DiTrGpQEJGItADg8e/3/[email protected]<mailto:richard-DiTrGpQEJGItADg8e/3/[email protected]> > -- This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l. Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.