how to see all source files in a particular library?
ex:xyz is a library name
a,b,and c..... are source files how to see?
Answers were Sorted based on User's Feedback
Answer / sam
Syntak is like that:
WRKOBJPDM LIB(XYZ) OBJ(*ALL) OBJTYPE(*FILE) OBJATR('pf-src')
Is This Answer Correct ? | 30 Yes | 0 No |
Answer / cyjil
using WRKOBJPDM command ...
syntax is WRKOBJPDM LIBNAME( ) OBJECT(*ALL) OBJECT
TYPE(*ALL) OBJECT ATTRIBUTE(PF-SRC)
Is This Answer Correct ? | 12 Yes | 3 No |
Answer / anandaraj.d
i think this may be the optimum answer
go to command wrkobjpdm in that
lib prompt give xyz
object type give pf-src and give enter.....
Is This Answer Correct ? | 11 Yes | 6 No |
Answer / reena
1. STRPDM
2. Work with objects
attribute PF-SRC
you can see all the source physical files in the library
specified
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / somee
Using WRKOBJPDM command
Syntax is
WRKOBJPDM LIB(LIB_NAME) OBJTYPE(*FILE) OBJATR('PF-SRC')
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / swetha p rao
You can see the list using STRPDM
1. STRPDm
2. Work with members
3. Specify the library name
4. Take F4 on the File attribute
you can see all the source physical files in thelibrary
specified
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / prakash
DSPFD FILE(Lib_name/*ALL) TYPE(*ALL) FILEATR(*PF)
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / swathi
1.STRPDM press enter.
2.Take option 2(i.e work with members)press enter.
3.Then we provide LIBRARY name & attribute is PF-SRC.pressa enter.
Then it will display the source physicsl files of perticular library.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ved dubye
you can use wrkobjpdm command with pf-src and then use
shift+f9 to make a spool file which is having the list of
all the source file in library
Is This Answer Correct ? | 0 Yes | 0 No |
what is a non-join logical file?
what is a logical file?
what is the main use of OPNQRYF ?? in that query why we can use OVERDBF and in that OVERDBY why should we use SHARE(*YES)
what is a physical file?
List the steps/commands necessary to accomplish the following: a. Copy data from the file ORDHDR into file ORDHIST b. The file ORDHIST may or may not exist c. If the file ORDHDR does exist, it may or may not contain data d. The file ORDHIST may or may not contain data, if the file does contain data the old data should be erased
function of DSPPGMREF?
Q. 1.What are the in build functions in CL program and what are uses of thes in build functions? 2.How we can create own command in CL program? 3.What is use of STRSRVJOB?
What is the purpose of the following FORDHDR1 CF E WORKSTN $2SFN SFILE FMT2
when is a tag statement used in rpg?
I have 1 rd in my flat file. say reord from 1 to 10 position : 'AS400NDB2400' I need to change the value from N to Y using SQL stmt ...How can I update this....?
How many types of jobs?what is difference between interactive and batch and submited jobs?
define the purpose of the *bcat function?