Search found 7 matches

by spoilt
Tue May 28, 2013 4:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Different results in every run
Replies: 5
Views: 4144

Use round robin after Source (which is sequencial) and Entire for every reference link.
by spoilt
Tue May 28, 2013 4:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Web Service Call from DataStage
Replies: 6
Views: 5594

You can mark the City as Key (Repeating Elements required=Yes). So that the output will be new line for every City.
by spoilt
Tue May 28, 2013 4:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error: Xalan fatal error Expected entity name for reference
Replies: 8
Views: 7366

I think your XML file is exceeding the length you are using to read the data. Try to increase the lenght of XML file column or I think instead of reading whole file as a LongVarChar string. You can use option XML PATH/URL in folder and XML Stage.
by spoilt
Tue May 28, 2013 3:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header Record Validation in a fixed width file
Replies: 11
Views: 6458

Stage 1:
Read First line by using SEQ file stage : [filtre : head -1]

Stage 2:
Read all lines except first in SEQ file stage : [filtre : sed '1d']

Lookup Stage to compare / drop non-matching records.
by spoilt
Tue May 28, 2013 3:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle sequence
Replies: 14
Views: 4906

Use transformer Stage Property.

Surrogate tab.
SourceType = DbSequence.
Database = oracle
user / password / server.
Source name = your sequence name


=> Derivation: NextSurrogateKey()
by spoilt
Tue May 28, 2013 3:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: WebService Repeating Elements
Replies: 1
Views: 1432

WebService Repeating Elements

I am having a problem while sending a message to webservice having repeating element. For exemple : Employees ID's is declared as maxoccurs="unbounded" <EMPLOYEES> <ID>123</ID> <ID>121443</ID> <ID>125553</ID> </EMPLOYEES> I am reading ID column as one value 123</ID><ID>121443</ID><ID>12555...
by spoilt
Mon Mar 25, 2013 5:40 pm
Forum: General
Topic: How to Unzip files using datastage?
Replies: 11
Views: 9496

Re: How to Unzip files using datastage?

Split the file into multiple files using UNIX command for particular word count.

For example: File1.txt, File2.txt , File3.txt etc.

Use <File pattern> in sequential file stage => File*.txt

It will read all the data from multiple files as if they are only one.