Source name and location for RPGLE

40 pts.
Tags:
CLLE
DSPOBJD
RPG Source
RPGLE
Source Code Analysis
I want to find out the source name and location for all objects within a library - The source types are RPGLE and CLLE. Kindof like we use the DSPOBJD for RPG sources. Thanks.

Answer Wiki

Thanks. We'll let you know when a new response is added.

There is a file called QADBXREF. There you can select the library you want to see along with source type. Then you can creat a program to get the soruce. I have a program and will try to find it for you.
sne me your direct email

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    ILE program objects aren't created from source, so they don't have source file references directly attached to those objects. ILE programs are created by binding compiled modules into an executable *PGM object. In order to track back to source, you need to retrieve the list of *MODULEs from the program. Then use the object description of the modules to find the source that each module was compiled from. A program might have many modules, each of which will have a different source file member. It's possible that all of your programs are built from single modules, but you still need to go for the module source rather than the program source. The modules are where the source is indicated. You can use the List ILE Program Information (QBNLPGMI) API to list the modules of a bound program into a user space. The space can be looped through with the user space APIs to process each module so you can extract source file info. Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    See Determining Source Files for RPGLE programs for an example of using QBNLPGMI to extract source files of bound modules. Tom
    125,585 pointsBadges:
    report
  • Mandavi
    Thank you, TomLoitta & RonKoontz - A collegue was able to write a program to retrieve sources for all objects.
    40 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following