source physical file snd member
5 pts.
0
Q:
source physical file snd member
how system identify that this member is a member of this source file in as/400?
ASKED: Dec 11 2008  8:39 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
24600 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
The programmer makes this desicison

If using the "green - screens" the STRSEU command
allows the programmer to identify file, library, member name, member type and text description.
Typically source files are named Q + type + SRC
as QRPGLESRC, QCLSRC, QDDSSRC (files/screens/printer files), etc

Phil
Last Answered: Dec 12 2008  3:23 PM GMT by Philpl1jb   24600 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Yorkshireman   3200 pts.  |   Oct 8 2009  10:32AM GMT

Source code is identified as a member within a PF of type Source.

Perhaps you could be more specific - what are you attempting to do?

 

Satsho   1235 pts.  |   Oct 8 2009  5:33PM GMT

WRKOBJPDM LIB(yourlib) OBJTYPE(*FILE) OBJATR(’PF-SRC’) will give you a list of all source files.

If you are trying to identify the location of the source for a program - do a DSPPGM on the object, option 5 to get to the module info and use option 5 again - you should see the info -

Program  . . . . . . . :   DTAQFILL      Library  . . . . . . . :   ELSWM

Module attributes:
  Module . . . . . . . . . . . . . . . . . . . . :   DTAQFILL
    Library  . . . . . . . . . . . . . . . . . . :     QTEMP
  Source file  . . . . . . . . . . . . . . . . . :   SOURCE
    Library  . . . . . . . . . . . . . . . . . . :     ELSWM
  Source member  . . . . . . . . . . . . . . . . :   DTAQFILL
  Module attribute . . . . . . . . . . . . . . . :   RPGLE

 
0