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

RPG/400 faqs?

1 Answers   HSBC,


what is EXCEPT command in rpg and use

1 Answers   Active Brains,


How Commitment and Roll back control is used in as400, explain with real time senario ???

2 Answers   Acolite, HSBC,


How would display prime numbers using CL program?

0 Answers   Hexaware,


How can we know running job is batch or interactive?

0 Answers  






How I can reread the physical file in CL program once the end of file reached in same CL program.

20 Answers   IBM,


how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE

3 Answers   iGate,


In how many ways a session/device error occurs,,, and what is the remedy for it?

3 Answers  


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

0 Answers  


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.

0 Answers   IBM,


1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. If the file is keyed and I have declared the file as well as Key list properly in my program. Still am getting an error message like "Chain/reade operation is not allowed" What may be the case?

6 Answers   Virtusa,


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

0 Answers  


Categories