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



LOL Luis - I've entered a thick fog by now - haven't been very helpful here at work, maybe I get a couple things right out here!

Vern

On 3/31/2011 4:02 PM, Luis Rodriguez wrote:
Vern,

You are right, of course. Missed the ILE part . I'm trying
to multi-task heavily today, obviously without success :-(

Regards,

Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--



On Thu, Mar 31, 2011 at 4:18 PM, Vern Hamberg<vhamberg@xxxxxxxxxxx> wrote:

Luis

DSPOBJD works for some things, including OPM programs, but not ILE
programs, because those are not directly based on source, as OPM are. In
fact, it's the module that would have the source information.

So the program information APIs do a better job, because DSPPGM doesn't
have an output file option.

Vern

On 3/31/2011 3:23 PM, Luis Rodriguez wrote:
James,

Would this help?

DSPOBJD OBJ(MyLib/*ALL)
OBJTYPE(*PGM)
DETAIL(*SERVICE)
OUTPUT(*OUTFILE)
OUTFILE(QTEMP/LIST)

Some fields of interest would be:

ODLBNM - Lib Name
ODOBNM - Object Name
ODOBTP - Object Type
ODOBAT -. Attribute (eg. CLP)

ODSRCF Source file name
ODSRCL Source file lib
ODSRCM Source file member

HTH,


Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--



On Thu, Mar 31, 2011 at 3:33 PM, James Lampert<jamesl@xxxxxxxxxxxxxxxxx
wrote:

Anybody know, off-hand, an easy way for a CL program to find out what
source member a program (or the main entry-point module of a
multi-module program) was compiled from?

The idea is to go through a list of programs, and refresh them.

--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
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 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.