Some times While checking MSGW for object / member /
record locks ,I have seen it's locked by itself ...? How
it happen and what action we need to perform if job is
updating / writing a record....?
Answer Posted / guru
Usually a record lock will happen when you read a file
itself. To avoid file locks, use the following ways
1.Read(N)Read with no lock
2.When your file is in update mode and if you use any chain
function, then use Chain(N)
Cheers...
Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
How Chain operation copies the record's data to the input buffer for the program?
is this a rpg channel?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
what was the robotech rpg?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
what is the difference between do while and do until?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
how do I declare a minor?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
What is file identifier where we can use?
What is difference between bind by copy and bind by reference?