When a object will be locked & when a record will be
locked? Plz explain.
Answers were Sorted based on User's Feedback
Answer / ps
When file is open in update/add mode file object will be
locked.
When user try to fetch any record from file by setting up
pointer to a record record will get locked.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / syam
When 2 user or more trying to access same record in a PF
record will be locked. While backup file to tape or cd any
user trying to access any lib or file it can be locked
| Is This Answer Correct ? | 6 Yes | 8 No |
what is the equivalent keyword for CHAIN opcode ??
HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....
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.
How can we receive values from a called procedure in CL?
How to find d key field of a pf that doesn’t have source physical file?
1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.
Can you copy the records created by the OPNQRYF to other files and how?
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?