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 |
Hi guys. Im in AS/400(RPGLE,CLP) from last 1 year.Now i wan to upgrade my Knowledge in AS/400. Suggest me some new fields & courses which falls under AS/400. Waiting for your quick Response.
what is the difference between the cpyf command crtdupobj command?
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
where we give the MSGSFL in rpg400?
I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?
5 Answers CitiGroup, Symphony,
is this a rpg channel?
steps for debugging two rpg programs????
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
parameters cannot be passed in which one???
I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.
list down and describe the sub systems vailable
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?