View Full Version : ??? Source code ???
01-01-1995, 02:00 AM
I have the following question... we have one physical file an one display file on the system but I couldn't find the source code. How can I retrive the source code? Any help would be apreciatted.
05-23-2000, 11:43 AM
Use DSPOBJD for each file and see if the source members are still around; maybe they got moved to another source file.... Failing that the PF source can be retrieved; the dspf source is trickey. bobh
05-23-2000, 01:24 PM
Bob's suggestion will work if the source is still on the machine. However, if the source got deleted, this may help. This is straight out of NEWS400 Tips & Tech - 04.12.00: RETRIEVING DDS SOURCE The free Retrieve Database Source (RTVDBSRC) command re-creates a DDS source member from an existing physical or logical file. The utility source and compile instructions can be downloaded from http://www.geocities.com/~alex_nubla/rtvdbsrc.htm . Another utility that re-creates DDS for physical or logical files is the QUSRTOOL Retrieve Physical File Source (RTVPFSRC) command. QUSRTOOL was free in V3R1 and previous releases of OS/400; for later versions of OS/400, it's now sold as TAA Productivity Tools from http://www.taatool.com . SourceRetrieval's DOC DDS (http://www.sourceretrieval.com) can re- create source for compiled DDS physical, logical, printer, and display files.
05-24-2000, 03:18 AM
Did you first try to use the <u>DSPOBJD libname/filename *FILE</u> command, and then take an "8" option. This will show you which source member was used when the PF was compiled. Dave
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.