trying to connect to AS-400 ODBC source

trying to connect to AS-400 ODBC source

Post by Richard » Fri, 30 Mar 2001 18:13:20



Odd, I've never seen this one. It looks like it is picking up the default
OGPL library OK, but  using*N as some form of database name.

I would guess that the OBDC driver is not correctly configured. I generally
create one ODBC link for each AS400 library (on each machine) I want to pick
up data from, and set the default library for the link to that library
rather than OGPL. When I view the list of tables, I don't get the machine
name in front.

Try using the package designer rather than the wizard, I don't know what the
wizard picks up, as I've never used it.

Hope this helps at least a bit,

Richard


Everytime I bring up my list of files from my AS/400 data source a "N" is
placed in front of each available table.  When I try to preview a transfer
selection I get the following error
SQL0113 "N" is not a valid name.  It should be placing the name of my AS/400
in the box, but it appears that this N is replacing the name of the server.
I have attached two print screens of the error for review.

 
 
 

trying to connect to AS-400 ODBC source

Post by Lexico » Sun, 01 Apr 2001 02:17:50


Finally got it to work.  

  Everytime I bring up my list of files from my AS/400 data source a "N" is placed in front of each available table.  When I try to preview a transfer selection I get the following error
  SQL0113 "N" is not a valid name.  It should be placing the name of my AS/400 in the box, but it appears that this N is replacing the name of the server.  I have attached two print screens of the error for review.

 
 
 

1. Connect to DB2 on AS/400 with JDBC or ODBC

Hallo,

Can anybody show me how to connect DB2 Database mit java.

i can connect to Microsoft- Access with JBDC-ODBC-Bridge like
   public static void main(String args[]) {
      String url   = "jdbc:odbc:BRAIN_ACCESS_OFFLINE";
      try {
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         Connection Kontakt = DriverManager.getConnection( url, "dba",
"sql" );
         Statement Anfrage = Kontakt.createStatement();

i can connect to Oracle with JBDC like

String user = "abct";
String pwd  = "abc";
String host = "10.144.111.222:1521:orcl";
Connection conn;
try {
  DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
   conn =  

How see connect pur JDBC or JDBC-ODBC-Brigde with Database on AS/400
with IP-Adress xxx.xxx.xxx.xxx
user: user1
pw: pw1

I have on my PC an Access-Client from IBM with Driver for ODBC
Client AccessODBC Driver (32 Bit) Verdinn 6.00.00.00

Thanks

Stan

2. lost constraints on snapshot

3. ODBC/DB2 Connect and AS/400 connection prompt.

4. PRINTING IN FP WIN

5. Connect to A/S 400 from Access w/ADO (not ODBC)

6. SELECT statement return too many records

7. SQL 7.0 - Linked Server and AS/400 via AS/400 OLEDB or AS/400 ODBC Driver via MS OLEDB for ODBC

8. 17912-NC-CHARLOTTE-ORACLE-SQL Server-DBA Skills-DBA

9. Programming the AS/400 (Delphi/400 vs LightLib/400 (EasyCom)

10. Trying to Configure Linked AS/400 DB in SQL 2000

11. NT - trying to create an ODBC data source

12. AS/400 connect through ODBC with PHP ? Tried everything...

13. Connecting to AS/400 pf from SQL Server 7