i)What is the command to lock a file in a program
ii)2. Can you get a level check error in a CL program
Answer Posted / naveen chandra joshi
The questions asked are:
i)What is the command to lock a file in a program?
ii)Can you get a level check error in a CL program?
Answers:
1) ALCOBJ,
2) Yes,if the file is declared in CL program then we can get Level Check error in case of record level identifier mismatched. I have tried this in the system and then only posting over here.
Regards,
Naveen Chandra Joshi.
+91.9891501280.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
what is the procedure and explain about real time scenario.
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?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
what is file information data structure?
What is a record lock error?
what is the use of sflnxtchg?
what is the rpg system?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
how do I declare a minor?
How can we know running job is batch or interactive?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
When it is desirable to describe files Internally?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
what is the necessary keyword needed to scroll subfile records?
how do I declare a table or array in rpg iv?