odbc in i5/OS
160 pts.
0
Q:
odbc in i5/OS
I need to know how i can create an data source name or a odbc connection for a database in i5/OS. Kindly guide me.
ASKED: Jul 17 2008  4:31 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
395 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Assuming that you are using Windows XP, on Configuraiton Panel select "Admin tool" Icon and then "ODBC Data source"

Then, on the "System data source" tab press the "Add" button.

A new Window would pop up to give you the existing ODBC driver list on your PC.

Assuming that you are using Client Access, Select "Client Access ODBC Driver (32 bit) .

Another Window would pop up.

On the first tab:
- Select your AS/400 in the "System" drop down list.
- Give a name to your DSN in the "Data source name" field
- If you want to specify connection option (User profile, Signon dialog prompting) press the "Connection Option button to specify information.

On the second tab:
- Specify the SQL default library. This library will be your targetted library (for example if you create table in your SQL instruction without specifying a library)
- In the library list field, specify all libraries that you want to access seperated by a space.

On the 3rd tab:
- Specify the package library (This library will eventually contain your SQL package basic objects to communicate between yous AS/400 and your PC) .QGPL (default value) is fair enough.

For all other tab, you chould leave it as it is with default values.

There you go !

Have fun !

__________________
Taz
Last Answered: Jul 17 2008  2:17 PM GMT by DanTheMan 2   395 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Leah Rosin   480 pts.  |   Jul 17 2008  2:30PM GMT

Jacky,
These answers and tips from <a href="http://Search400.com" title="http://Search400. " target="_blank">Search400.com</a> might be helpful with this problem.
Accessing AS/400 data using Excel ODBC drivers
Redirect ODBC to a separate subsystem
Secure implementation of ODBC on the iSeries
i5/OS and Microsoft Office Integration Handbook, Third Edition — Chapter 3

 

Jacky   160 pts.  |   Jul 18 2008  11:28AM GMT

Is there any need to install odbc driver in i5/OS machine.

 

DanTheMan 2   395 pts.  |   Jul 18 2008  2:31PM GMT

Hi Jacky !

Nop ! no need’s to install anything on the 400.

The only thing you have to do is to make sure QSERVER and QSYSWRK sub-system have to be active. !

_________________
Taz

 
0