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


Please Help Members By Posting Answers For Below Questions

How can we know running job is batch or interactive?

660


what is program status data structure?

1391


what is kids-rpg?

670


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?

1457


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...?

1466






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.

2056


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.

5427


How to call one program from another program in RPG? please help me with the code

1263


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

833


how can I tell when to replace the array?

704


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2521


what is the procedure and explain about real time scenario.

1483


what is file information data structure?

1376


What is a record lock error?

1270


what was the robotech rpg?

689