In DataStage server,
1. I have created a database node and alias that map to remote database under the DB2 instance db2inst1, and the connection is ok.
2. run db2grant.sh, but the following message return.
3. run db2setup.sh, many message return. some have line number, but some havn't.DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0554N An authorization ID cannot grant a privilege to itself.
SQLSTATE=42502
DB20000I The SQL command completed successfully.
DB20000I The TERMINATE command completed successfully.
4. Use DB2 API plug-in stage to test server connectivity. It works well. It can load, unload and delete normally.LINE MESSAGES FOR db2uexpm.bnd
------ --------------------------------------------------------------------
SQL0038W The bind option SQLERROR CONTINUE has been
activated since it is required when binding this DB2-supplied
list file to DB2/MVS, SQL/DS, or OS/400.
2508 SQL0804N The application program parameters for the current
request are not valid. Reason code "103". If a host
variable or SQLVAR in the SQLDA is invalid then: host
variable/SQLVAR number = "1", SQLTYPE = "964", SQLLEN = "4",
host variable/SQLVAR type = "INPUT". SQLSTATE=07002
2556 SQL0804N The application program parameters for the current
request are not valid. Reason code "103". If a host
variable or SQLVAR in the SQLDA is invalid then: host
variable/SQLVAR number = "1", SQLTYPE = "964", SQLLEN = "4",
host variable/SQLVAR type = "INPUT". SQLSTATE=07002
2652 SQL0804N The application program parameters for the current
request are not valid. Reason code "103". If a host
variable or SQLVAR in the SQLDA is invalid then: host
variable/SQLVAR number = "1", SQLTYPE = "960", SQLLEN = "4",
host variable/SQLVAR type = "INPUT". SQLSTATE=07002
2699 SQL0804N The application program parameters for the current
request are not valid. Reason code "103". If a host
variable or SQLVAR in the SQLDA is invalid then: host
variable/SQLVAR number = "1", SQLTYPE = "960", SQLLEN = "4",
host variable/SQLVAR type = "INPUT". SQLSTATE=07002
2757 SQL0804N The application program parameters for the current
request are not valid. Reason code "103". If a host
variable or SQLVAR in the SQLDA is invalid then: host
variable/SQLVAR number = "1", SQLTYPE = "968", SQLLEN = "4",
host variable/SQLVAR type = "INPUT". SQLSTATE=07002
2806 SQL0804N The application program parameters for the current
request are not valid. Reason code "103". If a host
variable or SQLVAR in the SQLDA is invalid then: host
variable/SQLVAR number = "1", SQLTYPE = "968", SQLLEN = "4",
host variable/SQLVAR type = "INPUT". SQLSTATE=07002
5. Use DB2 UDB Enterprise stage, and setup as follow.
a. Client Instance Name = db2inst1
b. Database
c. Password
d. Server = db2inst1
e. User
f. Table
6. When trying to view data, the following message occur.
>##E TNDB 000312 18:04:55(000) <DB2_UDB_Enterprise_0,0> Error Idx = 1;
>DB2 Driver Embedded SQL: -30082;
>sqlcode = 08001;
>sqlstate = SQL30082N Attempt to establish connection failed with security reason "17"
>("UNSUPPORTED FUNCTION"). SQLSTATE=08001
>
>##E TNDB 000050 18:04:55(001) <DB2_UDB_Enterprise_0,0> Failed to connect to the database
>##E TNDB 000312 18:04:55(002) <DB2_UDB_Enterprise_0,0> Error Idx = 5;
>DB2 Driver Embedded SQL: -1024;
>sqlcode = 08003;
>sqlstate = SQL1024N A database connection does not exist. SQLSTATE=08003
I have missed some steps? or any other setting error?
Would you please provide me some lights. Thanks a lot.
Thank you for reading.