What is LEVEL CHECK?

Answers were Sorted based on User's Feedback



What is LEVEL CHECK?..

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

What is LEVEL CHECK?..

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

What is LEVEL CHECK?..

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

What is LEVEL CHECK?..

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

What is LEVEL CHECK?..

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

What is LEVEL CHECK?..

Answer / khanna

sorry i dont knw abt level check

Is This Answer Correct ?    5 Yes 7 No

What is LEVEL CHECK?..

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

Post New Answer

More IBM AS400 AllOther Interview Questions

what is OUTFILE?what is the uses and disadvantage? where we can use this?

2 Answers  


explain the use of dftwrt display keyword?

1 Answers   IBM,


Why would you prefer OPNQRYF than logical file?

1 Answers  


which are the figurative constants used in rpg?

0 Answers   IBM,


1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be interactive one or batch one? 2)How many members can exist in a PF?

7 Answers  






what is a physical file?

1 Answers   IBM,


records can be read/update/deleted with which file?

0 Answers   IBM,


define the purpose of the iter operation?

1 Answers   IBM,


What is the use of OVRDBF ?

1 Answers  


what is the difference between seton lr and retrn?

1 Answers   IBM,


How can we find from which source the program has been compiled for a given RPGLE program object?

5 Answers  


What is the native language of AS/400?

1 Answers  


Categories