Is their any way to recover the coding of a program from the objlib, if the program in my srclib is been deleted?...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
Can this be done through FTP or other resources?
You can retrieve the source from a compiled CLP if it was compiled as follows:
CRTCLPGM PGM(PGMLIB/PGM) ALWRTVSRC(*YES)
Use the following command to retrieve the source from the compiled CLP:
RTVCLSRC PGM(PGMLIB/PGM) SRCFILE(YOURSRCLIB/YOURSRC) SRCMBR(*PGM)
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.
MORE INFORMATION ON THIS TOPIC
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.
Dig Deeper on Implementation
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.