what is the difference between find string pdm and dsp pgm ref ? when i search for program object reference , whether both will give same result?
Announcement
Collapse
No announcement yet.
dif
Collapse
X
-
FNDSTRPDM is examining source code. It will find all strings that contain the characters you specify. This can include the file declarations, but also the file references in the code -- even the comments. So if you are examining a program that references the object you are interested in, you will get multiple hits.
DSPPGMREF is looking at the actual references in the object itself. It displays a lot more information about the reference, as well -- record formats, field counts, etc.
One of the notable reasons that they might show different information is if the source code and the object don't agree -- if you are looking at source code that has changed since the object was compiled.
-
Originally posted by Alan S. Binkow View PostFNDSTRPDM is examining source code. It will find all strings that contain the characters you specify. This can include the file declarations, but also the file references in the code -- even the comments. So if you are examining a program that references the object you are interested in, you will get multiple hits.
DSPPGMREF is looking at the actual references in the object itself. It displays a lot more information about the reference, as well -- record formats, field counts, etc.
One of the notable reasons that they might show different information is if the source code and the object don't agree -- if you are looking at source code that has changed since the object was compiled.The Secret Of Achieving Your Goals Is Revealed Before Your Eyes.
System Engineer
Sudha...
Comment
-
No, it won't be listed in DSPPGMREF. Only objects defined in the program will be listed. Defined includes tables specified in SQL statements.
VAR1 could be anything of thousands of programs.
Kit
www.ecofitonline.com
DeskfIT - ChangefIT - XrefITRegards
Kit
http://www.ecofitonline.com
DeskfIT - ChangefIT - XrefIT
___________________________________
There are only 3 kinds of people -
Those that can count and those that can't.
Comment
Comment