Reg - iseries/ AS400 & DB2
Hi Gurus,
I have knowledge in SAP Basis & Security, i need to study iseries \ As400 & DB2. Pls inform me what are the topics i need to covered for my work related.
My company config is - SAP on DB2 for i5/0S.
Thanks & Regards
Rajesh.
Hi,
you should have a look at:
http://www.easymarketplace.de/iSeries-Docu.php
especially on:
- New "Implementing SAP applications on the IBM System i platform with IBM i5/OS" Redbook (SG24-7166-00) in the web
- New "An Overview of Installing SAP applications on System i models" Redpaper (REDP-4189-00) in the web
- Old, but still in use "Implementing SAP R/3 on OS/400" Redbook (SG24-4672-03) in the web
Regards
Volker Gueldenpfennig, consolut international ag
http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de
Similar Messages
-
Error with DG4ODBC while setting up connectivity from oracle to IBM iSeries AS400 version V7R1
Hi,
I have Enterprise linux 64-bit hosting Oracle 11gR2 64-bit (11.2.0.1) database. I have access to IBM iSeries AS400 version V7R1. I am trying to connect to IBM iSeries from Oracle Database through ODBC connectivity using Database Link. The following is what I have done.
On the Database (Linux) host Installed iSeriesAccess-7.1.0-1.0.x86_64.rpm provided by IBM.
my odbcinst.ini has the following entries:
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1
[iSeries Access ODBC Driver]
Description = iSeries Access for Linux ODBC Driver
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
NOTE1 = If using unixODBC 2.2.11 or later and you want the 32 and 64-bit ODBC drivers to share DSN's,
NOTE2 = the following Driver64/Setup64 keywords will provide that support.
Driver64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
Threading = 2
DontDLClose = 1
UsageCount = 1
[iSeries Access ODBC Driver 64-bit]
Description = iSeries Access for Linux 64-bit ODBC Driver
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
Threading = 2
DontDLClose = 1
UsageCount = 1
The odbc.ini has the following entries:
[ODBC Data Sources]
dg4odbc = connection to db2
[dg4odbc]
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Description=iSeries Access for Linux ODBC Driver
LogonID=
Password=
Address= (IBM host IP Address)
location=Vm520
noprompt=true
system= (IBM host IP Address)
UNICODE=UTF-8
Naming = 0
ConnectionType = 0
CommitMode = 2
ExtendedDynamic = 0
AllowDataCompression = 1
LibraryView = 0
AllowUnsupportedChar = 0
ForceTranslation = 0
Trace = 0
made sure I could connect via ODBC and DSN using the following command:
isql dg4odbc oracle oracle1 -v
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL>
SQLRowCount returns -1
600 rows fetched
SQL>
could query the table in a library on AS400.
The $ORACLE_HOME/hs/admin/initdg4odbc.ora has the following entries:
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = dg4odbc
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME=/etc/newlib/libodbc.so
HS_FDS_TRACE_LEVEL = 255
HS_FDS_SUPPORT_STATISTICS=FALSE
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
# Environment variables required for the non-Oracle system
The listener entries are as follows:
(SID_DESC =
(SID_NAME = dg4odbc)
(ORACLE_HOME = /opt/oracle/dbs/product/11.2.0/dbhome_1)
(PROGRAM = dg4odbc)
Stopped and started the listener.
The TNS entry is as follows:
armcdb2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = vmw-dev-rmsdb.xxx.vmc)(PORT = 1521))
(CONNECT_DATA =
(SID=dg4odbc)
(HS=OK)
Could tnsping :
oracle@rmsdev[/opt/oracle/dbs/product/11.2.0/dbhome_1/network/admin]$ tnsping armcdb2
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-JUL-2013 16:01:23
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/opt/oracle/dbs/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = vmw-dev-rmsdb.xxx.vmc)(PORT = 1521)) (CONNECT_DATA = (SID=dg4odbc)) (HS=OK))
OK (0 msec)
created a public database link as follows:
SQL> create database link samplink connect to "oracle" identified by "oracle1" using 'armcdb2';
Database link created.
When I run a select query I get errors as follows:
SQL> select * from mdiaz.AREMAIL@samplink;
select * from mdiaz.AREMAIL@samplink
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
408
Below is the Trace file of dg4odbc:
Oracle Corporation --- THURSDAY JUL 11 2013 16:06:03.627
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY JUL 11 2013 16:06:03.627
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "dg4odbc"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:dg4odbc
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=871
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=871
HOCXU_SEM_VER=112000
Entered hgolofn at 2013/07/11-16:06:03
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/etc/newlib/libodbc.so"
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLAllocHandle
symbol_peflctx=0xaab7c2f0
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLBindCol
symbol_peflctx=0xaab7c9d0
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLBindParameter
symbol_peflctx=0xaab7cb6c
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLCancel
symbol_peflctx=0xaab7d416
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDescribeParam
symbol_peflctx=0xaab7f7dc
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDisconnect
symbol_peflctx=0xaab7f978
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLEndTran
symbol_peflctx=0xaab7fe42
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLExecute
symbol_peflctx=0xaab808ac
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLFetch
symbol_peflctx=0xaab80b5c
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLFreeHandle
symbol_peflctx=0xaab816aa
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLFreeStmt
symbol_peflctx=0xaab82144
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetData
symbol_peflctx=0xaab83ad8
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetEnvAttr
symbol_peflctx=0xaab84e42
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetFunctions
symbol_peflctx=0xaab84fce
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLMoreResults
symbol_peflctx=0xaab85a0a
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLNumResultCols
symbol_peflctx=0xaab85fba
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLParamData
symbol_peflctx=0xaab86102
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLPutData
symbol_peflctx=0xaab871fc
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLRowCount
symbol_peflctx=0xaab87364
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetEnvAttr
symbol_peflctx=0xaab89054
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetDescRec
symbol_peflctx=0xaab88e20
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLColAttributeW
symbol_peflctx=0xaab7d6ba
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLColumnsW
symbol_peflctx=0xaab7e264
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLConnectW
symbol_peflctx=0xaab7e6b4
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDescribeColW
symbol_peflctx=0xaab7f39e
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDriverConnectW
symbol_peflctx=0xaab7fa9a
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLExecDirectW
symbol_peflctx=0xaab805e6
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLForeignKeysW
symbol_peflctx=0xaab80de6
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetConnectAttrW
symbol_peflctx=0xaab82714
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDescFieldW
symbol_peflctx=0xaab83c76
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDescRecW
symbol_peflctx=0xaab83fbe
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDiagFieldW
symbol_peflctx=0xaab8448a
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDiagRecW
symbol_peflctx=0xaab84916
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetInfoW
symbol_peflctx=0xaab85136
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetStmtAttrW
symbol_peflctx=0xaab85456
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetTypeInfoW
symbol_peflctx=0xaab8576e
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLPrepareW
symbol_peflctx=0xaab863b0
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLPrimaryKeysW
symbol_peflctx=0xaab8667c
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLProcedureColumnsW
symbol_peflctx=0xaab86a14
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLProceduresW
symbol_peflctx=0xaab86e64
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetConnectAttrW
symbol_peflctx=0xaab874ac
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetStmtAttrW
symbol_peflctx=0xaab896c8
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetDescFieldW
symbol_peflctx=0xaab88b00
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLStatisticsW
symbol_peflctx=0xaab89e64
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLTablesW
symbol_peflctx=0xaab8a668
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Exiting hgolofn, rc=0 at 2013/07/11-16:06:03
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2013/07/11-16:06:03
hostmstr: 0: HOA After hoainit
hostmstr: 0: HOA Before hoalgon
Entered hgolgon at 2013/07/11-16:06:03
reco:0, name:oracle, tflag:0
Entered hgosuec at 2013/07/11-16:06:03
Exiting hgosuec, rc=0 at 2013/07/11-16:06:03
Entered hgopoer at 2013/07/11-16:06:03
hgopoer, line 233: got native error 408 and sqlstate 410; message follows...
408
Exiting hgopoer, rc=0 at 2013/07/11-16:06:03
hgolgon, line 193: calling SQLSetConnectAttr got sqlstate 410
Exiting hgolgon, rc=28500 at 2013/07/11-16:06:03 with error ptr FILE:hgolgon.c LINE:193 FUNCTION:hgolgon() ID:Connection Attribute: TRACE
hostmstr: 0: HOA After hoalgon
RPC Calling nscontrol(0), rc=0
hostmstr: 0: RPC Before Exit Agent
hostmstr: 0: HOA Before hoaexit
Entered hgoexit at 2013/07/11-16:06:03
Exiting hgoexit, rc=0
hostmstr: 0: HOA After hoaexit
hostmstr: 0: RPC After Exit Agent
I have looked up the errors on Oracle forums and could not get any valuable help anywhere.
Can someone kindly help out where I am going wrong?
Thanks,
Ram.Hello kgronau,
Thank You very much for your recommendations. I removed the parameter HS_FDS_TRACE_LEVEL = 255.
I added HS_FDS_FETCH_ROWS=1 and also HS_NLS_NCHAR = UCS2
Tested my sql statement, which yielded the result as follows:
SQL> select * from mdiaz.AREMAIL@samplink;
select * from mdiaz.AREMAIL@samplink
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
㈵″㠵6
SO I thought I would give a try of removing the line HS_NLS_NCHAR = UCS2
and again tested my sql statement and it worked like a charm!!!!
I tested a count(*) and got the results back.
SQL> select count(*) from mdiaz.AREMAIL@samplink;
COUNT(*)
600
I really appreciate your valuable pointers and help.
Thanks once again!!!
Ram. -
Connecting DS 4.0 to AS400 DB2 7.1
Hi all,
We are going to have POC and we have very limited time so that we cannot have lab environment in our company. Our scenario is like this:
We will have DS 4.0 installed on Linux Suse and the reposistory will be on Oracle. I know this connecting to databases with ODBC we have to do some kind of configuration on DS machine. My first question what do I do to connect DS4 from my client DS 4.0.
After I connect to DS 4.0, my source database will be AS400 DB2 7.1. We will be loading data from AS400 DB2 7.1 to SAP HANA. I was checking DS the other day and when I tried to create a Data Store for DB2 there is only 2 options which are DB2 UDB 8.x and DB2 UDB 9.x. My second question, as I mentioned earlier my source will be AS400 DB2 7.1 and since there is no direct connection on DS for 7.X version of DB2, am I going to connect to AS400 DB2 7.1 with Generic ODBC? Is it downward compatible? Or what do I have to do to connect to this AS400 DB2 7.1 system?
I really need answers on these 2 questions. I don't have time to set up a lab environment so I have to make everything ready before I start this POC and I have really limited time. I have to finish with installations, ETL and reporting in 2 days.
Please help. Thanks a lot.Thanks for replay! I am getting this error when ever i am executing the job..
we need to update records in DB2 database table on AS/400 using Business Objects Data Integrator 11.7. Data integrator Designer version is 11.7.3 Drivers installed are iSeries ACCESS ODBC Driver 11.0.2,CLIENT ACCESS ODBC DRIVER 11.0.2
We are able to do the update for a single record, but while doing Bulk Update, we are getting below error message, Can anyone help on this.
DBS-070401: ODBC DATA SOURCE Error Message for Operation : <[IBM][iSeries Access ODBC Driver]Driver not capable.> RUN-051005: Execution of for target failed. Possible causes: (1) Error in the SQL syntax; (2) Database connection is broken; (3) Database related errors such as transaction log is full, etc.; (4) The user defined in the datastore has insufficient privileges to execute the SQL. If the error is for preload or postload operation, or if it is for regular load operation and load triggers are defined, please check the SQL. Otherwise, for (3) and (4), please contact your local DBA. -
Hi,
i like to migrate a As400 DB2 database objects to oracle database,
How can do get it?
I'm use the Workbench, but did not functio
I may to install the client Access for AS400 software?
Thanks,
ArturoGRS,
There is no public plugin for DB2 on the iSeries. however, contact Bernhard Duechting @ [email protected] and he will be able to provide you with the information you need to progress this.
Barry -
Issues with universes for AS400 DB2 databases
I create Business Objects universes and Webi reports accessing data from AS400 DB2 databases (via ODBC). I have a couple of queries that I have been having trouble resolving. I hope someone in the forum is working on a similar set-up.
My queries are as follows:
1. If I have 2 different libraries with identical set of tables (physical files), after creating a universe in designer based on the tables in one library, is there an automated way to create another identical universe pointing to or referring to the 2nd library? Every physical file and field structure within it are the same. The only difference is that they are located in 2 different libraries, containing different data.
2. For physical files with 'multiple members', the reports generated by Business Objects seem to only access the data in the first member of the file. Is there a setting where this behavior can overidden or by passed. I think 'multiple members' is a characteric that unique to tables in AS400 DB2.
Would really appreciate the help! Thanks!Since it doesn't appear the Online Capture for DB2 is supported, I am trying to work around this and do the Offline capture.
I copied the generated files from the Offline Capture option (startDump.sh,getForeignKeys.sh,getProcedures.sh, and db2v9.ocp)to the Linux box where the DB2 Database resides.
After connecting to the DB2 Database (DB2DB1), I entered:
sh startDump.sh DB2DB1 USRNAME USRPSWD
to run the script startDump.sh. It produced files:
Connect.dat
Schemas.dat
It also created a subfolder (DB2DB1) containing:
checkConstraints.dat
foreignKeys.dat
indexes.dat
primarykeys.dat
routines.dat
synonyms.dat
tables.dat
triggers.dat
views.dat.
My question is what do I do with these files? I believe the documentation said that file db2v9.ocp was supposed to be modified, but it wasn’t modified after I ran startDump.sh. Was I supposed to run getForeignKeys.sh and getProcedures.sh, or did startDump.sh already run these? Can anyone provide an example of how this is to be run? The documentation doesn't provide a DB2 example.
Note: The DB2 Supplement: http://download.oracle.com/docs/cd/E15846_01/doc.21/e15286.pdf doesn't seem to discuss the offline capture. It doesn't reference the startDump.sh file at all. -
Not Able to create ODBC Connections to AS400 DB2 from OWB 11g
Hi,
Currently i am in the process of setting up of database connections to AS400 DB2 Database from Oracle Warehouse Builder 11g.
I installed Oracle 11.1.0.6.0 and upgraded to 11.1.0.7.0.
I am able to create database links manually but not able to create using oracle warehouse builder.
The error i am getting error
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[IBM][Client Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL7973 - SQL create package for DG4ODBCFBA in REMOTEDB has failed.
ORA-02063: preceding 2 lines from OWB_82
I am trying different methods from the last 2 days.
Please help me in this situation.
Thanks.
Salih KMMy Http server port is 7777. used that , it doesn't work. Using 7101(admin server port) also doesn't work.
Testing JSR-160 Runtime ... failed.
Cannot establish connection.
Testing JSR-160 DomainRuntime ... skipped.
Testing JSR-88 ... skipped.
Testing JSR-88-LOCAL ... skipped.
Testing JNDI ... skipped.
Testing JSR-160 Edit ... skipped.
Testing HTTP ... success.
Testing Server MBeans Model ... skipped.
1 of 8 tests successful.
Both the cases only HTTP is success.
Thanks
Manish -
Problem connecting weblogic 5.1 to AS400 DB2 version
Hi All,
I am having problem connecting from a weblogic server 5.1 version on win2000 machine to AS400 DB2 version using iToolbox jdbc driver "com.ibm.as400.access.AS400JDBCDriver".The following is the weblogic connectionpool :
weblogic.jdbc.connectionPool.DBPool=\
url=jdbc:as400://3.3.111.111/MySchema,\
driver=com.ibm.as400.access.AS400JDBCDriver,\
loginDelaySecs=10,\
initialCapacity=1,\
maxCapacity=10,\
capacityIncrement=1,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshTestMinutes=10,\
props=user=xxx;password=xxx
weblogic.allow.reserve.weblogic.jdbc.connectionPool.DBPool=\
everyone
I am getting the following exception:
Fri Jan 28 05:38:16 EST 2005:<E> <JDBC Pool> Failed to create connection pool "DBPool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.IllegalMonitorStateException: current thread not owner
at com.ibm.as400.access.PortMapper.getServerSocket(PortMapper.java:150)
at com.ibm.as400.access.AS400ImplRemote.signonConnect(AS400ImplRemote.java:1831)
at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java, Compiled Code)
at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2581)
at com.ibm.as400.access.AS400.promptSignon(AS400.java, Compiled Code)
at com.ibm.as400.access.AS400.signon(AS400.java:3375)
at com.ibm.as400.access.AS400.connectService(AS400.java:821)
at com.ibm.as400.access.AS400JDBCConnection.setProperties(AS400JDBCConnection.java:2764)
at com.ibm.as400.access.AS400JDBCDriver.prepareConnection(AS400JDBCDriver.java:1040)
at com.ibm.as400.access.AS400JDBCDriver.initializeConnection(AS400JDBCDriver.java, Compiled Code)
at com.ibm.as400.access.AS400JDBCDriver.connect(AS400JDBCDriver.java:355)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:146)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:108)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java, Compiled Code)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java, Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java, Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:255)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java, Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
Can anyone let me know is there any problem with connection pool configuration or do i have to make any configuration changes on DB2.Why is it throwing current thread not a owner.
Pl help.Hi Joe,
Can i use jdk1.3.1 version with weblogic 5.1 version to get rid of this problem or will this change in jvm will effect my existing production applications?
-thanks
bharani
Hi Joe,
Yes the same code put into jsp scriplet is also
throwing the error
"java.lang.IllegalMonitorStateException: current
thread not owner".It would be really wonderfull if
you can get some info on the stacktrace.The version
of jdk we are using is jdk1.2.2, is the problem
anyway related with the jdk version as the standalone
program i have tested ran on jdk1.3.1 and jdk1.4
versions.
Thanking you in advance,
-bharani
bharani noudu wrote:
Hi Joe,
Thanks for the quick reply.As per your suggestion
i
am able to run a simple 15 line
standalone program with jdk versions of jdk1.3.1and jdk1.4.1 and jt400.jar in the
classpath, but i am not able to use the sameconfiguration details in the connection
pool created in weblogic or the same code pasted
in
JSP.Both are throwing the exception
that "current thread is not a owner".Is thisanything related with the web container
implementation of weblogic 5.1 or the jdk
version
of weblogic 5.1 ?
Can you please help.I am pasting the code i usedbelow for your reference.
Hi. If you can put this code in a JSP it throwsthe
"current thread" exception?
Even if there's no pool?
I would contact IBM or post to their newsgroups to
explain the stacktrace.
The Driver.connect() call just takes a URL and
properties (user and password).
There's nothing a user could do to cause such a
problem.
java.lang.IllegalMonitorStateException: current
thread not owner
at
com.ibm.as400.access.PortMapper.getServerSocket(PortMa
pper.java:150)
at
com.ibm.as400.access.AS400ImplRemote.signonConnect(AS4
00ImplRemote.java:1831)
at
com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplR
emote.java, Compiled Code)
at
com.ibm.as400.access.AS400.sendSignonRequest(AS400.jav
a:2581)
at
com.ibm.as400.access.AS400.promptSignon(AS400.java,
Compiled Code)
atcom.ibm.as400.access.AS400.signon(AS400.java:3375)
at
com.ibm.as400.access.AS400.connectService(AS400.java:8
21)
at
com.ibm.as400.access.AS400JDBCConnection.setProperties
(AS400JDBCConnection.java:2764)
at
com.ibm.as400.access.AS400JDBCDriver.prepareConnection
(AS400JDBCDriver.java:1040)
at
com.ibm.as400.access.AS400JDBCDriver.initializeConnect
ion(AS400JDBCDriver.java, Compiled Code)
at
com.ibm.as400.access.AS400JDBCDriver.connect(AS400JDBC
Driver.java:355)
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class TestDb2 {
public static void main(String[] args) {
Connection connection = null;
try{
DriverManager.registerDriver(newcom.ibm.as400.access.AS400JDBCDriver());
connection = DriverManager.getConnection
("jdbc:as400://1.11.111.1/MySchema","test","test");
System.out.println("step 1");
Statement st = connection.createStatement();
System.out.println("step 2");
ResultSet rs = st.executeQuery("SELECT * FROMMYDB.EMPLOYEE_V");
while(rs.next()){
System.out.println("empid "+rs.getString(1));
}catch(Exception e){
System.out.println("step 3"+e);
e.printStackTrace();
finally{
if(connection!=null){
try {
connection.close();
} catch (SQLException e1) {
e1.printStackTrace();
Thanking you in advance,
-bharani
Hi. That's a very odd internal IBM driver error.
It's
mesage is not helpful, and can't be due to
anything
you or WebLogic did. Can you get that driver wowork
on it's own, using it's own example programs? If
you can get a simple 15-line program to succeed
making
a connection, then we can get WebLogic to do the
same.
Show me that program and I'll show you the pool
definition.
Joe
bharani noudu wrote:
Hi All,
I am having problem connecting from a weblogicserver 5.1 version on win2000 machine to AS400
DB2
version using iToolbox jdbc driver
"com.ibm.as400.access.AS400JDBCDriver".Thefollowing
is the weblogic connectionpool :
weblogic.jdbc.connectionPool.DBPool=\
url=jdbc:as400://3.3.111.111/MySchema,\
driver=com.ibm.as400.access.AS400JDBCDriver,\
loginDelaySecs=10,\
initialCapacity=1,\
maxCapacity=10,\
capacityIncrement=1,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshTestMinutes=10,\
props=user=xxx;password=xxx
weblogic.allow.reserve.weblogic.jdbc.connectionPool.
DB
Pool=\
everyone
I am getting the following exception:
Fri Jan 28 05:38:16 EST 2005:<E> <JDBC Pool>
Failed
to create connection pool "DBPool"
weblogic.common.ResourceException:weblogic.common.ResourceException:
Could not create pool connection. The DBMS
driver
exception was:
java.lang.IllegalMonitorStateException: currentthread not owner
at
com.ibm.as400.access.PortMapper.getServerSocket(Port
Ma
pper.java:150)
at
com.ibm.as400.access.AS400ImplRemote.signonConnect(A
S4
00ImplRemote.java:1831)
at
com.ibm.as400.access.AS400ImplRemote.signon(AS400Imp
lR
emote.java, Compiled Code)
at
com.ibm.as400.access.AS400.sendSignonRequest(AS400.j
av
a:2581)
at
com.ibm.as400.access.AS400.promptSignon(AS400.java,
Compiled Code)
at
com.ibm.as400.access.AS400.signon(AS400.java:3375)
at
com.ibm.as400.access.AS400.connectService(AS400.java
:8
21)
at
com.ibm.as400.access.AS400JDBCConnection.setProperti
es
(AS400JDBCConnection.java:2764)
at
com.ibm.as400.access.AS400JDBCDriver.prepareConnecti
on
(AS400JDBCDriver.java:1040)
at
com.ibm.as400.access.AS400JDBCDriver.initializeConne
ct
ion(AS400JDBCDriver.java, Compiled Code)
at
com.ibm.as400.access.AS400JDBCDriver.connect(AS400JD
BC
Driver.java:355)
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.m
ak
eConnection(ConnectionEnvFactory.java:146)
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.c
re
ateResource(ConnectionEnvFactory.java:108)
at
weblogic.common.internal.ResourceAllocator.makeResou
rc
es(ResourceAllocator.java, Compiled Code)
at
weblogic.common.internal.ResourceAllocator.<init>(Re
so
urceAllocator.java, Compiled Code)
at
weblogic.jdbc.common.internal.ConnectionPool.startup
(C
onnectionPool.java:330)
at
weblogic.jdbc.common.internal.JdbcInfo.initPools(Jdb
cI
nfo.java, Compiled Code)
at
weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcI
nf
o.java:255)
at
weblogic.jdbc.common.internal.JdbcStartup.main(JdbcS
ta
rtup.java:11)
at java.lang.reflect.Method.invoke(Native
Method)
at
weblogic.t3.srvr.StartupThread.runMain(StartupThread
.j
ava:219)
at
weblogic.t3.srvr.StartupThread.doWork(StartupThread.
ja
va, Compiled Code)
at
weblogic.t3.srvr.PropertyExecuteThread.run(PropertyE
xe
cuteThread.java:62)
Can anyone let me know is there any problem
with
connection pool configuration or do i have tomake
any configuration changes on DB2.Why is itthrowing
current thread not a owner.
Pl help. -
Hello,
I am using kodo2.5.0 with the DB2 for OS/400 JDBC Driver.
The following simple code return empty result.
Transaction tran = pm.currentTransaction();
tran.begin();
Query qry = pm.newQuery(Customer.class, "name == \"Mark\"");
Collection result = qry.execute();
System.out.println("Size = " + resutl.size());
tran.commit();
The size SHOULDN'T be zero.
but the following code return the correct obj.
Transaction tran = pm.currentTransaction();
tran.begin();
CustomerId objId = new CustomerId("Mark");
Customer customer = (Customer)pm.getObjectById(objId, true);
tran.commit();
Both codes work fine against DB2 on Windows. only make differents on
DB2/AS400.
The JDBC driver for AS400 should be fine. It works fine for JDBC,
PerparedStatement etc.
It seems all the queries do AS400/DB2 returning emtpy collection.
Is there anyway I can see how many rows get back
from DB by using Kodo?
Any hints are welcome.
Thanks,
pikeIt works.
Thanks, Harald.
Harald wrote:
pike wrote:
Hello,
I am using kodo2.5.0 with the DB2 for OS/400 JDBC Driver.
The following simple code return empty result.
Transaction tran = pm.currentTransaction();
tran.begin();
Query qry = pm.newQuery(Customer.class, "name == "Mark"");
Collection result = qry.execute();
System.out.println("Size = " + resutl.size());
tran.commit();
The size SHOULDN'T be zero.
but the following code return the correct obj.
Transaction tran = pm.currentTransaction();
tran.begin();
CustomerId objId = new CustomerId("Mark");
Customer customer = (Customer)pm.getObjectById(objId, true);
tran.commit();
Both codes work fine against DB2 on Windows. only make differents on
DB2/AS400.
The JDBC driver for AS400 should be fine. It works fine for JDBC,
PerparedStatement etc.
It seems all the queries do AS400/DB2 returning emtpy collection.
Is there anyway I can see how many rows get back
from DB by using Kodo?
Any hints are welcome.
Thanks,
pike
Hello,
i had the same problem (also DB2/AS400 and kodo2.5.2). After setting
com.solarmetric.kodo.DefaultFetchThreshold:-1
in kodo.properties it worked.
hope it help,
Harald -
As400/db2 to mysql migration
Hi There,
I'd like to migrate as400/db2 to MYSQL using MYSQL WORKBENCH. The as400 database has more than 40 GB and version is AS400 - db2vyr1.
Will this tool be useful to migrate? or suggest any other tool which suit for migration.
Thanks with anticipation
GuruYou're using an Oracle forum to ask about MySQL tools. Please use the MySQL forum MySQL :: MySQL Forums instead and close this thread.
- Klaus -
SAP -- XI -- AS400(DB2) scenario configuration?
Hi Experts,
I have a scenario SAP -->XI -->AS400(DB2).
I would like to know the step by step configuration of XI >AS400 (DB2). It will be great if any one can share the docs. Is it a good option to use JDBC adaptor for this scenario? If yes please let me know the steps for XIAS400 configuration.
Thanks & Regards,
Praveen.Hi Praveen,
You can go for JDBC adapter, But, check this link it is also suggesting to use File adapter..
R3-AS400
for JDBC adapter check few links as well
AS400 acess using JDBC adapter
Re: JDCB Connection from XI to AS400
JDBC drivers for DB2 on AS400 V5R3
Sachin -
Migrate AS400 Db2 data to oracle 11 g
Hi All,
Any idea how to migrate data from As400 Db2 to Oracle 11 g?
Thanks,Hi,
If your AS400 DB2 is v4.3 or v4.5 then you could use the Oracle Migration Workbench 10.1.0.4.0. If you have a later version then the current SQL*Developer migration tool cannot be used. It is planned for this to support later AS400 DB2 versions but there is no date for this.
The only option is to manually migrate the tables.
If you have access to My Oracle Support then the following may help -
How To Migrate Non-Oracle Databases For Which a SQL*Developer or Migration Workbench Option Is Not Available (Doc ID 393760.1)
Regards,
Mike -
Weblogic5.1, Transaction involving SQL Svr and AS400/DB2
Hi, after reading quite a few posts regarding this issue I believe to demarcate a
transaction involving SQL Server and AS400/DB2 is not impossible. But we have to
handle the rollback and other stuff on our own. Am I correct? Is there any hack around
this?
I've tried to use an EJB(ejbY) that will insert a record in AS400/DB2 and subsequently
in ejbY, I invoke another EJB(ejbX) that reside in another WL5.1 to insert a record
in SQL Server. Of course this is demarcated with UserTransaction. Technically is
this possible? This is because I've encountered some exceptions with this hack and
would like to seek some advise.
Thanks.
[apps.zip]
Hi,
If you have access to My Oracle Support then have a look at this note -
How To Migrate Non-Oracle Databases For Which a SQL*Developer or Migration Workbench Option Is Not Available (Doc ID 393760.1)
Regards,
Mike -
Trouble on Create Entity Object from AS400/DB2 version 5 rev 4
Hi, hope any1 can help..
I using jt400.jar (com.ibm.as400.access.AS400JDBCDriver) with
jdbc url : jdbc:as400://host
to create connection.
However, when I try to create entity or business component based on the connection, it gave me "Attribute list error":
java.lang.NullPointerException
at oracle.jbo.dt.jdevx.db.DBApiUtil.fillAttributeListInternal2(DBApiUtil.java:1249)
at oracle.jbo.dt.objects.JboDBUtil.fillAttributeListInternal2(JboDBUtil.java:87)
at oracle.jbo.dt.objects.JboUtil.fillAttributeListInternal2(JboUtil.java:2749)
at oracle.jbo.dt.objects.JboUtil.fillAttributeListWithException(JboUtil.java:2711)
at oracle.jbo.dt.objects.JboUtil.fillAttributeListInternal(JboUtil.java:2687)
at oracle.jbo.dt.objects.JboUtil.fillAttributeList(JboUtil.java:2626)
at oracle.jbo.dt.objects.JboUtil.fillAttributeList(JboUtil.java:1059)
at oracle.jbo.dt.ui.main.DtuUtil.createEntityFromThread(DtuUtil.java:562)
at oracle.jbo.dt.ui.pkg.PKEntityThread.createEntity(PKEntityThread.java:898)
at oracle.jbo.dt.ui.pkg.PKEntityThread.createEntity(PKEntityThread.java:719)
at oracle.jbo.dt.ui.pkg.PKEntityThread.doEntityViewCreation(PKEntityThread.java:537)
at oracle.jbo.dt.ui.pkg.PKEntityThread.createObjects(PKEntityThread.java:470)
at oracle.jbo.dt.jdevx.ui.pkg.XPKComponentWizardEntityThread.createObjects(XPKComponentWizard.java:491)
at oracle.jbo.dt.ui.pkg.PKEntityThread.run(PKEntityThread.java:447)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
I had refer other posts, but i might miss out some important piece. Beside, I able to create ViewObject based on sql query. Any1 able to show me some direction..perhaps..thanksThanks ...I tried both SQL92 and db2...and tried both Java & Java Extended for Oracle.. too..I able to connect to the dbase, browse thought the db2 schema n tables, even able to create view object with sql query..just stuck in entity object creation..feel weird n cant find much of documentation on the web to describe this behaviour too..
-
Does Developer2000 work with AS400/DB2
Hi Folks,
Has anyone worked on Oracle Developer 2000 using an AS/400 DB2 as database server? Is it feasible using Oracle Open Client Adapter? Appreciate if you could detail the issues you faced during implementation.
Thanks
RameshI have configed the transparent Gateway in oracle database 9i , the sqlserver transparent Gateway worked prefectly , but the transparent Gateway for AS400 did not work , can you tell me your configration detail .
Thanks a lot . -
Reseting User ddic uflag parameter in Client 00 On Iseries as400 v5r4m0
Hi
I am busy doing a homogenous system copy from my prd system to a new 4th system (for Migration possibilities). I know that at the end of my db copy it will prompt ,me to provide the ddic password. My source system ddic user id (prd) at the moment is locked. I intend backuping up the prd sytem tonight, but i need to reset user ddic first, as whatever gets backed up will come across.
Does anyone know how to reset the uflag paramter of ddic in client 000.
I have only two users in client 000 i.e ddic and sap* and i cant do anythign with sap* as it has no profiles attached to it.(security issue) I know how to do the unlock of the user in oracle i.e
Oracle
Update USR02 set UFLAG=0 where BNAME='DDIC' and MANDT=000.
Can anyone help on the as400 side.Hi Morga,
If I understand correctly, you just need help how to issue SQL commands natively on the iSeries, is that right?
If so, that's how you'd proceed:
Sign on to the machine via green screen as user <sid>OFR and then type STRSQL. You'll then get as screen that allows you to enter the SQL statement like you suggested it for Oracle.
STRSQL is a product which does not come for free. So, if you do not have that installed, you could use SQLUTIL. SQLUTIL is free, but not per default on the system. (Search for library QGPTOOLS.)
In case you don't have it, read SAP note 68732 for more information of how to get it.
Hope that helps.
Best regards,
Dorothea
Maybe you are looking for
-
How do I find my itunes songs on my computer?
HI, I recently just deleted my entire itunes library. Most of my music was from cd's and I saved those files in one of my folders, but also I realized that I also had quite a bit of songs I bought from itunes. Does anyone know where on the computer m
-
Single R/3 system feed 2 bw systems
Hi Experts: We have a scenario where a single consolidated R/3 system will be feeding 2 BW systems (Europe and Americas). We have some common extractors used for both BW systems. I need to find out how do we handle the Delta Mechanism for the extract
-
Ok I've got it. Before I dump enough stuff to install it on my iMac G5 with a mere 768Mb of RAM and a pathetic 80Gb drive (but I have an external) do you guys reckon it will run OK or do I have to buy a new iMac before Leopard comes out! Mark
-
FMS in the Sales Order from CRD1
Hi Experts, I tried the below FMS SELECT T1.[U_TINNo] FROM ORDR T0 inner join CRD1 T1 ON T0.[ShipToCode] = T1.[Address] WHERE and T1.[AdresType] ='S' AND T0.[CardCode] = $[$08.1.0] its not populating. could anyone guide me ? Regards, Dwarak
-
Dear Adobe, woe is me and my CS4
I have for a few years been using CS2 then about two months ago purchased CS3. It ran okay. I was entitled to a free upgrade to CS4 which I have installed but I now have many problems in trying to get CS4 to run properly. 1. Sometimes CS4 will open b