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

Two user is trying to write or update same record it is
geting lock.
1. Do change in your program all view and report program
open om Read mode only.
2. Do change in your program before update or write check
record is used by another user or not.

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the necessary keyword needed to scroll subfile records?

695


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

543


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

1302


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1553


How can we know running job is batch or interactive?

643






what is the use of sflnxtchg?

795


what is file information data structure?

1353


what is an online rpg?

714


how does the rpg element work?

711


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

682


How many program bind in one module....

2109


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

474


can I touch the array during treatments?

750


how do you use commitment control in rpg?

746


How to declare the pull button in AS/400..

1868