How do you find whether a record is locked or not?

Answers were Sorted based on User's Feedback



How do you find whether a record is locked or not?..

Answer / kcsyam

with the help of *STATUS code = 01218(Locked)

Is This Answer Correct ?    6 Yes 0 No

How do you find whether a record is locked or not?..

Answer / naga srinivas.kattula

using WRKOBJLCK we can check which workstation and pgm
locking the file

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More RPG400 Interview Questions

i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.

2 Answers   CTS,


what is edit word and edit code

0 Answers   Cap Gemini,


When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?

5 Answers   Mphasis,


1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.

2 Answers  


What would be the effect on the field where reverse image, underline and high intensity?

7 Answers   IBM,






is this a rpg channel?

0 Answers   IBM,


what do you mean by SESSION/DEVOCE ERROR?

1 Answers   IBM,


Anybody know the difference of primary file and full procedural file

4 Answers  


Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?

1 Answers   Infogain,


1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?

3 Answers   HSBC,


How to read a record from file where there is multiple record occurrence is available?

1 Answers  


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

0 Answers  


Categories