× 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.



Charles,

I'm not so sure [ok, I know] that the CCSID on fields changes the Record Format Level Identifier.

In fact, do changes to ALWNULL, DEFAULT change the record format level identifier? DEFAULT does not, I just tried it.

I always "ass"umed that the RFID was there to make sure that the RLA I/O buffers go the data in the right format, and CCSID and DEFAULT don't change that.

Now, if I CPYF from the same file except for the field level CCSID, I have to use *NOCHK, because it doesn't like the CCSID difference, but the Record Format Level Idenfifier is the same, and RPG does not care...

Crispin.


----- Original Message ----- From: "Charles Wilt" <charles.wilt@xxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, October 28, 2010 8:15 AM
Subject: Re: Cannot Add a logical file member. Not sure why


Pete,

The "File Level Identifier" changes any time you create the file and
the "Member level identifier" changes when you create a member. But
neither one of those cause level checks.

"Format Level Identifier" is the one you need be concerned about. It
changes whenever the record format changes.
- add/remove fields
- change types or sizes of fields
- change the short system name of a field or the record format name
- change other attributes of the field, CCSID, ALWNULL, DEFAULT...

Basically, any attribute of the field or record format that effects
how the data is seen/handled by the system. In fact, the "format
level identifier" is basically a hash of those various attributes.

So for example, you can change the COLHDG or TEXT of a field without
changing the "Format Level Identifier" and thus without causing a
level check.

HTH,
Charles


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.