DSPSRC
Display Source for any compiled object
Often when testing code on a machine with multiple environments and multiple crazy developers who are compiling copies of aforementioned code willy-nilly, it's difficult to be totally sure that the version of the code that you are running is the version that you actually want to run. (that was a very long sentence) So, DSPSRC lets you simply type in the object name and it will find the source it was compiled from and, if display that source code to you if its on the system:
Display Source (DSPSRC)
Type choices, press Enter.
Object Name . . . . . . . . . . Name
Library Name . . . . . . . . . *LIBL Name, *LIBL, *CURLIB
Object Type . . . . . . . . . . *FIND *FIND, *PGM, *CMD, *FILE...
Type of SEU Action . . . . . . . *DISPLAY *DISPLAY, *EDIT
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
so lets say I'm testing a program called SAUSAGES.
I want to see the version of source it was compliled from and I just type in DSPSRC SAUSGES and press enter.
It will find it and display the Sausage Source.
Nuff Said.






