Search found 245 matches

by arunkumarmm
Fri Sep 10, 2010 9:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Large xml file
Replies: 5
Views: 3354

chulett wrote:Assuming the problem is creating it, look into the use of the Trigger Column option, value changes there will trigger a switch to a new output filename. ...
He said there are 8 million records. By enabling this, wont it create as many files?
by arunkumarmm
Fri Sep 10, 2010 9:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple rows to single row comma separated values
Replies: 29
Views: 25926

Or even in a simpler way, create a stage variable like this:

sv1 = sv1 : ',' : InputColumn

and map it to the target column derivation.

The last output row will have all the values...
by arunkumarmm
Thu Sep 09, 2010 2:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input record sequence number
Replies: 21
Views: 10472

Can you try with this ( (@INROWNUM - 1) * @NUMPARTITIONS + @PARTITIONNUM + 1) Thanks Vinoth! But no luck with this as well. When I use this, The sequence number starts with 1 but gives a count of 177. Actual is 175. I will try with some other set of records and let you know. Your count and actual m...
by arunkumarmm
Thu Sep 09, 2010 2:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input record sequence number
Replies: 21
Views: 10472

Does your input file have a header record or column headers in the first sequential record? That might be why your maximum row number is greater than the number of data records. That's a guess, because when the documentation says "column header records are ignored during processing" it do...
by arunkumarmm
Thu Sep 09, 2010 2:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input record sequence number
Replies: 21
Views: 10472

If your input is sequential file, then you can set Row Number column option in Properties to get the sequential number. I just tried this by keeping a sequential file as a source. But the sequence number starts with 0 for every partition. :( Yes Row number starts with zero. But How do you get diffe...
by arunkumarmm
Thu Sep 09, 2010 2:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input record sequence number
Replies: 21
Views: 10472

anbu wrote:If your input is sequential file, then you can set Row Number column option in Properties to get the sequential number.
I just tried this by keeping a sequential file as a source. But the sequence number starts with 0 for every partition. :(
by arunkumarmm
Thu Sep 09, 2010 2:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input record sequence number
Replies: 21
Views: 10472

anbu wrote:If your input is sequential file, then you can set Row Number column option in Properties to get the sequential number.
Thanks Anbu. My source is most of the time is an EBCDIC file or a Dataset.
by arunkumarmm
Thu Sep 09, 2010 2:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input record sequence number
Replies: 21
Views: 10472

vinothkumar wrote:Can you try with this

( (@INROWNUM - 1) * @NUMPARTITIONS + @PARTITIONNUM + 1)
Thanks Vinoth! But no luck with this as well. When I use this, The sequence number starts with 1 but gives a count of 177. Actual is 175. I will try with some other set of records and let you know.
by arunkumarmm
Thu Sep 09, 2010 12:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "file does not exist" error yet it does exist..
Replies: 7
Views: 2438

Also, you can check in your job whether there is a space at the end of the file name.
by arunkumarmm
Thu Sep 09, 2010 12:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "file does not exist" error yet it does exist..
Replies: 7
Views: 2438

Might be the user ID datastage use is a different one? Check the ID which datastage uses while executing the job. I mean, not the datastage login ID. The Unix user which your DS ID uses inturn.
by arunkumarmm
Thu Sep 09, 2010 11:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Build a Complex XML document
Replies: 15
Views: 7368

The best way I know is that, you can create two sep XMLs, one for the office code and another for the Department. In both the XMLs, create a column 'Office Code' in the tabular format ( not as XML). Then again, join both the XMLs using this column. And in your final XML O/P stage, Map only the requi...
by arunkumarmm
Thu Sep 09, 2010 10:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "file does not exist" error yet it does exist..
Replies: 7
Views: 2438

Yeah! Possibly be a permission problem.
by arunkumarmm
Wed Sep 08, 2010 10:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To call a shellscript within User Defined Server Routine
Replies: 9
Views: 3709

Hi all, Thank you very much now i am able to call the shellscript. Suppose i need to pass a argument to the DSexecute command from a function i.e. s = Arg1 Call DSExecute('UNIX','sh check.sh s ',Output, SystemReturnCode) But i am not able to pass the actual value. Kindly advice. May be try somethin...
by arunkumarmm
Wed Sep 08, 2010 10:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance improvement for server job
Replies: 2
Views: 1616

What is your source? Where does your transformer gets the data from? Are you using look-up?
by arunkumarmm
Wed Sep 08, 2010 10:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Negative Values in Decimal
Replies: 9
Views: 3550

ray.wurlod wrote:Something like

Code: Select all

 Iconv(InLink.TheDecimal, "MD2-") 
should do it. ...
This is great. I never thought it would handle a trailing sign, though I use "MD" a lot. Thanks Ray.