Search found 26 matches

by peddakkagari
Fri May 27, 2011 12:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Day from a date
Replies: 3
Views: 1908

Using WeekdayFromDate function you can get the day in numbers(0 to 6)
by peddakkagari
Thu May 26, 2011 11:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to calculate date one year prior to an input date
Replies: 4
Views: 2313

Write a stage variable like
if the monthfromdate(your_date)>2 and yearfromdate(your_Date)/4=0 then do -366 using DateFromDaysSince
else
-365 days

please inform us if you get any other solution
by peddakkagari
Thu May 26, 2011 4:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What are these errors and where exactly do i need to look?
Replies: 1
Views: 1258

Re: What are these errors and where exactly do i need to loo

This could be the problem with credentials.

You might have given some wrong credentials

Try to give same username information for both the DS and DB servers

Thanks,
Sreekanth
by peddakkagari
Wed May 25, 2011 11:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Scenario with Sequential file for the Reject/Load selection
Replies: 8
Views: 3872

Create stage variable by using length function

If Len(input_column)=1 then Y else N

then put the stagevariable=Y for target and N for reject

Thanks,
Sreekanth
by peddakkagari
Mon May 23, 2011 3:34 am
Forum: General
Topic: File options are not visible in designer
Replies: 4
Views: 2031

Yes Craig, my Menu Bar is back now
by peddakkagari
Mon May 23, 2011 1:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: help in job logic
Replies: 32
Views: 12450

Re: help in job logic

A __ 1 2 5 6 B __ 3 4 7 connect your source A records to Transformer by adding a sequence number using Surrogate Key generator stage then your source A data in transformer look like below sno,A _____ 1,1 2,2 3,5 4,6 Do the same thing for second source also and connect to another transformer then the...
by peddakkagari
Thu May 19, 2011 7:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to add 1 month to date
Replies: 3
Views: 3334

Re: Need to add 1 month to date

I think the following Stage variables will help you svNextMonth - If ( Compare(MonthFromDate(Input_Date),'12') = 0 ) Then '01' Else DecimalToString( (StringToDecimal(MonthFromDate(Input_Date)) + 1) ,'suppress_zero') svNextMonthDate - If ( Compare(MonthFromDate(Input_Date),'12') = 0 ) Then DecimalToS...
by peddakkagari
Thu May 19, 2011 5:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to drop records
Replies: 4
Views: 2409

1. Process your source data into two flows(mainflow and change flow) from transformer stage 2. add dummy=1 in tranformer for changed flow 3.put sort stage in changed flow by sorting on the 3 columns(key,f1 and f2) 4.put filter using the condition f1=f2=N, then the output of this stage will be having...
by peddakkagari
Thu May 19, 2011 3:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS job logic needed
Replies: 9
Views: 5106

Yes, Full outer join will solve your problem
I agree with ray's reply
by peddakkagari
Mon May 16, 2011 11:23 pm
Forum: General
Topic: File options are not visible in designer
Replies: 4
Views: 2031

Thank you Craig, i got the other links

Sreekanth
by peddakkagari
Mon May 16, 2011 6:13 am
Forum: General
Topic: File options are not visible in designer
Replies: 4
Views: 2031

File options are not visible in designer

File,Edit,View,Diagram,Debug,Tools,Window,Help options are not visible