Search found 10 matches

by nbalegar
Sun Apr 15, 2012 8:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date to Timestamp
Replies: 16
Views: 7647

Re: Date to Timestamp

You can use DateToString() by specifying the format and again convert back the result to StringToTimestamp().
by nbalegar
Tue Aug 23, 2011 11:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Addition of an row
Replies: 4
Views: 3163

Re: Addition of an row

Can you be more specific on the requirement, what is the unique keya and when you generate the new row what are the other column values. These two values are constant values or its going to change for the records.
by nbalegar
Thu Aug 18, 2011 6:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: index constraint
Replies: 7
Views: 4121

You want to do it in sql or in datastage. If in datastage means you can use the filter stage which accepts the same format as you are using in the example above.
by nbalegar
Thu Aug 11, 2011 11:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data not passing through link
Replies: 6
Views: 3110

May be the records are not matching with the oracle stages so all the records are getting rejected. If i am not wrong the reference link will display the matched record count. if there is no match so u are getting 0 in reference link. try monitoring the job from director or put a copy stage in betwe...
by nbalegar
Thu Aug 11, 2011 11:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To trim leading zero's in a sequential file
Replies: 10
Views: 8694

Use this function it will remove the leading zeros from the column TRIM(col1,'0',L)
by nbalegar
Thu Aug 11, 2011 11:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: capture the changes in the fields!!
Replies: 3
Views: 2947

Re: capture the changes in the fields!!

Use the change key column property from the sort stage which tells whether the record is duplicate or not. 0 will be the unique record and 1 will indicate the duplicate record based on this value in the stage variable u can achieve it
by nbalegar
Thu Aug 11, 2011 3:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reject file message
Replies: 5
Views: 3018

Hi use the modified if condition if col1='' then if col2='' then 'col1 is empty and col2 is empty' else if col2 > 10 then 'col1 is empty and Col2 length is > 10' else '' else if col1 > 20 then if col2='' then 'Col1 length is > 20 and col2 is empty' else if col2 > 10 then 'Col1 length is > 20 and Col...
by nbalegar
Tue Aug 09, 2011 5:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Configuring Generic stage for Change capture operator
Replies: 4
Views: 5077

Re: Configuring Generic stage for Change capture operator

The other way you can work to create a generic job for CDC is using the two column export stage one for join keys and another for value keys. you need to use the schema file,which has to be passed in the column export stage. For you scenario you can create two schema files for joining keys and value...
by nbalegar
Tue Aug 09, 2011 4:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: import meta data from datastage designer
Replies: 2
Views: 3573

Re: import meta data from datastage designer

You cant import the metadata for the format given above, it considers the rows as separate record, so if you have sample file then follow the steps which you have mentioned above to create the meatdata in datastage.
by nbalegar
Tue Aug 09, 2011 12:41 am
Forum: General
Topic: how to rename multiple jobs
Replies: 4
Views: 3735

Re: how to rename multiple jobs

Export the folder as one dsx file, for example if you have some 20 jobs in one of the folder export complete folder as one dsx file and open that dsx in any notepad and use find and replace option to rename the job.