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.
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.
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
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.
Did you first try to use the DSPOBJD libname/filename *FILE command, and then take an "8" option. This will show you which source member was used when the PF was compiled. Dave