|
I relied on my own tool to do this (and to show source without an object) for over a decade...but the introduction of ILE discounted much of its usefulness. I've started a new version of the program but haven't paid much attention to it in quite a while. In the ILE environment, you have to use an API to find all the modules in a program; then you have to get the source file information for each module (I'm not aware of an IBM command that provides an outfile with this information, although there might be some freeware in existence). When you CRTBNDRPG, no source file information is included because it's really a CRTRPGMOD and CRTPGM in one step. CRTPGM doesn't have anything to do with source files; that's why there's no source information. -----Original Message----- From: midrange-l-admin@midrange.com [mailto:midrange-l-admin@midrange.com]On Behalf Of Richard Reeve Sent: Thursday, February 07, 2002 2:00 PM To: midrange-l@midrange.com Subject: Re: Source/Object mismatch -- [ Picked text/plain from multipart/alternative ] Fiona, I would very much appreciate the source for the utility that you are describing. Best Regards, Richard Reeve fiona.fitzgerald@notes.royalsun.com wrote: Richard, I created a CL many years ago to warn me of source that didn't match the original pgm object. This also avoids hitting level-checks, & will verify that the source code member was indeed used to compile the object; i.e. where you have duplicate names, or where source has been used to compile a program with a different name to the member. It also helped me on site where version control fell down & people compiled in all directions if they could - that way I could pinpoint the actual source code. Even if the pgm object has been renamed! I find it really helpful to locate source code and to check that I have indeed recompiled my changes - been caught out by that too many times ! Usage: VFYSRC lib/pgm Possible screen-footer message: The source code has been changed since the program was created ! I use it interactively - you could adapt it to create a listing of source without objects, mismatching names, updated source where the pgm has not been re-compiled ... Let me know if you would like a copy of the source, DDS & cmd source to create it yourself. Fiona _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. --------------------------------- Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.