Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


i'm working on progA , in that program i want to see the
userids of the users who work on this program?

Answers were Sorted based on User's Feedback



i'm working on progA , in that program i want to see the userids of the users who work on thi..

Answer / ali

by using WRKACTJOB, u can see the names of users using this
pgm while they are using

Is This Answer Correct ?    8 Yes 3 No

i'm working on progA , in that program i want to see the userids of the users who work on thi..

Answer / ken

Use the Program Data Structure (SDS) in D-Spec.

Positions 254 to 263 gives you the user running th program

Is This Answer Correct ?    8 Yes 3 No

i'm working on progA , in that program i want to see the userids of the users who work on thi..

Answer / syam

You can't see other user id in which program you are using.
You can see current user id means your id if you are using
the program you can use RTVUSRPRF command in CL or Program
Data Structure you can specify position 254 to 263 in RPG

Is This Answer Correct ?    7 Yes 2 No

i'm working on progA , in that program i want to see the userids of the users who work on thi..

Answer / kumar

If anyone does not know the answer, plz DO NOT POST THE
ANSWERS AND POLLUTE THE SITE! The info will be read by
somany people who SCOLD!!

Is This Answer Correct ?    5 Yes 0 No

i'm working on progA , in that program i want to see the userids of the users who work on thi..

Answer / naga srinivas

WRKOBJLCK and then F6, then u can see the workstations which
are using that pgm.

Based on the WORKSTATION ID, u can use DSPUSRPRF, u can get
the details of USER

Is This Answer Correct ?    1 Yes 0 No

i'm working on progA , in that program i want to see the userids of the users who work on thi..

Answer / 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

i'm working on progA , in that program i want to see the userids of the users who work on thi..

Answer / sekhar214

SYAM IS RIGHT.IF YOU REALLY WANT TO SEE THE USERS , MAINTAIN A OUT FILE, WRITE THE USER NAME INTO THAT FILE WHEN THAT JOB IS CALLED.

Is This Answer Correct ?    0 Yes 0 No

i'm working on progA , in that program i want to see the userids of the users who work on thi..

Answer / ravikumar895

1)WRKUSRJOB

2)program status data structure

D data structure name SDS

D USER 254 263
* Username

Is This Answer Correct ?    0 Yes 0 No

i'm working on progA , in that program i want to see the userids of the users who work on thi..

Answer / sanjay

Use WRKOBJLCK

Is This Answer Correct ?    2 Yes 7 No

i'm working on progA , in that program i want to see the userids of the users who work on thi..

Answer / mithun paul

You can use RTVUSRPRF command in CL.

Is This Answer Correct ?    0 Yes 10 No

Post New Answer

More RPG400 Interview Questions

I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?

2 Answers  


Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?

2 Answers  


what is the procedure and explain about real time scenario.

0 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


what is commitment control?explain about it?

1 Answers   HSBC,


how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.

4 Answers   iSoft, Wipro,


Can you copy the records created by the OPNQRYF to other files and how?

2 Answers  


what is file information data structure?

1 Answers   IBM,


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

0 Answers  


How do you find whether a job is a batch job or interactive?

4 Answers  


1.I have a Physical file with 100 records, No duplicates exists, all are Unique,But while i am running Runqry utility i am getting only 80 records..What could be the reason?

3 Answers   Cap Gemini,


If record-format name in an externally-described file has already been defined as a file-name.how to solve this?

2 Answers   CTS,


How do you do indexing in a physical file?

2 Answers  


Categories