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 / rakesh roshan
This is true because either it must be updating the File or
Writing the record to the file and it places *EXCL Lock .
To handle such exception it depends upon the
Application ,if we want to handle such lock we can chain(N)
extender but then we need to see whether the File it is
writing or updating is having some constraints associated
or not , if yes
then we can handle the exception by using %Status of PSDS
DS and wait for few seconds and Retry it .
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
what was the robotech rpg?
How to declare the pull button in AS/400..
How would display prime numbers using CL program?
How Chain operation copies the record's data to the input buffer for the program?
what is the use of sflnxtchg?
How can we override a file during runtime in rpg?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
how do you use commitment control in rpg?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
which program rpg or cl is efficent to update a transaction onto a database file and why ?
what do you mean by an input subfile, what are the keywords required?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
what is data area and how it is used in rpg program ?
what are the key words you must use when using a subfile?