Retriving the source code

700 pts.
Tags:
AS/400
AS/400 commands
RPGLE
Can we retrieve the source code of an RPGLE object? If yes, please let me the procedure for it. Thanks in advance ravua

Software/Hardware used:
software

Answer Wiki

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

Discuss This Question: 7  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
    If the *MODULE was compiled with DBGVIEW(*LISTING) or (*ALL), the debug view can be used to access a copy of source. ILE programs don't have source; they are created from compiled modules. The modules have source. The module attributes point back to the location of source at compile time.   There have been one or two vendors that have claimed the capability, though I haven't seen a claim for objects compiled after V5R2. Comments that I've seen indicate a cost high enough that it's economical for many programs; but for one or two programs, it's cheaper to rewrite them.   I can't think of a reason programs would not all be compiled with DBGVIEW(*ALL) during the past ten years or more. ISVs, of course, would be different; but in 7.1, the debug view can be encrypted.   Tom
    125,585 pointsBadges:
    report
  • ravula
    I dont have authority to debug this rpgle object
    700 pointsBadges:
    report
  • TomLiotta
    How can you sufficiently test your code if you don't have authority to debug it? You don't have to be the one. Get one of your coworkers to do it. -- Tom
    125,585 pointsBadges:
    report
  • ravula
    we have a rbo job which will be run to get all the log of the jobs run per that day. when we go into the RBO job we could see this RPGLE pgm is been called. so want to see that pgm. we dont have the code fot that.
    700 pointsBadges:
    report
  • TomLiotta
    There is no known way to retrieve ILE source for a HLL module, except for debug views. If this isn't your program, you're probably in violation of your license by attempting to access source. There's probably a "reverse-engineering/decompile/etc." clause. -- Tom
    125,585 pointsBadges:
    report
  • ravula
    we have a requirement to create a program with a parameters as a date and it should work similar to rbo job. so want to see the code of that object thank you ravula
    700 pointsBadges:
    report
  • TomLiotta
    It doesn't matter why you want to see it. If it's not your program, you can't see it unless the vendor lets you see it. Since you already know what the program should do, you need to write your own. That's why programmers are hired. -- Tom
    125,585 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