Source physical files in a library

95 pts.
Tags:
AS/400
AS/400 Library
Physical File
I would like to know what are the source physical files in my Library. Is there any command for this? I have used some command in my previous project. But couldn't remember it..Can anyone help on this?

Software/Hardware used:
AS400
ASKED: June 25, 2013  1:48 PM
UPDATED: June 25, 2013  2:15 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • NAN4AS400
    I got it... :) DSPOBJD OBJ(LIBRARY/*ALL) OBJTYPE(*FILE) DETAIL(*SERVICE)
    95 pointsBadges:
    report
  • TomLiotta
    If you have PDM, you can list source physical files in a library with this command:
    WRKOBJPDM LIB( mylib ) OBJTYPE(*FILE) OBJATR(('PF-SRC'))
    ...or:
    WRKOBJPDM LIB( mylib ) OBJTYPE(*FILE) OBJATR(*SRC)
    You could also run:
    DSPFD FILE( mylib /*ALL) TYPE(*BASATR) OUTPUT(*OUTFILE) FILEATR(*PF)...
    The outfile you create will have field ATDTAT that will contain 'S' for source files.
    .
    The DSPOBJD command with DETAIL(*SERVICE) will only show what source files were used to create the listed objects. It's not guaranteed to show all source files in that library nor even any source files at all.
    .
    Objects might be created from source from different libraries. If there are source files in the library that were not used to create objects in that same library, then those source files won't be mentioned. For ILE programs, there won't be any source files listed since ILE programs aren't created from source. There many kinds of objects that aren't created from source.
    .
    Tom
    125,585 pointsBadges:
    report
  • JSDHFKJHA
    take the command STRPDM on the command line and hit enter. u will get a screen where u need to select the option '2' which means u have selected 'WORK WITH OBJECTS' u will get a screen where there will be the name of the library on the top,there u can provide the library name of ur choice and there will be other attributes like 'NAME','TYPE,'ATTRIBUTE'.keep the name and type '*ALL' and attribute as 'PF-SRC' and hit enter.u will get the list of source physical files in that library
    335 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following