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



Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share..

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
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

Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share..

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.

Thanks,
Ramki.

Is This Answer Correct ?    7 Yes 0 No

Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share..

Answer /

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

Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share..

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

Post New Answer

More RPG400 Interview Questions

what is kids-rpg?

0 Answers   IBM,


What is the purpose of PUTOVR keyword?

2 Answers  


The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?

6 Answers  


Interviewer asked me write down DDS for load all subfile .can anybody write dds

0 Answers  


what is edit word and edit code

0 Answers   Cap Gemini,






How can we change element of compile time array?Can we do so

1 Answers   TCS,


if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.

10 Answers   Four soft,


Why Rpg/400 is Famous?

2 Answers   IBM,


Need a sql query: retrive all duplicate records in table

3 Answers  


IN RLU what are the record level keyword is used?

5 Answers   iGate, TCS,


when will come session device error?

4 Answers   TCS,


What is the purpose of FRCDTA keyword?

3 Answers   IBM,


Categories