× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



10+ years ago, I used LVLCHK(*NO) quite often with no ill-effects as long as you add the new fields to the end of the record format.

My understanding is that files listed in F-Specs as an externally describe will create "pseudo" I-Specs at compile time for fields of the file's record format that are actually used. The program will continue to use those specifications until the program is re-compiled. If you made changes to an existing field or place new fields in the middle of the format, you will run into problems. Programs that are not re-compiled will treat the file with its last known pseudo record format "I-Specs".

You can freely use "I-Specs" that do not have all the fields of the record format listed. In fact, externally described files only create pseudo I-Specs for the fields that is actually used by the program. In Debug, you cannot view fields of a record format that are not used in the program because their "I-Spec" were never created.

I do not recommend LVLCHK(*NO), but as long as you understands the risks, you shouldn't have any issues.

Rich


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Dave
Sent: Friday, January 29, 2021 6:11 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: LVLCHK(*NO)

Hi,



I was rather surprised to discover that in my current shop, it is a regular practice to use files in this way, thus avoiding (sometimes) the need to recompile some of the programs sources where they are declared.

I’ve just modified such a file, placing a couple of new fields at the end of the DDS. The program seems to function normally. But what happens exactly when the program reads the file ? Surely, the memory pointing to the new data somewhere is modified. Where is it and how can one be sure there can be no ill effects ?



Thanks !
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.