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



A file's "Format Level Identifier" is generated from
Record format name
Column _System_ Name, type, position, size, CCSID and possibly Date format
and probably a couple more I'm forgetting :)

Did you use iNav's Retrieve SQL Source function to generate the SQL
DDL from the DDS created object?

If not, then try that. Otherwise, look into the PTFs Rory's link provides..

Lastly. note that "File Level Identifier" is basically the the date
and time the file was created, it has no bearing on level checks.

Charles


On Tue, Jan 31, 2012 at 5:49 PM, Kurt Anderson
<kurt.anderson@xxxxxxxxxxxxxx> wrote:
It's kind of embarrassing that I've been working with the machine (Power, iSeries, etc) for over 10 years, but apparently missed mastering file/format level IDs and when they change, etc.

I'm sure there's some reading I can do, but I have one situation that I wanted to get input on.

We have a SQL file, TAXSTMTP.  We also have a DDS file, CURTAXP.  CURTAXP is like a history/save file of TAXSTMTP.  Our "cur" files are multi-member, so they can't be created via SQL, which is why they are created using DDS source.

These two files, compiled at 'the same time', one after the other, results in the following format IDs:
TAXSTMTP:  43856FE31EAC4
CURTAXP:    43856FE31EAB4

The only difference being the 2nd to last digit.  Is the difference due to one being SQL and the other DDS, or is that a red herring?

It's coming up b/c we have a program that runs with either CURTAXP or TAXSTMTP, but it complains (level check) when trying to run over the file it wasn't compiled over.

Our "cur" files are mostly history files, but there are some used by programs, which is why I'm hesitant to change the file to lvlchk(*no).

Thanks,
Kurt Anderson
Sr. Programmer/Analyst
CustomCall Data Systems
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


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.