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



The easiest way to determine the difference is to do a DSPFFD against one of
the older files, and the file with the different level id and compare them
manually.

The format level id is made up of format name, field names, field types,
field lengths, field CCSID (off the top of my head).

Crispin.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Kelley
Sent: Tuesday, January 15, 2008 3:57 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Level Check Issue


Doing some digging, we have transaction files dating back to 2000. All of
the files, 2000 - 2007 and the program have a level of 360F5E7996A95. The
2008 file has a level of 3A66B0EAEFC14. They were all created using the same

DDS with CRTPF. The program uses a EXTFILE on the F spec as the users can
pick any date range between 2000 and now. The file name is built in the
program depending on the date entered (OET07, OET08, etc.) and then opened.
Nothing has changed in the DDS for the file, what would cause the level to
be different?

Kelley

----- Original Message -----

From: <rob@xxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Tuesday, January 15, 2008 2:27 PM
Subject: Re: Level Check Issue


If you do a DSPPGMREF against that program you should see something like:
Object . . . . . . . . . . . . . . . . . . : AAAKEY
Library . . . . . . . . . . . . . . . . . : ROB
Object type . . . . . . . . . . . . . . . : *FILE
File name in program . . . . . . . . . . : AAAKEY
File usage . . . . . . . . . . . . . . . : Input
Number of record formats . . . . . . . . : 1
Record Format Format Level Identifier Field Count
DBLR 37530AEC104BE 6

Then, if you do a DSPFD against that file, in that library then the format
level identifier should match.

Now, if they do not, perhaps you compiled this program against the file
back when it was still compiled with "internal" definitions instead of
with the new "external" definitions you mentioned in your email. That
kind of a change would definitely make a difference in the format level
id.
Make sure you're overridden to the new external definition, and recompile.

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.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.