>Although I agree that LVLCHK(*NO) can be dangerous, how do you add a
>field to a file quickly?
>We use LVCHK(*NO), but always recompile any programs that write or
>update the record format.  This is especially important if the new field
>is not an alpha.
>Art Tostaine, Jr.

AFIK, since you are already re-compiling programs, you'd be better off
declaring LVLCHK(*YES) for all of your files; you'd be no worse off, and
doing so would make if mandatory that all programs had all the fields
correctly lined up with the data in the file.

Using LVLCHK(*NO), any program can write any kind of data anywhere in the
record without regard to field boundaries.  Can you say 'scrambled data,'
girls and boys?

In the days before LVLCHK, there was always the chance that you'd write
blanks ot a numeric field (resulting in the infamous X'40404040' numeric
field errors).

--Paul E Musselman

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].