Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

steps for debugging two rpg programs????

4 Answers  


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

0 Answers   Wipro,


How to index LF by relative record no (RRN)

1 Answers  


what are the array operations?

0 Answers   IBM,


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

1 Answers   TCS,






Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?

1 Answers   Infogain,


Can you copy the records created by the OPNQRYF to other files and how?

2 Answers  


How can we search particular records from the database file in RPG. For example, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular 'NAME' field. How can we do the above using SEARCH criteria other than using the IF cond?

3 Answers   CTS,


suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .

4 Answers   CSC,


What is a record lock error?

0 Answers   Wipro,


What is the difference between iter and do?

0 Answers  


Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir

2 Answers   iGate,






Categories