When a object will be locked & when a record will be
locked? Plz explain.
Answer Posted / 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 |
Post New Answer View All Answers
what is data area and how it is used in rpg program ?
How to call one program from another program in RPG? please help me with the code
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
what is an online rpg?
how do I preserve and clean the array?
how do I declare a table or array in rpg iv?
How can we override a file during runtime in rpg?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
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?
How to declare the pull button in AS/400..
What is the difference between copybooks and subprocedures in as400?
what is the difference between do while and do until?
What is a record lock error?
how can I tell when to replace the array?
What are the types of identifiers?