Can anybody tell me, does CL/400 handle LEVEL check while
running the CL program....?
plz share your experience...
Answer Posted / jay
The Level Identifiers used for Level Check Errors are only
checked when a file is opened. Your CL program will get a
level check error if it opens the file. For example, using
the RCVF command to read through the file would get the
level check error. It will get CPF4131: Level Check On File
XXX in Library YYY with member ZZZ. Your CL program could
monitor for that error to allow you to gracefully exit the
prgram.
If you are doing an OVRDBF this will not cause a level
check because all you are doing is pointing to another
file. The program opening the file will generate the Level
Check error
Regards
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
what are the key words you must use when using a subfile?
How to write record if no field or the field are different in physical file in rpgle ?
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.
How can we know running job is batch or interactive?
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?
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 would display prime numbers using CL program?
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.
Explain mdt?
how do I declare a table or array in rpg iv?
What is a record lock error?
what is data area and how it is used in rpg program ?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
what do you mean by an input subfile, what are the keywords required?
What is ment by record level identifier?