Search found 339 matches

by vinothkumar
Thu Apr 14, 2011 8:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert,delete,update based on Indicator
Replies: 5
Views: 3040

Check how your delete query looks in that stage. It should have WHERE clause having your key columns in it.
by vinothkumar
Mon Apr 11, 2011 9:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: REMOVING SPECIAL CHARACTERS FROM A STRING
Replies: 2
Views: 4625

Use CONVERT function. And this has been answered here already. You can do a serach in this forum also.
by vinothkumar
Thu Mar 24, 2011 8:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fetch seven days old data
Replies: 5
Views: 3293

SELECT DATE('2001-09-22'), DATE('2001-09-22') - 7 DAYS FROM SYSIBM.SYSDUMMY1;

Use this as base and try to modify as per your requirement.
by vinothkumar
Thu Mar 24, 2011 7:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to filter the records which contains special chars
Replies: 5
Views: 2627

Use convert/index function to find whether the input contains any special characters.
by vinothkumar
Wed Mar 23, 2011 12:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Break in the sequence numbers
Replies: 6
Views: 8059

Try this code

( (@INROWNUM - 1) * @NUMPARTITIONS + @PARTITIONNUM + 1)
by vinothkumar
Mon Mar 14, 2011 8:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSTAGE-DRS-0123`:`Row Rejected
Replies: 4
Views: 4512

Add a reject link to Oracle stage and try to get the reason code. See if you can find anything from that.
by vinothkumar
Fri Mar 11, 2011 12:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date format issue
Replies: 7
Views: 2946

Then use to_date() function in Oracle Stage while inserting..
by vinothkumar
Fri Mar 11, 2011 12:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date format issue
Replies: 7
Views: 2946

Did you use StringToDate to convert String to a date before loading
by vinothkumar
Fri Mar 11, 2011 12:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date format issue
Replies: 7
Views: 2946

You should be using sv1=Field(pFilename,"_",2,1)
to get the date from file name..
by vinothkumar
Mon Feb 21, 2011 9:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage server 7.5 like function
Replies: 5
Views: 6757

Try with Index function
by vinothkumar
Wed Feb 16, 2011 10:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Load last 2 Entries
Replies: 14
Views: 6142

While sorting in descending order add CreateKeyChange column in sort stage and then use remove duplicates using CNO and CreateKeyChange column value. I believe you will get only 2 entries.
by vinothkumar
Tue Jan 04, 2011 1:18 pm
Forum: General
Topic: Pass next day of a date to a job from job activity stage
Replies: 4
Views: 2135

Why you want to write the date in a file and read again. Instead you can use UserVariable activities.
by vinothkumar
Mon Jan 03, 2011 3:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to do an 'IN' statement in a transformer.
Replies: 3
Views: 1782

There is no explicit IN statement . But we can implement the same functionality through Index function.
Index('Year,Year-1, Year-2','Year',1) > 0
by vinothkumar
Thu Dec 30, 2010 10:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored procedure - Wierd behavior
Replies: 0
Views: 907

Stored procedure - Wierd behavior

I am expecting a strange behavior in Stored procedure stage. I am trying to call a DB2 procdure having 3 input parameters and 4 output parameters. When I run with a single row, for some cases the procedure runs fine. But when I run with multiple rows the DataStage job is aborting with the reason 'St...
by vinothkumar
Tue Dec 28, 2010 8:43 am
Forum: General
Topic: Not able to receive the return value from UNIX Script
Replies: 3
Views: 1945

Also check in your director log whether your script is returning values as expected.