Not able to read from dataset

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
Ragunathan Gunasekaran
Participant
Posts: 247
Joined: Mon Jan 22, 2007 11:33 pm

Not able to read from dataset

Post by Ragunathan Gunasekaran »

Hi
I am writing to a dataset and using the same in another job. The job in which i create the dataset ,i am able to view the data . But when i use the same dataset for reading the data , i am getting the following error that one of the field is not there in the input dataset. Any clue on this please

Code: Select all

 ##I TOSH 000002 15:05:29(001) <main_program> orchgeneral: loaded
 ##I TOSH 000002 15:05:29(002) <main_program> orchsort: loaded
 ##I TOSH 000002 15:05:29(003) <main_program> orchstats: loaded
 ##I TFSC 000001 15:05:29(004) <main_program> APT configuration file: /opt/biretl2dev/apps/ascential/Ascential/DataStage/Configurations/default.apt
 ##W TCOS 000049 15:05:29(005) <main_program> Parameter specified but not used in flow: DSProjectMapName
>##E TOPK 000000 15:05:30(003) <_PEEK_IDENT_> Input dataset does not have field: "WORKSTATION_ID".
>##E TFSR 000019 15:05:30(005) <main_program> Could not check all operators because of previous error(s)
 ##W TFOR 000000 15:05:30(006) <Data_Set_0> When checking operator: The modify operator has a binding for the non-existent output field "WORKSTATION_ID".
 ##W TFOP 000073 15:05:30(007) <_Head> When checking operator: A sequential operator cannot preserve the partitioning
  of the parallel data set on input port 0.
>##E TCOS 000029 15:05:30(008) <main_program> Creation of a step finished with status = FAILED.
>
But for the same worstation_id i am able to view the data in the job in which i am writing the dataset.
Regards
Ragu
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Are you creating and reading the dataset using the same config file?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Ragunathan Gunasekaran
Participant
Posts: 247
Joined: Mon Jan 22, 2007 11:33 pm

Post by Ragunathan Gunasekaran »

Yes i am creating the dataset under the same configuration file .I haven't made any node changes after the dataset has been created.
Regards
Ragu
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Do an exact search on "Input dataset does not have field" and see what you find. Should have advised you to do that before.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Ragunathan Gunasekaran
Participant
Posts: 247
Joined: Mon Jan 22, 2007 11:33 pm

Post by Ragunathan Gunasekaran »

Hi
I hope that the metadata for the datasets should be loaded from the datastage manager instead of typing it .I just saved the column definition of the dataset that i created in the datastage job and loaded the same in the job in which i read the dataset. This is working fine and i am able to read data from the dataset. So any body who is searching for the forum for the keyword
Input dataset does not have field
please make use of this info please.
Regards
Ragu
Soumya Pradhan
Participant
Posts: 6
Joined: Fri Oct 05, 2007 8:42 am

hi

Post by Soumya Pradhan »

i hv got the same problem any body can plz short out that problem
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Use same solution as Ragu.

The thread has, after all, been marked as Resolved.
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