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 do you use commitment control in rpg?

992


what is the use of sflnxtchg?

1024


are there any useful c runtime apis that I can call from rpg iv?

912


What is the difference between iter and do?

938


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

1062


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

985


What is ment by record level identifier?

865


is this a rpg channel?

895


what was the robotech rpg?

872


what is kids-rpg?

894


When it is desirable to describe files Internally?

1395


can I touch the array during treatments?

948


Explain mdt?

872


How would display prime numbers using CL program?

5963


what is program status data structure?

1800