Close

DSPSRC

DSPSRC, utility, command, projex4i, ibmi, iseries, as400

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.

 


Some Bloke

Projex dot com is the cyber home of Nick Litten an AS400 IBMi developer, RPG programmer, SOA code enthusiast, website tinkerer, information technology evangelist, early adopter, proponent of open source and hopeless technology addict...

Nick Litten looking dazed while refactoring some RPG2 code to kick it into this century

Born and raised in Rainy England, now enjoying programming in the sunshine of Southern USA. Founder of SOFTWARE PROJEX.

Clustermap

Locations of visitors to this page

glqxz9283 sfy39587stf02 mnesdcuix8
sfy39587stf03
sfy39587stf04