473,385 Members | 1,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Using SQL against Non DDS files?

Can you use sql to pull back data from non dds files in an AS400 in an
understandable way?

I'm using iSeries Navigator and the SQL scripting window to query
tables in an as400 db2 database. Most of the tables have a DDS and I
can get data back just fine. However there are tables without DDS's
and when I query the table (i.e. select * from LIB.XYZ) I get back one
or a couple of columns with Hex data. Is there a way to get the data
in an understandable format?

The customer does not want to create a DDS on these table because they
say it would add too much of a burden when changes are made and they
would have to update all their programs that access the file.
Any ideas??? I've searched and came up with buttkiss.

Nov 12 '05 #1
2 1708
You shouldn't expect many replies here, as you're on the wrong forum. This
is for IBM's DB2 database.
<je**********@hotmail.com> wrote in message
news:11********************@z14g2000cwz.googlegrou ps.com...
Can you use sql to pull back data from non dds files in an AS400 in an
understandable way?

I'm using iSeries Navigator and the SQL scripting window to query
tables in an as400 db2 database. Most of the tables have a DDS and I
can get data back just fine. However there are tables without DDS's
and when I query the table (i.e. select * from LIB.XYZ) I get back one
or a couple of columns with Hex data. Is there a way to get the data
in an understandable format?

The customer does not want to create a DDS on these table because they
say it would add too much of a burden when changes are made and they
would have to update all their programs that access the file.
Any ideas??? I've searched and came up with buttkiss.

Nov 12 '05 #2
I think the customer's position of "it would add too much of a burden
when changes are made" is a cop-out. Nevertheless, I think you can get
at this DB2 (yes, it is a DB2 database) data using SUBSTR and HEX to
split the one large field into the actual fields. Perhaps you can do
this in a view.

-Stevers

je**********@hotmail.com wrote:
Can you use sql to pull back data from non dds files in an AS400 in an
understandable way?

I'm using iSeries Navigator and the SQL scripting window to query
tables in an as400 db2 database. Most of the tables have a DDS and I
can get data back just fine. However there are tables without DDS's
and when I query the table (i.e. select * from LIB.XYZ) I get back one
or a couple of columns with Hex data. Is there a way to get the data
in an understandable format?

The customer does not want to create a DDS on these table because they
say it would add too much of a burden when changes are made and they
would have to update all their programs that access the file.
Any ideas??? I've searched and came up with buttkiss.

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: COHENMARVIN | last post by:
I'm just starting out in XML for my business, and already I'm given a large and complicated XML schema. If I write XML files based on the schema, is there any tool that 1. Tells me if I'm valid...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
18
by: happyvalley | last post by:
a silly question. when linking a program, the path to include files and library files are given already (-I, -L), why still need to give the names of some library by -l , say -lm for math...
7
by: christian.eickhoff | last post by:
Hi Everyone, I am currently implementing an XercesDOMParser to parse an XML file and to validate this file against its XSD Schema file which are both located on my local HD drive. For this...
1
by: christian.eickhoff | last post by:
Hi, I have a general question regarding the parsing of XSD files, referenced within the namespace using Apache Xerces 2.7.0 (CDT). My current c++ application can parse and validate an XML file...
6
by: bmichel | last post by:
I'd like to use XSV for validating an XML file in Python. I am working on Linux Debian platform. I'm not sure how to install XSV and how to configure it. My goal is to be able to import the XSV...
14
by: aaragon | last post by:
Hi everyone, I've been writing some code and so far I have all the code written in the .h files in order to avoid the linker errors. I'm using templates. I wanted to move the implementations to...
1
by: Lars B | last post by:
Hey guys, I have written a C++ program that passes data from a file to an FPGA board and back again using software and DMA buffers. In my program I need to compare the size of a given file against...
4
by: =?Utf-8?B?VmVlcmFiaGFkcmFpYWggTCBN?= | last post by:
Hi, I have two databases D1 with 6 million records and D2 with 95 thousand records. I need to check Common records from these two databases based on UserID and need to insert into other database...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.