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



You're right, Chuck.
I changed the varchar to char for a test, and the format level IDs came out the same.

-Kurt

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of CRPence
Sent: Wednesday, February 01, 2012 11:46 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Format Level ID

On 01-Feb-2012 07:27 , Kurt Anderson wrote:
File 1 - DDS: http://code.midrange.com/d9e8f69923.html
File 2 - SQL: http://code.midrange.com/08cab3a254.html

Record length matches
Record format names match
Field Count matches
Number and order of fields matches.
Field names, data types and size of fields should match since File1's
fields are defined as reference fields


SQL has some capability not available to the DDS files so REFFLD may be unable to extract every detail; the REFFLD may have other documented restrictions as well, for how much detail carries. One would hope all of the attributes that are part of the hash for the RcdFmt Level Id would come across. I will see if I can spot the difference; I will be using v5r3, but that should not be an issue for me if the latest PTFs are applied there. Seeing just one VARCHAR, and with ALLOCATE, I wonder if that might be the origin.

Regards, Chuck
--
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 ...

Follow-Ups:
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.