Ask the Expert

Recover the coding of a program

Is their any way to recover the coding of a program from the objlib, if the program in my srclib is been deleted? Can this be done through FTP or other resources?

You can retrieve the source from a compiled CLP if it was compiled as follows:


Use the following command to retrieve the source from the compiled CLP:


A copy of the program's source statements will be placed in the source file you specified. Unfortunately, all program "comments" are lost since they are not saved in a compiled CLP object.

Note: This technique can only be used on CLPs. I have heard of third-party programs that can de-compile RPG programs, but OS/400 doesn't make this functionality in the base operating system.


The Best Web Links: tips, tutorials and more.

Ask your OS/400 questions--or help out your peers by answering them--in our live OS/400 discussion forums.

OS/400 Discussion Forum: Post your questions, and get answers from other iSeries users as well as search400 experts.

Search400's targeted search engine: Get relevant information on V5R1.

This was first published in May 2002

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

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
Sort by: OldestNewest

Forgot Password?

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

Your password has been sent to: