Can we connect to MS SQL server thru DataStage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dsxdev
Participant
Posts: 92
Joined: Mon Sep 20, 2004 8:37 am

Can we connect to MS SQL server thru DataStage

Post by dsxdev »

Hi All,
We are using MS SQL server as our Database and DataStage is installed on Unix Server.

Can we pull data from MS SQL Server thru DataStage and process it. If it is possible how can this be done.

Any inputs on this will be welcome.

Thanks
Happy DataStaging
trokosz
Premium Member
Premium Member
Posts: 188
Joined: Thu Sep 16, 2004 6:38 pm
Contact:

Post by trokosz »

You can access SQL Server in one of two ways (1) ODBC Stage (2) On the SQL Server platform extract and create a flat file, then have the flat file FTP'd to the DataStage Server where you then would read via a Sequential File Stage or use a FTP Stage

You can write to SQL Server in one of two ways (1) BCPLoad Stage is a passive plug-in stage supplied by Ascential. A BCPLoad plug-in stage bulk loads data into a single table in a Microsoft SQL Server (Release 6.0 or 6.5) or Sybase (System 10 or 11) database. The files are loaded into the target database using the bulk copy API. By default, the BCPLoad stage is configured to bulk load data into a Microsoft SQL Server (2) ODBC Stage
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Look in the .odbc.ini file; there will be an entry for the SQL Server driver. Its library name is of the form vmmsssnn.so (or .sl).
Search the forum; others have done this before you.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply