Advertisement

08.19.2008 at 07:46AM PDT, ID: 23659758
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.0

AS400 to MS Excel - Importing Data.

Asked by KEANEJ in AS / 400

Tags:

I am trying to setup up some MS Excel Files which will import data from an AS400 using the following methods but i am getting mixed results.
In Excel i am using the menu "Data /  Import External Data / New Database Query"
(i would like to use this method in particular because the "Refresh Data" option is very useful for our users)

In Windows XP i have setup an ODBC data source on the "User DSN" tab as follows.

Using "Client Access ODBC Driver (32-bit)
On the Server Tab i have selected
"SQL Naming convention (*SQL)"
SQL defaul library = <left blank>
Library list = TestlibA

OS/400 Version - V5R4M5
PTF Group Level = SF99540
PTF Status = TL57282


On the AS400 the library "TestlibA" has 26 files.
I have run a test transfer on each of the 26 files have found that 14 files will transfer over ok but 12 files will not.
On the 12 files that will not transfer i get the following message:

SQL5001 Column Qualifer or the table <tablename> undefined.

When i looked up this message in google it directed me to the IBM website.
The explanation for the SQL messge was given as .....
Your ODBC Data Source Name (DSN) configuration uses the wrong naming convention. Use the ODBC Administrator to change your DSN to use the proper (*SQL or *SYS) naming convention. Always use *SQL unless your application design specifically expects *SYS.

I then changed the naming convention in the ODBC Data Administrator
from "SQL Naming convention (*SQL)" to "System naming convention (*SYS)"

When i attempted to transfer the same file again i got the following message:

SQL5016 Qualified object name <tablename> not valid

When i looked up this message in google it directed me to the IBM website.
The explanation for the SQL messge was given as .....

Change your naming convention in your iSeries Access ODBC DSN.
Probable cause:
Your ODBC Data Source Name (DSN) configuration uses the wrong naming convention.
Use the ODBC Administrator to change your DSN to use the proper (*SQL or *SYS) naming convention.
Always use *SQL unless your application design specifically expects *SYS.

This has posed a few questions for me.

Is the problem in the in the ODBC Data Source setup ?
Is the problem in the AS400 files ?

All the files are physical files on the AS400
I have compared the files that will and will not transfer (using DSPFD command) and i can see no difference in their structure.
Most of them are produced from AS400 Queries.

Can anyone help?

Regards
John.Start Free Trial
[+][-]08.19.2008 at 08:32AM PDT, ID: 22260731

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.19.2008 at 01:47PM PDT, ID: 22263722

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.20.2008 at 05:03AM PDT, ID: 22268453

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.20.2008 at 06:35AM PDT, ID: 22269233

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.20.2008 at 01:54PM PDT, ID: 22273815

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.21.2008 at 01:31AM PDT, ID: 22277214

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.21.2008 at 03:12AM PDT, ID: 22277713

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.21.2008 at 03:17AM PDT, ID: 22277732

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.21.2008 at 08:39AM PDT, ID: 22280716

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: AS / 400
Tags: SQL5001 & SQL5016
Sign Up Now!
Solution Provided By: murphey2
Participating Experts: 2
Solution Grade: B
 
 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628