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...

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


Please Help Members By Posting Answers For Below Questions

If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

1114


what is the necessary keyword needed to scroll subfile records?

1161


what is a rpg?

1193


What are the types of identifiers?

1020


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

1193


What is the difference between copybooks and subprocedures in as400?

1360


do you use message subfiles? What are the necessary keywords required coding a message subfile?

1133


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

1143


How to select highest score of each subject or how to select highest income of every month?

1765


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

2409


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1729


what is the rpg system?

1278


what are the key words you must use when using a subfile?

1183


what is the difference between do while and do until?

1250


how do I declare a table or array in rpg iv?

1180