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 |
can anybody explain significance of *loval setll with example code????
What are the types of identifiers?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.
how do you use commitment control in rpg?
How can you delete a record from a file in RPG without using DELETE oppcode?
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?
i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel
What is the length of Signature?
Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.
How to read alternative records in a pf by using rpg?