Search found 3 matches

by Benz
Tue Feb 23, 2016 7:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varchar to timestamp
Replies: 10
Views: 6423

I think you just want to subtract your column value from 99999999 and then insert ":" as you have shown in the above example. Lets say that you have a value "83885269" DN_TIME_STAMP column. In transformer give a derivation something like this in a stage variable., say SV 99999999...
by Benz
Tue Feb 23, 2016 7:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage in Transformer Add or subtract from CurrentDate
Replies: 1
Views: 2746

Re: Datastage in Transformer Add or subtract from CurrentDat

I think convert the date(in this case Current_Date()) into julian and perform the subtraction and then convert back into date.
by Benz
Mon Feb 22, 2016 5:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting the columns names and corresponding values in rows
Replies: 3
Views: 4444

Re: Getting the columns names and corresponding values in ro

Step 1: Do a picot for the column names Separate the column names as a data and do a pivot Expected ouput: Col1 Col2 Pivot_Index ID Sev1 0 ID Sev2 1 ID Sev3 2 Step 2 Do a pivot for the whole data Expected ouput: ID Pivot_Index Values ABC 0 0.45 ABC 1 1 ABC 2 1 PQR 0 0.45 PQR 1 1 PQR 2 2 XYZ 0 0.45 X...