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 / saravan
1) We can lock by using ALCOBJ command. To know about
object locks, use WRKOBJLCK file_name.
2) As every thing (File name, variable) will be taken as
parameter and path will be created each time in CL, we
won't get any level check error.
In RPG/LE, the level Id will be mapped to the program and
so we will get level check error.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
what is an online rpg?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
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.
What is the difference between copybooks and subprocedures in as400?
what is the procedure and explain about real time scenario.
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.
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
what is data area and how it is used in rpg program ?
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?
what is the rpg system?
How to write record if no field or the field are different in physical file in rpgle ?
When it is desirable to describe files Internally?
what is the necessary keyword needed to scroll subfile records?
how do I declare a minor?
can I touch the array during treatments?