Search found 82 matches

by suneyes
Wed Oct 15, 2008 12:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: importing a file with record delimited by HEX 0A
Replies: 4
Views: 2366

Thanks Mr.bcarlson.
this helped me in resolving my issue..
HEX 0A is unix new line charecter!
I wouldn't have known it..Thanks ray.
by suneyes
Mon Oct 13, 2008 12:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: importing a file with record delimited by HEX 0A
Replies: 4
Views: 2366

importing a file with record delimited by HEX 0A

Hi all, I have a job copying the same file to another file using two sequential file stages.I have a problem while importing this file which is a fixed width file 0f 150 charecters length and and has a HEX 0A at the end of each record. I am taking the record length as char(151). with properties fina...
by suneyes
Tue Sep 23, 2008 8:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning regarding partition of rows
Replies: 2
Views: 1279

ray.wurlod wrote:Search - this has been asked - and answered - more than once already. ...
Thanks Ray.. :)
by suneyes
Tue Sep 23, 2008 8:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning regarding partition of rows
Replies: 2
Views: 1279

Warning regarding partition of rows

Hi my job and the partition used in each atage is shown below.. External Source(gives the file path)-->XML input(same)-->transformer(same)-->sequential file. external source specifies the path of the file name to the XML input stage. when I run the job it is giving me a warning message like tr_FRN_F...
by suneyes
Tue Sep 23, 2008 8:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem With parsing the XML file.
Replies: 7
Views: 1859

I'm confused here.... to be safe and keeping it clean, especially with the behavior of nulls and repeating elements, one of your date fields ought to be the repeating element, unless you are only going to go as deep as Period in your retrieval (and then play games later with the entire Period eleme...
by suneyes
Thu Sep 18, 2008 8:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem With parsing the XML file.
Replies: 7
Views: 1859

throbinson wrote:What is the XPath for the Period repetition key?
/ColumnL/Schedule/Period
by suneyes
Thu Sep 18, 2008 8:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem With parsing the XML file.
Replies: 7
Views: 1859

throbinson wrote:What is the XPath for the Period repetition key?
ColumnL/Schedule/Period
by suneyes
Thu Sep 18, 2008 3:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem With parsing the XML file.
Replies: 7
Views: 1859

Problem With parsing the XML file.

Hi I Have an XML file in which a row looks something like this,Which is getting interpreted by XML input stage. <ColumnL> <Schedule> <Period> <Date1>2009.06.24</Date1> <Date2>2011.06.24</Date2> </Period> <Period> <Date1>2010.06.24</Date1> <Date2>2012.06.24</Date2> </Period> <Period> <Date1>2011.06.2...
by suneyes
Tue Sep 16, 2008 8:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem in keeping the order of rows same using aggrega
Replies: 6
Views: 2725

A couple of things spring to mind. 1. Add the @INROWNUM value to each record as it passes through the transformer and then sort on this in the sequential file. I suspect you'll need to execute the stage sequentially though. 2. Is the data in the input file sorted in anyway. If so you could just re-...
by suneyes
Tue Sep 16, 2008 7:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem in keeping the order of rows same using aggrega
Replies: 6
Views: 2725

ray.wurlod wrote:This is a ridiculous requirement. You are grouping data (in the Aggregator) so the rows can only come out of that group by group.

A Funnel stage with only one input is a waste of space. ...

actually there is another input to funnel stage which comes from an 'external command' stage :D
by suneyes
Tue Sep 16, 2008 3:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem in keeping the order of rows same using aggrega
Replies: 6
Views: 2725

problem in keeping the order of rows same using aggrega

Hi my design is something like sequential file1-->transformer-->aggregator-->funnel--->sequential file2. My requirement is that the oreder of rows in sequential file1 should be same as that of sequential file2. the order is coming fine till the o/p of transformer.after that the order is getting lost...
by suneyes
Tue Sep 16, 2008 2:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to print a single quote(') in a transformer
Replies: 2
Views: 1769

ray.wurlod wrote:Assuming that the data type of the outbound column is string, and that you're doing this in a Transformer stage, then a suitable expression is

Code: Select all

"'" : InLink.TheColumn
...

Thanks ray.That helped me in solving my problem.
by suneyes
Tue Sep 16, 2008 12:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to print a single quote(') in a transformer
Replies: 2
Views: 1769

How to print a single quote(') in a transformer

Hi,
I have a requirement to append a single quote(') to a column in datastage.
As quotes are used to enclose string values it is not letting me to print this charecter.
can any one help me with this?

example:
if the input is 123456
I want the output as '123456
by suneyes
Mon Sep 15, 2008 1:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem while making the columns in a transformer nullable
Replies: 6
Views: 1909

If you want to have nullable columns then you need to handle this condition explicitly in Transformer stage expressions. If IsNull(DSLink5.name) Or IsNull(DSLink5.value) Then Se ...[/quote] found a better solution for my problem ray. we have an option to convert nulls to spaces in xml input stage. ...
by suneyes
Sun Sep 14, 2008 11:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem while making the columns in a transformer nullable
Replies: 6
Views: 1909

Please strive for a professional standard of written English on DSXchange. This includes not using SMS-style abbreviations (DSXchange is not a mobile telephony device) and paying attention to spelling. This request is made to help those participants whose first language is not English. sorry about ...