× 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 don't say what you tried. I haven't done it but I would guess 9B 0.

Scott


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Matt Olson
Sent: Monday, May 20, 2013 1:40 PM
To: midrange-l@xxxxxxxxxxxx
Subject: INTEGER SQL data type and RPG

Folks,

We have DDS defined files and we need to add an INTEGER column to the
file so we can do a SQL JOIN statement without data type conversions
from a DDS defined file to a SQL DDL define file.

The problem we have is if we use a DDL (SQL) generated table that has an
integer column defined on it and do a DSPFFD on that file we get the
following:

Data Type: BINARY
Field Length: 9 0
Buffer Length: 4
Buffer Position: 1

We so far have been unable to replicate this type of field with a DDS
Spec.

How do we represent an INTEGER in DDS or are we required to convert this
to SQL DDL defined file and get rid of the DDS Spec?

Thanks,

Matt


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-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.