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

3 members in a databasefile .how to read records from all the members?????????

4 Answers   CTS,


When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?

5 Answers   Mphasis,


1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?

1 Answers   CSC,


CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?

6 Answers   Satyam,


HOW DO YOU DISPLAY A DISPLAYFILE AT OTHER WORKSTATION? CAN WE MOVE A PHYSICAL FILE? WITHOUT MOVING A FILE?

2 Answers  






What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???

7 Answers   HSBC, Systime,


how to change the length of the field in a physicalfile?

12 Answers  


How to declare the more than one file in cl/400.

13 Answers   IBM,


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

4 Answers  


explain sflclr, sflend, sfldlt, and sflcsrrrn?

0 Answers   IBM,


How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?

3 Answers   HCL,


Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?

1 Answers  


Categories