Reading a Dataset with a DB stage

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
arunkumarmm
Participant
Posts: 246
Joined: Mon Jun 30, 2008 3:22 am
Location: New York
Contact:

Reading a Dataset with a DB stage

Post by arunkumarmm »

Hi,

Is there a way to read datasets using a DB stage as we do for a hash file with UV.
Arun
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

No, DataSets are not "SQL" compatible and can only be read using the builtin stage or, for the brave, via the orchadmin dump command.
Last edited by ArndW on Thu Jul 29, 2010 6:02 am, edited 1 time in total.
arunkumarmm
Participant
Posts: 246
Joined: Mon Jun 30, 2008 3:22 am
Location: New York
Contact:

Post by arunkumarmm »

Thank You! ArndW...

I will go for the Built-In, Not grown that brave yet :wink:
Arun
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I should also have added that doing a "dump" of the dataset to a sequential file would only allow SQL-like queries when using an ODBC stage on that file. Rather complicated when DataStage itself allows some extended processing on data...
Post Reply