Search found 32 matches

by halpavan2
Fri Sep 07, 2012 3:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading the sequential file
Replies: 4
Views: 5247

Reading the sequential file

Hi All, I have source file say file.csv where it contains following data Empno, Deptno 12,1 13,1 23,2 45,3 now my requirment is when i read this file in datastage it should read only the records where Deptno=1,2...not every time 1 and 2 the Deptno will keep on changing. I am thinking that i will cre...
by halpavan2
Thu Mar 29, 2012 3:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reference link data to be passed
Replies: 9
Views: 3529

Just to replrase ny sentence, i want to capture these records in a seperate file.
by halpavan2
Thu Mar 29, 2012 3:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reference link data to be passed
Replies: 9
Views: 3529

I have used merge stage but one question here was

Unmatched Masters Mode:Drop (I want to capture these drop records how can i do this)

Warn On Reject Updates:True

Warn On Unmatched Masters:True
by halpavan2
Wed Mar 28, 2012 6:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reference link data to be passed
Replies: 9
Views: 3529

Reference link data to be passed

Hi All, I have a requirment as below. Main Link: 1 2 3 4 Reference Link: 1 2 3 5 1. After doing lookup i will pass the matched rows. 2. I will pass the unmatched rows from the main link by using reject option so that 4 record will pass. 3. My question here is i want to pass the unmatched row from th...
by halpavan2
Thu Mar 15, 2012 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Replace . from integer
Replies: 4
Views: 2100

Replace . from integer

Hello

I want to replace . from integer, how can i do this. I searched in fourm not able to find.

Input file.
1.0
2.0

Output should be
1
2

can anybody please help.

Thanks
Pavan
by halpavan2
Wed Dec 28, 2011 2:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Integer to decimal
Replies: 1
Views: 1873

Integer to decimal

Hello All, When i tried to multiply the data getting the following error. Source data:- 2345 2346 2347 2348 In transformer i am doing this logic 2345*0.08 My source is Integer and while loading with decimal(8,7) getting the following error APT_CombinedOperatorController,0: APT_Decimal::ErrorBase: Fr...
by halpavan2
Wed Dec 14, 2011 6:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning in Lookup Stage
Replies: 1
Views: 1760

Warning in Lookup Stage

Hello All, I am geeting this warning in lookup stage Lookup_126: When checking operator: Operator of type "APT_LUTCreateOp": will partition despite the preserve-partitioning flag on the data set on input port 0. These are 3 datasets which are refrence link to lookup stage and i made Preser...
by halpavan2
Fri Dec 09, 2011 7:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert value to Years
Replies: 5
Views: 2049

Thanks for your reply.... in my source link data is coming form days say from (0-1000)...i want this to converted this to years by using by using (365.25 days = 1 year). I have tried with above example with 10 records from 1 to 10...anf all the records giving me as 1. My doubt here was how 1 day wil...
by halpavan2
Fri Dec 09, 2011 5:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert value to Years
Replies: 5
Views: 2049

i am getting the value from source(Integer) like this

194
2037
20438
32599

want to convert this to years
by halpavan2
Fri Dec 09, 2011 5:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert value to Years
Replies: 5
Views: 2049

Convert value to Years

Hello All,

I want to convert the value to years by using (365.25 days = 1 year).

Can any one help me how this can be done in datastage parallel jobs.

Thanks
Pavan
by halpavan2
Fri Nov 18, 2011 2:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert date function
Replies: 8
Views: 2443

Try StringToDate(Column name,"%(m,s)/%dd/%yyyy") It might work.. Hi, I used this function StringToDate(Column name,"%(m,s)/%dd/%yyyy") and it worked for me....thanks for that..... i haved read what 's' specifies and it specify this option to allow leading spaces in date formats....
by halpavan2
Fri Nov 18, 2011 12:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert date function
Replies: 8
Views: 2443

Hi, there are a lot of examples recently given for StringToDate conversion. Please check those posts. Still if you have any doubts, please let us know. Yeah.. i have see those posts..and applied the logic but still geeting the error I haved the function like this StringToDate(Column name,"%mm/...
by halpavan2
Fri Nov 18, 2011 12:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert date function
Replies: 8
Views: 2443

convert date function

Hello,

Can you please in coverting my date fuction.

My input is dataset --- transformer ---- DB2 stage.

Input is varchar field and output is date field

date coming from source is mm/dd/yyyy and i need to convert this to yyyy-mm-dd.

Ay help is much appreciated.

Thanks
Pavan
by halpavan2
Wed Jul 20, 2011 7:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job unable to read EBCDIC file
Replies: 1
Views: 1423

Job unable to read EBCDIC file

Hi All I have a job for converting EBCDIC file to ASCII, this job is failing with the below error Field "RMS_CMQ_CCR_DETL.CUST_NO" has import error and no default value; data: {@ @ @ @ @ @}, at offset: 16 We have recently migrated to DS 8.1 , this is still running fine in 8.0.and is failng...
by halpavan2
Mon Jun 13, 2011 7:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server Sort Stage
Replies: 5
Views: 2913

Still showing the same error that i pointed out :(