Search found 31 matches

by deeplind07
Wed Dec 04, 2013 12:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to generate sequence numbers within a sorted list
Replies: 3
Views: 3054

Hash Partition (on F1 )and sort(and f1 and f3) in the input link of transformer.
Use following stage variables in the transformer.
Default value of all stage varibles should be 0

SVF1_1=F1
IF SVF11=SVF12 THEN SVF2= SVF2+1 ELSE 1
SVF12=SVF11
by deeplind07
Fri Oct 05, 2012 12:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: instr in datastage
Replies: 5
Views: 6355

i cannot find the FMT() function in my designer
by deeplind07
Thu Oct 04, 2012 11:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: instr in datastage
Replies: 5
Views: 6355

instr in datastage

Hi, Can some one tell me how can i search a substring from behind,(i want to search for the 1st space from the end of a string) E.g. i want to split a note of more than 100 characters into 40 chars each. While doing so i want logically split the note, that means instead of truncating at the 40th Cha...
by deeplind07
Wed Oct 03, 2012 7:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CLOB-> LONGNVARCHAR
Replies: 4
Views: 3191

I am not sure of the official service provider. When i imported the metadata it gave longnvarchar (2147483647). We are using version8.1. I am able to 'view data' in the oracle connector. But when i try to insert data by doing 1;1 mapping in transformer for each field it is throwing the below error '...
by deeplind07
Wed Oct 03, 2012 2:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CLOB-> LONGNVARCHAR
Replies: 4
Views: 3191

CLOB-> LONGNVARCHAR

Hi, Can some one tell me the maximum length of characters that oracle connector stage can read and process in datastage. I have 5 column maximum 12000 char each long(Clob datatype in oracle). i want to concatenate these columns and then split the note into 4000 characters each and create new records...
by deeplind07
Mon Oct 31, 2011 3:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null handling for integer field
Replies: 7
Views: 6620

Re: Null handling for integer field

vishal_rastogi wrote: in transformer i am using if len(trim(link1.columnA)) = '' then 1 else 0
i am a little curious about this len()function. How can length be '', it can only be numeric value, right?

How about using if '' then 0 else as it is?
by deeplind07
Wed Oct 26, 2011 9:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File
Replies: 1
Views: 1692

Re: Sequential File

While readin the file you can read it as 'quoted' and while writing into the target mention it as no quotes.
by deeplind07
Sun Oct 23, 2011 11:35 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: how to create fixed width text file
Replies: 8
Views: 6007

I am sorry i was talking about trasforemer stage..
by deeplind07
Sun Oct 23, 2011 10:53 pm
Forum: General
Topic: Job Sequence Warning JobControl (@Coordinator)
Replies: 2
Views: 2229

Re: Job Sequence Warning JobControl (@Coordinator)

everytime you rerun the the sequence it gets a new process id, hence when you are rerunnng you receive this warning. If you check the director for the current paraments passed you will see this mentioned in the log as (current/ previous paramenter). In the sequence that you are rerunning you need to...
by deeplind07
Sun Oct 23, 2011 10:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lock data Rows in table
Replies: 3
Views: 2707

Re: Lock data Rows in table

As it says, It locks the row(whichever has been read) does it allows to update the in the same process( i mean reading as reference and updating in same process) Yes , it allows the first process to update the rows And cannot be read the same row by any other process? but same row can be read n no....
by deeplind07
Sun Oct 23, 2011 9:41 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: how to create fixed width text file
Replies: 8
Views: 6007

you can use LPAD funciton to pad leading zeroes by mentioning the target length.(dont forget to add trim function for the input column)
by deeplind07
Sun Oct 23, 2011 9:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Checking leading zeroes.
Replies: 5
Views: 2716

If you read the response properly, SURA said 'If you want to take out, then you can make the mapped column as Int (You can use the function AsInteger(ColumnName)). ' Asinteger() will remove the leading zeroes. This may not be the best method but you can do Len(Column_Name)-Len(AsInteger(ColumnName))...
by deeplind07
Thu Oct 20, 2011 4:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: previous date
Replies: 6
Views: 4024

I am not sure as i dont have datastage access now, but you can try using 'column_name - 1' directly in trnsformer
by deeplind07
Thu Oct 20, 2011 4:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Enterprise cannot able to read "Date" datatyp
Replies: 5
Views: 2786

Re: ODBC Enterprise cannot able to read "Date" dat

which stage are you using..if you were using copy stage, this implicit conversion cannot take place in copy stage
After replacing with tranformer you need not write the timestamp to date functionas as this implicit conversion is handled by transformer
by deeplind07
Thu Oct 20, 2011 12:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: previous date
Replies: 6
Views: 4024

Re: previous date

can you please explain in detail?