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
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 |
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 |
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 |
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 |
I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
what is an online rpg?
how do I declare a table or array in rpg iv?
Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC
What you have to do in the display file when you are using message subfile?
what are the key words you must use when using a subfile?
What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?
i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.
3 members in a databasefile .how to read records from all the members?????????
suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis
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?