Search found 9 matches
- Thu Jun 22, 2017 9:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to get 10% records out of Aggregator Stage.
- Replies: 2
- Views: 2294
- Tue Jun 20, 2017 11:59 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to get 10% records out of Aggregator Stage.
- Replies: 2
- Views: 2294
How to get 10% records out of Aggregator Stage.
I have a file with 100 records and out of those records I need to get 10% of records in file 1 and 90% of records in file 2. Please advise me on how to achieve this.
- Tue Oct 27, 2015 12:44 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading the UNIX newline in sequential file stage
- Replies: 4
- Views: 3197
- Mon Oct 26, 2015 9:44 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ORA-01461: can bind a LONG value only for insert into a LONG
- Replies: 3
- Views: 2192
- Mon Oct 26, 2015 6:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ORA-01461: can bind a LONG value only for insert into a LONG
- Replies: 3
- Views: 2192
ORA-01461: can bind a LONG value only for insert into a LONG
Hi, I am trying to load a delimited file using sequential stage to oracle database. while loading few records are rejected with warning messages as below: ORA-01461: can bind a LONG value only for insert into a LONG column ORA-03106: fatal two-task communication protocol error ORA-01483: invalid len...
- Mon Oct 26, 2015 2:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading the UNIX newline in sequential file stage
- Replies: 4
- Views: 3197
- Sun Oct 25, 2015 10:47 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading the UNIX newline in sequential file stage
- Replies: 4
- Views: 3197
Reading the UNIX newline in sequential file stage
I have a delimited file and I am getting UNIX newline (\n) in the column, and I wanted to read the records along with the UNIX newline and load the same to database. Below is the Format of the file used while reading the file in sequential stage: Record level --> Final delimiter = end --> Record del...
- Thu Feb 09, 2012 3:05 am
- Forum: General
- Topic: Execute Command for checking file exsistance
- Replies: 3
- Views: 2182
Re: Execute Command for checking file exsistance
Thanks All for the replies we have decide it do in sequence......
- Mon Feb 06, 2012 5:49 am
- Forum: General
- Topic: Execute Command for checking file exsistance
- Replies: 3
- Views: 2182
Execute Command for checking file exsistance
Hi All
I have a scenario where i need to check if file exsist or not if the file exsists i need check the count and if the count >0 (wc -l >0) then 1
else 0 this should be done in Execute Command stage.
if (! -e "path/file_name")
then
if(wc-l >0 then 1 else 0)
Else 0
fi
I have a scenario where i need to check if file exsist or not if the file exsists i need check the count and if the count >0 (wc -l >0) then 1
else 0 this should be done in Execute Command stage.
if (! -e "path/file_name")
then
if(wc-l >0 then 1 else 0)
Else 0
fi