Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'SQL1024N A database connection does not exist. SQLSTATE=08003' error while executing 'db2 -x' command through command stage in Datastage 9.1

I'm getting 'SQL1024N A database connection does not exist. SQLSTATE=08003' error, while executing 'db2 -x' command through execute command stage in Datastage 9.1(AIX Server). Can any one please help me out ?

like image 723
Balasubramaniam Selva Perumal Avatar asked Sep 28 '22 14:09

Balasubramaniam Selva Perumal


1 Answers

To connect to DB2 - you need a catalog entry on your Linux server ( or wherever the Datastage in installed)

You may need to check with the datastage administrator.

Use the below command on the server to see all the cataloged db2 databases

db2 list db directory

You may need to source the dsenv before you run this.

like image 124
Ashish Devassy Avatar answered Oct 05 '22 06:10

Ashish Devassy