Search found 459 matches

by rasi
Mon Mar 20, 2006 7:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: add/minus months function
Replies: 11
Views: 6343

Hi mick How would you take 4 months from the date 20/01/06 (ie: return a date of 20/09/05). You cannot simply substract 4 months from the given date always. Because value "30/06/05 " will give you 30/02/05 which is not a valid date. You have to consider day part as well for the above value...
by rasi
Mon Mar 20, 2006 7:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with FTP Stage
Replies: 1
Views: 1274

Hi

Line Termination : CR/LF is for DOS for UNIX you should use
[LF] (Unix Style Termination) option inside FTP stage.

Thanks
by rasi
Mon Mar 20, 2006 6:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update using Teradata Enterprise Stage
Replies: 7
Views: 3947

Hi Praveen Is there any way in Teradata Enterpeise stage to update records of a table. I mean can we write an update query in Teradata Enterprise Stage.. I can find a Write mode but not Write method. If Teradata Enterprise Stage does not support Update, Is there any other stage that can be used for ...
by rasi
Mon Mar 20, 2006 6:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update using Teradata Enterprise Stage
Replies: 7
Views: 3947

Vinay You can use both Teradata Entreprise Stage and Teradat Multiload stage to read data from Teradata. Enterprise stage uses normal sql command to select records from table whereas Multiload uses Fast export which is faster than enterprise stage. Both can be used to read data depends on volume you...
by rasi
Mon Mar 20, 2006 6:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How do I split a input row into multiple output rows
Replies: 6
Views: 1692

Champa Explain the logic of how do you get this result. The logic is not mentioned clearly in your question The output file should be as below. Codec_Descriptor_ID=1|Codec_Descriptor_Value=711 Codec_Descriptor_ID=2|Codec_Descriptor_Value=726 Codec_Descriptor_ID=3|Codec_Descriptor_Value=729a Codec_De...
by rasi
Mon Mar 20, 2006 6:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to deal with multiple header in a same file
Replies: 6
Views: 3712

Hi

I think that '06TGT' & '0625TGT' is not constant. A good approach is to read file sequentially and assign stage variable to identify the pattern of the the header record. Send data to link 1 unless you dedect a new header patter which will send output to Link 2.

This should help you.
by rasi
Thu Mar 16, 2006 11:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to elimanitate space
Replies: 7
Views: 2215

Suneel

As Balaji mentioned you can use Ereplace function to replace space.

Syntax:
Ereplace(InputValue,' ','')

Example
Ereplace('suneel reddi',' ','')

Result : suneelreddi


Regards
by rasi
Thu Mar 16, 2006 10:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error calling routine DSSendmail
Replies: 12
Views: 9880

Kris

I wanted to make sure that you received the first notification thro email.

"Reset if required and Run" is the one you need to watch. You will be fine once it is set.
by rasi
Thu Mar 16, 2006 9:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning While updating a DB2 table
Replies: 10
Views: 6375

Somu You cannot update a key column which is in SET and in WHERE clause. Having said that it is possible to do an update without key column eg. " UPDATE #tgtschema#.ABC SET IND=?,TS=?,DATBI=? WHERE CUSTTYPE=? AND CHOPT=? " But you have to make sure that each row you update will not violate...
by rasi
Thu Mar 16, 2006 9:38 pm
Forum: Site/Forum
Topic: Customer Feedback
Replies: 10
Views: 7613

Please ignore this guy. We all know what value you add to this community and how commited you are...Keep going Ray...We all want to see you hitting 100,000 Mark.....
by rasi
Thu Mar 16, 2006 9:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Replacing Existing Rows
Replies: 2
Views: 1187

Somu

Under the stage plug-in General tab you have update action drop down box which list all the option available for you to choose. Read manual for detailed description of each option.
by rasi
Thu Mar 16, 2006 9:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: when using DB2 UDB records are dropped No warnings
Replies: 13
Views: 5128

Murali I don't think that there is a setting to abort jobs in case of referential integrity violation. You have implement this logic in your job by doing a lookup to the parent table to find out whether record exist and then insert. You can then take necessary action whether to make the job abort or...
by rasi
Thu Mar 16, 2006 9:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error calling routine DSSendmail
Replies: 12
Views: 9880

Kris

Did you got any emails when the Sequence aborted first.?
by rasi
Thu Mar 16, 2006 9:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Date field to Timestamp
Replies: 5
Views: 1895

Reddy

Your format is not correct that's the reason you are getting this error.
Attempt to convert String value "15-MAR-06" to Timestamp type unsuccessful
Use to_date(J1.JC_COST_DATE,'DD-MON-YY') that should work
by rasi
Wed Mar 15, 2006 12:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: some of the warnings that we suppress and are not harmful
Replies: 9
Views: 2137

You can use your datastage adminstrator to run your command.
SELECT * FROM DS_RESENU
Under the project tab click the command button. Inside you can run your query.