Search found 339 matches

by vinothkumar
Thu Dec 23, 2010 9:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORACLE EE stage unable to insert records into reject table
Replies: 2
Views: 1543

Did you get any warnings in your log ? Also check your reject table stage whether you have set all properties.
by vinothkumar
Wed Dec 22, 2010 1:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Divide Column based on InString Character
Replies: 2
Views: 2226

Check FIELD function.. It can fulfil your requirement.
by vinothkumar
Wed Dec 22, 2010 10:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Osh Command to export DataSet to a File
Replies: 5
Views: 10513

Even I am also getting the same error. APR_ORCHHOME and APT_CONFIG_FILE are set properly in my project and also I am able to run DataStage jobs through command line from that location. But ORCHADMIN is not working.
by vinothkumar
Wed Dec 22, 2010 8:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling Mainframe Stored Procedure
Replies: 1
Views: 1427

Yes we can call Stored procedure through Stored procedure Stage.
Please refer the manuals where it is explained better.
by vinothkumar
Fri Dec 17, 2010 8:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delimited file or fixed-width or CSV file
Replies: 7
Views: 5072

If your next step is also in DataStage, Dataset will be a good option.
by vinothkumar
Wed Dec 15, 2010 3:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to insert data and capture duplicates
Replies: 6
Views: 4489

CRC32 is a function that generates a number based on its arugument. If the same argument comes in future, then same number will be generated. For your case, Concatenate all your non key columns from source into a single value and pass this value to CRC32 function. Similarly calculate CRC value from ...
by vinothkumar
Wed Dec 15, 2010 2:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to insert data and capture duplicates
Replies: 6
Views: 4489

Calculate CRC values using CRC32 function for all non key columns and do a lookup. If the values matches then there is no change and if the value changes then update in table and write in a file. Since it is a server job we cant have ChangeData capture stage.
by vinothkumar
Wed Dec 15, 2010 12:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert String MMDDYYYY to Db2 date MM/DD/YYYY
Replies: 7
Views: 6437

What's your target datatype. It should be a DATE.
by vinothkumar
Wed Dec 15, 2010 11:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert String MMDDYYYY to Db2 date MM/DD/YYYY
Replies: 7
Views: 6437

Sorry the date should be MMDDYYYY format :roll:
by vinothkumar
Wed Dec 15, 2010 11:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert String MMDDYYYY to Db2 date MM/DD/YYYY
Replies: 7
Views: 6437

Try this :
OConv(IConv(StageVar1[1,2]:'/':StageVar1[3,2]:'/':StageVar1[5,4], "D2/"),"D4/")

Where StageVar1 is your date '19991231'
by vinothkumar
Tue Dec 14, 2010 1:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when trying to read from Oracle Enterprise Stage
Replies: 16
Views: 8423

If they are mentioned as Environment variables the values are substituted at run time only. If you try to view data in designer then it will show error
by vinothkumar
Tue Dec 14, 2010 1:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Display the long name of the day
Replies: 16
Views: 4489

How about the other 2 clauses that you gave in IF condtion. Are they true for your current scenario
by vinothkumar
Tue Dec 14, 2010 1:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when trying to read from Oracle Enterprise Stage
Replies: 16
Views: 8423

Is this appearing to you alone or everyone in your team
by vinothkumar
Tue Dec 14, 2010 10:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Display the long name of the day
Replies: 16
Views: 4489

stageVar=WeekdayFromDate(To_New_isrt_trans.ISSUE_DT)
If the value of stageVar is 0 then it is Sunday I beleive. That you can test with a sample value. As a whole, this function will return the Day number (i.e 0 -Sunday , 1 - Monday,.....)
by vinothkumar
Tue Dec 14, 2010 10:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Display the long name of the day
Replies: 16
Views: 4489

Check WeekdayFromDate function.