lCE
50 pts.
0
Q:
lCE
what is level check error in AS400
ASKED: Jun 25 2008  11:17 AM GMT
0
23625 pts.
0
A:
 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0
  • AddThis Social Bookmark Button

*** Copied from other question ***

Hi,

A Level Check Error indicates that the layout of a file has been changed later than the program trying to access the file has been compiled. This is to ensure that your data remains consistent after file changes. It means that you should re-compile the program.

For example (if you didn't have level checking) - you have a customer file :-

CUSTNO 5,0 - Customer Number
CUSTNM 40A - Customer Name

You have a program which maintains this data file for you. You then change CUSTNO to be 6,0 long and use your program to add a new customer. Your program would fill the first 5 positions of the new 6,0 long customer number with a number and put the first character from the customer name in position 6 of the customer number. Then it would put the rest of the customer name (starting from position 2) in the customer name.

The level checking feature on the AS/400 is to avoid data inconsistencies like the example above.

Regards,

Martin Gilbert.
Last Answered: Jun 25 2008  11:53 AM GMT by Gilly400   23625 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0