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 will happen two jobs have same name are submitted

5 Answers   CTS,


Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?

3 Answers  


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,


How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program

1 Answers   UST,


1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2++÷ResultLenDHHiLoEq C QTY IFLT *ZERO C QTY MULT -1 QTY C ENDIF a) %ABS b) %TRIM c) %TRIMS d) %UNS

3 Answers   IBM,


What is difference between bind by copy and bind by reference?

0 Answers  


I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?

4 Answers  


1.what are the ARITHMETIC EXPRESSIONS IN CL PGM? 2.How to PASSING PARAMETER TO CL PGM?

1 Answers   NetCracker,


Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?

2 Answers   Cap Gemini,


what is post opcode do

1 Answers   CTS,


what was the robotech rpg?

0 Answers   IBM,


which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?

1 Answers  


Categories