i'm working on progA , in that program i want to see the
userids of the users who work on this program?
Answer Posted / anupam
the program must be stored in some source physical
file/library. to fetch who has locked the program we can do
WRKOBJLCK OBJ(LIBRARY/QRPGLESRC) OBJTYPE(*FILE) MBR(progA)
Here LIBRARY/QRPGLESRC is the library and source physical
file where the member progA is stored.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can we know running job is batch or interactive?
what is program status data structure?
what is kids-rpg?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
How to call one program from another program in RPG? please help me with the code
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
how can I tell when to replace the array?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
what is the procedure and explain about real time scenario.
what is file information data structure?
What is a record lock error?
what was the robotech rpg?