What is LEVEL CHECK?
Answers were Sorted based on User's Feedback
Answer / shobhit
As per my knowledge…
When ever we compiled physical file, the system generates
unique code or level code for identifying the file.
And when ever we compiled RPG program using that file, the
compiler store the Level code of physical file for further
reference. That’s call lever check.
Ex: If you compiled the RPG program and after that made
some changes in physical file, and then call the RPG
program without compiling again it will give the Level
check error.
Please correct me if I am wrong 
Is This Answer Correct ? | 83 Yes | 7 No |
Answer / mithun paul
Whenever PF is compiled, the system generates unique code
for identifying the file for future reference.
When we compile the Program that uses the PF, will use that
unique code of the PF.
If we now call the program, then its run successfully.But
if we change the PF and recompile the PF, the system
fgenerates a new unique code for that PF. So, our program
Don't have this unique code and hence terminates abnormaly
with a Level Check error.
The solution of Level Check error is when ever it happens
we have to either compile the PF with Level Check parameter
value *NO or we have to compile the program again.
Please let me know anyone, if i am wrong.
Mithun Paul
KMG Infotech Ltd.
Kolkata
Is This Answer Correct ? | 61 Yes | 3 No |
Answer / abhishek
As per me ...Whenever we compile a PF system generates a Rcd
Fmt level identifier , which is a unique no . for record
format . If this file is being used by some pgm and we
change the structure of our PF for ex. we add one more field
or change some existing field length then and compile the PF
, then system generates a new code for the record FMt .
Level check occur when we change PF structure and do not
compile pgm which is using that file . Because the program
will be using the old identifier.
If we want to check identifier then we can ue command DSPFD
for file and for program we can use , DSPPGMREF to see the
FMt level identifier which is used by program for that file.
Is This Answer Correct ? | 23 Yes | 0 No |
Answer / cran
Level check occurs @ scenorios like u are working on rpg
program that has a pf file r a display file,
the program is running properly ith the intial unique
generated. u change a pf r dispaly file field length r
position and try to call the rpg program with out compling
the dds u get a level check error ?
level check *no is not a good practise
Is This Answer Correct ? | 12 Yes | 4 No |
Answer / srujana
When an HLL OBject is not linked with the current DDS then this error is occured called level check Error.
Is This Answer Correct ? | 1 Yes | 2 No |
Answer / shriram
level check error is nothing but when we creating pf and
compile it then system generate its own unique code.if we
use this pf in rpg program then system refers this pf using
unique code this unique code is called level check error
Is This Answer Correct ? | 2 Yes | 12 No |
What is the Function of PDM?
why we use binding directory and service pgm
what is the command used to invoke rlu ?
can you display a empty subfile?
what is the purpose of data structure?
Which of the following operations does NOT zero the field FLDA defined as 4,0? C MOVE *ZEROS FLDA C Z-ADD *ZEROS FLDA C Z-ADD 0 FLDA C MOVE *ALL'0' FLDA C SUB FLDA FLDA C MOVE '0000' FLDA C CLEAR FLDA C MOVE *BLANKS FLDA
What are the two main attributes, which govern the execution of a job?
where exactly we can use OPNQRYF ?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
Hi.can any body give me the code for this quesiton please.Because i dont have to try to enter the code in to the AS/400 server.Please can anybody give the answer for this question with complete code? A smple RPLE pgm which accepts the starting number and ending number as parameter.It then has to count all the odd numbers b/w the accepted range of numbers and display the results/ Ex:if the input parameters are 11 and 30 the result should be 10(11,13,15,17,19,21,23,25,27,29) Please explain and give me the complete code?
Space & Skip Are Which Level Keywords?
What is the purpose of FRCDTA (Force Data) keyword?