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



Cyndi, I had the same issue, so I decided to bite the bullet and create my
own compile command.  That's because one of the last steps for ILE programs
is to "stamp" the object with the source name of the primary module.

In my environment I use called procedures and put the BNDDIR name(s) in the
H spec of the primary module.  I still use CRTBNDRPG for the compile.  Then
I take the primary program source name and then put that into the program
using the QLICOBJD API.

Now, I can do a DSPOBJD and get the source name.

Interestingly enough, I can now do that for ANY type of object, including
data areas, data queues, job descriptions and so on.  I write a CL program
that creates those types of objects with the correct attributes, and then
stamps each of them with the name of the source for that program.

Joe


> From: Cyndi Bradberry
>
> That appears to work. Tammy's suggestion worked if you compiled to modules
> first. We just use the CRTBNDRPG command, so there aren't any
> modules left.
> I just wish there was a way to do it to an outfile.


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.