


...wont give the source PF and Library details for *PGM object.
If the *PGM was created from source, then DSPOBJD will show source details.
However, ILE programs are not created from source. They are created by binding *MODULE objects together. A *MODULE can be viewed with DSPOBJD to find a reference back to its source.
A *PGM that is compiled for OPM will show a source reference with DSPOBJD.
Tom
You can be able to do it using DSPOBJD Command.
Select *SERVICE for DETAIL keyword.
<pre> Display Object Description (DSPOBJD)
Type choices, press Enter.
Object . . . . . . . . . . . . . > TESTPF Name, generic*, *ALLUSR…
Library . . . . . . . . . . . *LIBL Name, *LIBL, *USRLIBL…
Object type . . . . . . . . . . > *FILE *ALL, *ALRTBL, *AUTL…
+ for more values
Detail . . . . . . . . . . . . . > *SERVICE *BASIC, *FULL, *SERVICE
ASP device: </pre>
It will display the Details of the Object along with Source details.
<pre> Display Object Description – Service
Library 1 of 1
Object . . . . . . . . . . . . . . . : TESTPF
Library . . . . . . . . . . . . . : TSTLIB
Library ASP device . . . . . . . . . : *SYSBAS
Library ASP group . . . . . . . . . : *SYSBAS
Type . . . . . . . . . . . . . . . . : *FILE
Source file . . . . . . . . . . . . : QDDSSRC
Library . . . . . . . . . . . . . : TSTLIB
Member . . . . . . . . . . . . . . . : TESTPF
Attribute . . . . . . . . . . . . . : PF </pre>
You can select the same using ‘WRKOBJ TESTPF’ and then Option ’8′ + F4.
Pradeep.


DSPOBJD & WRKOBJ is wont give the source PF and Library details for *PGM object.
DSPOBJD & WRKOBJ works only for *File object. It wont give the source pf of all other objects like *PGM ,*DTAARA, *DTAQ, BNDDIR. So i m asking about a command that is useful to find out the source PF for all objects supported by iSeries? Is it possible?????
DSPOBJD & WRKOBJ is useful for some object type like *file, *Menu, etc . But it wont give the source PF for some objects like *PGM, *DTAARA, *DTAQ, *BNDDIR. Is it possible to find the Source PF of all object types in iSeries by using a single command??????.
Not all objects have source.
DSPPGM will give the information for a *PGM object.
if you want, how many source physical file using WRKOBJPDM
Library . . . . . . . . . . . . LIB LIBNAME
Object . . . . . . . . . . . . . OBJ *ALL
Object type . . . . . . . . . . OBJTYPE *ALL
Object attribute . . . . . . . . OBJATR ‘PF-SRC’
otherwise, you want source physical file of object.. use DSPOBJD command
Object . . . . . . . . . . . . . . . : PFNAME
Library . . . . . . . . . . . . . : LIBNAME
Library ASP device . . . . . . . . . : *SYSBAS
Type . . . . . . . . . . . . . . . . : *FILE
Source file . . . . . . . . . . . . : DATABASE — SOURCE PHYSICAL FILE NAME
Library . . . . . . . . . . . . . : SATHISH551
I think WRKOBJPDM LIB(Your_Lib) OBJ(Object_Name) OBJTYPE(*file/*pgm) will also work
So i m asking about a command that is useful to find out the source PF for all objects supported by iSeries? Is it possible?
No, it’s not possible.
It’s not possible because most objects aren’t created from source. A data area, for example, doesn’t have “source”. It is directly created by executing a CRTDTAARA command. Source isn’t needed.
An ILE program object can have dozens (or more) modules that make up the program. Each module is likely to have different source. So source for a *PGM object doesn’t make much sense. You look at the modules instead.
Tom