Error in using Fileset
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 38
- Joined: Sun Mar 25, 2007 11:05 pm
- Location: chennai
Error in using Fileset
When i try to transfer the data from sequential file to fileset it is showing error "Unable to parse fileset descriptor '/home/parunach/samp1.fs' parsing a dataset expecting fileset". Can anyone please help to rectify this error
Last edited by s_porkalai on Thu Jun 28, 2007 8:15 am, edited 1 time in total.
thanks & Regards
A.S.Porkalai Lakshmi
A.S.Porkalai Lakshmi
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 38
- Joined: Sun Mar 25, 2007 11:05 pm
- Location: chennai
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Please explain the precise process that you used to do this.
I do not believe that a true File Set can be created using UNIX commands.s_porkalai wrote:i have create fileset samp1.fs explicitly in unix enviorment
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 62
- Joined: Thu Feb 08, 2007 6:01 am
- Location: Pune
Same error
Hi ,
Even i m tryin to accomplish the same thing....but same error is bugging me too...The error is as follows:
Dept_Write_File: Error when checking composite operator: In file set "/home/dwdv_kdo/kunal/Dept.fs": Parsing a dataset, expecting a fileset.
I have first created the required target file named ' Dept.fs' in UNIX in my home directory....n then i ran the job....But the job aborted bcos of the above error.
I tried a lot of options but cudnt get thru....Could u please tell me how to get rid of this?
Thanks,
Kunal
Even i m tryin to accomplish the same thing....but same error is bugging me too...The error is as follows:
Dept_Write_File: Error when checking composite operator: In file set "/home/dwdv_kdo/kunal/Dept.fs": Parsing a dataset, expecting a fileset.
I have first created the required target file named ' Dept.fs' in UNIX in my home directory....n then i ran the job....But the job aborted bcos of the above error.
I tried a lot of options but cudnt get thru....Could u please tell me how to get rid of this?
Thanks,
Kunal
Re: Same error
How did you do this?crystal_pup wrote:...I have first created the required target file named ' Dept.fs' in UNIX in my home directory...
-
- Participant
- Posts: 247
- Joined: Mon Jan 22, 2007 11:33 pm
Re: Error in using Fileset
I dont think so that fileset that you have created is the same as the one datastage creates for you . . . Manuall creating files is something different than you create a control file like fileset( ie fileset creation by datastage would have its own kind of information embedded in it )
Try using some diff's on both the files to identify whether the fileset created by you and the fileset created by datastage are different .
If they are different then for sure there is no way of creating a fileset manually .... You have to create that via datastage to rectify your error
Try using some diff's on both the files to identify whether the fileset created by you and the fileset created by datastage are different .
If they are different then for sure there is no way of creating a fileset manually .... You have to create that via datastage to rectify your error
Regards
Ragu
Ragu
-
- Participant
- Posts: 62
- Joined: Thu Feb 08, 2007 6:01 am
- Location: Pune
Hi,
I created the Dept.fs file by using touch command.Actually i developed one job wherein i read data frm a sequential file n wrote it to a Dataset....Tht time also i created the required 'Department.ds' file by using touch command & in the property of dataset i set Update Policy value to Overwrite.I ran the job n it worked fine.So i tried to achieve the same thing (in my other job wherein i read data frm sequential file n write it to a fileset)by first creating the 'Dept.fs' file by using touch command and then runnin the required job...But everytime it aborted with the reason which i have started in my earlier post.
Thanks,
Kunal
I created the Dept.fs file by using touch command.Actually i developed one job wherein i read data frm a sequential file n wrote it to a Dataset....Tht time also i created the required 'Department.ds' file by using touch command & in the property of dataset i set Update Policy value to Overwrite.I ran the job n it worked fine.So i tried to achieve the same thing (in my other job wherein i read data frm sequential file n write it to a fileset)by first creating the 'Dept.fs' file by using touch command and then runnin the required job...But everytime it aborted with the reason which i have started in my earlier post.
Thanks,
Kunal
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
That is not how you create a File Set control file. The only valid way to create a File Set is to use a File Set stage with an input link.
Similar assertions apply to Data Set and to Lookup File Set.
Similar assertions apply to Data Set and to Lookup File Set.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.