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

How can we know running job is batch or interactive?

0 Answers  


3 members in databasefile .how to read records from all the members??

6 Answers   CTS,


Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Duplicate data error. What action would you take ( C D I R )...?

4 Answers  


What are the necessary keywords required to code a message subfile?

3 Answers  


How do you know if a record exists without doing a READ and CHAIN?

6 Answers   IBM,






How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?

11 Answers   Bank Of America, CSC, IBM,


Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?

1 Answers  


how do u find whether a record is locked or not??/

5 Answers   CTS,


3 members in a databasefile .how to read records from all the members?????????

4 Answers   CTS,


how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE

3 Answers   iGate,


is this a rpg channel?

0 Answers   IBM,


Categories