Page 1 of 1

Data Retrieval from DataSet Stage

Posted: Wed Feb 13, 2008 6:35 am
by senthilt1
Hi All,

I am new to Parallel jobs. I tried retrieving the data thro dataset stage, it shows the following error. My file name is dataset1.ds.

Error Message:
dataset1.ds is not an ORCHESTRATE Data. Set descriptor.

But the same fil, if i use seq file stage, its working with same layout.

Please give me the solution for this.

Thanks and Regards,

SKP

Posted: Wed Feb 13, 2008 6:59 am
by ArndW
Data sets and Sequential files are different types. What you are trying is like attempting to read an Oracle table with a sequential file stage. You can only read Datasets with the Dataset stage.

Posted: Wed Feb 13, 2008 7:05 am
by balajisr
Are you sure that you had created the file using dataset stage? I doubt the file is a valid dataset?

Posted: Wed Feb 13, 2008 7:23 am
by senthilt1
Yes, I am sure, I have created the file as dataset1.ds,

the record is,

101,Michael,States
205,Rhude,Miluwake

like this.....

Posted: Wed Feb 13, 2008 7:30 am
by ArndW
Making the name end in ".ds" doesn't create a dataset. Did you write this file with a sequential file stage or a Dataset stage?

Posted: Wed Feb 13, 2008 3:38 pm
by ray.wurlod
If it can be read with a Sequential File stage it was created with a Sequential File stage, or something at the command (operating system) level. It is not a Data Set, which is a parallel structure.

Posted: Thu Feb 14, 2008 2:06 am
by senthilt1
Thanks a lot Friend, I got it.

Instead writing first to the Dataset, I just started with reading from the dataset by creating the file with .ds. Now its working.

Thanks to everyone of you,

Regards,
SKP

Posted: Thu Feb 14, 2008 3:24 am
by balajisr
Time to mark the post as resolved.