Can anybody tell me, does CL/400 handle LEVEL check while
running the CL program....?
plz share your experience...
Answers were Sorted based on User's Feedback
Answer / 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
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
|Is This Answer Correct ?||11 Yes||0 No|
Answer / ramki
Whenever if you change the structure of PF/LF you should
recompile all the programs which are using the mdified
PF/LF. Otherwise you will get an level check error while
running the program.
|Is This Answer Correct ?||6 Yes||0 No|
it is just like rpg/400 but there are some more cases of level
check error -when we override DBF which have different DS
then ur pgm give level check error-try it
|Is This Answer Correct ?||3 Yes||2 No|
Answer / sankar prosad mohanta
you can't capture the Level check error (39) in running
program. Because you know that is file level error and your
program is already using this file. So you need to compile
the file with current source and recompile the CL program
and run it again.
|Is This Answer Correct ?||1 Yes||0 No|
steps for debugging two rpg programs????
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How to index LF by relative record no (RRN)
what are the array operations?
How can we change element of compile time array?Can we do so
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
Can you copy the records created by the OPNQRYF to other files and how?
How can we search particular records from the database file in RPG. For example, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular 'NAME' field. How can we do the above using SEARCH criteria other than using the IF cond?
suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .
What is a record lock error?
What is the difference between iter and do?
Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir