Can anybody tell me, does CL/400 handle LEVEL check while
running the CL program....?
plz share your experience...
Answer Posted / 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 |
Post New Answer View All Answers
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
can I touch the array during treatments?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How can we override a file during runtime in rpg?
How to write record if no field or the field are different in physical file in rpgle ?
what is program status data structure?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
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?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
How Chain operation copies the record's data to the input buffer for the program?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
can you debug ile rpg program using isdb?