CL AS400 iSeries ILE Retrieve Source

Tags:
Application development
AS/400
Backup and Recovery
CLP
DataCenter
RPG
RPGLE
Is there any way to retrieve source for an ILE CL program? I'm looking for a function equivalent to the RTVCLSRC command we use for retrieving the source for a CLP ?

Answer Wiki

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

RTVCLSRC The RTVCLSRC command is not allowed against an ILE CL module or program object to retrieve the CLLE source.However, the RTVCLSRC is used within a CLLE module orprogram to retrieve the source from an OPM CL program.

http://www.redbooks.ibm.com/redbooks/pdfs/gg244358.pdf

I found this at the above URL. Hop it will work this way for you.

==========================================================

You cannot retrieve the source of <i>any</i> ILE module unless the source was stored in listing format in the module when the module was compiled. (You can’t ever retrieve the source of an ILE program because ILE programs never have any source.)

If a listing view was included as a debug option at compile time, the listing can be retrieved. Source can be fairly easily reconstructed from a listing view.

Tom

Discuss This Question: 5  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
  • RIRedCheryl
    thanks, but I was already aware of IBM's 'stand' on this issue .... I was wondering if there was anyone out there that had found a way to get around this ??
    0 pointsBadges:
    report
  • astradyne
    There's a third party tool, RTVILESRC, available free at http://www.geocities.com/~alex_nubla/tips.htm As long as you can see the source in debug mode then you can retrieve it using the utility. Hope it helps Jonathan
    370 pointsBadges:
    report
  • Gulabraj
    ok
    10 pointsBadges:
    report
  • Splat
    astradyne, that link seems to have expired.
    7,565 pointsBadges:
    report
  • TomLiotta
    that link seems to have expired. If you run STRDBG over the program, is a *LISTING view available? If it is, at worst, you should be able to copy/paste from the screen. If it isn't, then a valid link won't help. You might even try STRCPYSCN to a file, and then scroll through the *LISTING view in debug. Not sure if the two work together. I think iSeries Access emulators allow some kind of auto-copy/paste with append. The RTVILESRC function might be available somewhere, but the few Google references I tried all failed. That's why I try not to paste links to sites that don't have long histories of access. 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