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 |
how to write *pssr ?
when are the unique constraints executed?
what opcode will be used to test the zone of a character field?
how does the runqry show the output?
what is the purpose of data structure?
what is code for reading member in rpgle when wehave like extmbr(*all) so we have 3 members in *all then i want to read first record in 2member
what does exfmt does?
Please give me the code for A=A+1 in cl program?
where exactly we can use OPNQRYF ?
Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP
how to get no of records in file in rpg with out cl cmd
write the SQL statement to retrieve the 2nd Highest salary ammount(File Name="EMPLOY",Field Name="SALARY")
6 Answers Bally Technologies, Cognizant, Vertex,