Filter commad error in datastage seq files

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
suri
Participant
Posts: 24
Joined: Tue May 25, 2004 12:17 am
Location: piscataway
Contact:

Filter commad error in datastage seq files

Post by suri »

Hi All,
In datastage job I reading a file using the SEQ file stage.
file has Header and Footer in it along with column names.
1st record is Header
2nd record is column names
last record is Trailer record
I'm using sed command in the filter comand of the sequential file.
Previously we use to read the file, now we are getting below error.
etlBsl2INTsINVPORT2..INT_INV_PORTFOLIO.lnkGetIntPortfolio: ds_seqopen() - Error in filter command "sed '1d;$d'" -
etlBsl2INTsINVPORT2..INT_INV_PORTFOLIO.lnkGetIntPortfolio: ds_seqopen() - Error in execv() - No such file or directory
etlBsl2INTsINVPORT2..INT_INV_PORTFOLIO.lnkGetIntPortfolio: DSD.SEQOpen GCI $DS.SEQOPEN error 11.

Please can some one help on this.



Thanks
Suri
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Post what in have in both the Filename and Filter boxes in the stage.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Check the Filter command from the command prompt, if it gives the output to the console.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

For whatever reason, your filter command has failed. There is only one corrective action: fix it. Perhaps you do not check for non-existence of its source file?
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