View previous topic :: View next topic |
Author |
Message |
whizkid79 Beginner

Joined: 29 Sep 2004 Posts: 53 Topics: 14
|
Posted: Tue Dec 28, 2004 9:57 pm Post subject: Reading MVS DB2 table using SAS |
|
|
Hi,
I tried using the following SAS code to connect to a DB2 subsystem (ABCD):
Code: | PROC SQL;
CONNECT DB2 (SSID=ABCD);
RUN; |
But the connection was not established and I got the following error:
Code: | CANNOT CONNECT TO DB2 SUBSYSTEM NAMED DSNJ, RC = 12, REASON CODE =
00F30006. ALTER "DSNJ" TO THE ACTUAL NAME OF YOUR TARGET DB2 SUBSYSTEM
BY USING SAS SYSTEM OPTION DB2SSID OR LIBNAME/DATASET OPTION SSID. |
Let me know how the connection can be established.
Thanks,
Whizkid79 |
|
Back to top |
|
 |
whizkid79 Beginner

Joined: 29 Sep 2004 Posts: 53 Topics: 14
|
Posted: Tue Dec 28, 2004 9:58 pm Post subject: |
|
|
Sorry, the SAS code used is
Code: | PROC SQL;
CONNECT TO DB2 (SSID=ABCD);
RUN; |
|
|
Back to top |
|
 |
whizkid79 Beginner

Joined: 29 Sep 2004 Posts: 53 Topics: 14
|
Posted: Thu Dec 30, 2004 9:32 am Post subject: |
|
|
Is there no way to connect to DB2 tables? |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Dec 30, 2004 9:59 am Post subject: |
|
|
Kolusu,
You are just incredible !!!. From where are you getting all these links ? Gr8 job.
Thanks,
Phantom |
|
Back to top |
|
 |
whizkid79 Beginner

Joined: 29 Sep 2004 Posts: 53 Topics: 14
|
Posted: Sun Jan 02, 2005 7:40 pm Post subject: |
|
|
Hi Kolusu,
I tried that, but got the same error I've mentioned above. Its not connecting.
Whizkid79. |
|
Back to top |
|
 |
|
|