Search found 149 matches

by raji33
Tue Aug 13, 2013 6:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: vertical pivot is hanging
Replies: 8
Views: 1887

its not huge data. I am testing on only 12 rows, I have waited for 20 mints.
by raji33
Tue Aug 13, 2013 6:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: vertical pivot is hanging
Replies: 8
Views: 1887

yes i did. its going out of aggregator stage but not comming out of pivot. Its hanging there.
by raji33
Mon Aug 12, 2013 6:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: vertical pivot is hanging
Replies: 8
Views: 1887

Thanks ray for quick response.

ya there are two entries for jan and i need both the records to be aggregated as single record . i tried using agrregator stage before pivot stage. But the job just hangs and is not proceeding further after aggregator stage.
by raji33
Mon Aug 12, 2013 6:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: vertical pivot is hanging
Replies: 8
Views: 1887

vertical pivot is hanging

Hi, I have i/p as id date gp code amt 1 1992-01-01 US abc 123 1 1992-01-01 US abc 124 1 1992-02-01 US abc 234 1 1992-03-01 US abc 245 Expected o/p id gp code jan feb march april june july aug sept oct nov dec 1 US abc 247 234 245 i used pivot stage and type as vertical pivot . group by by id,gp,code...
by raji33
Fri Aug 09, 2013 7:39 am
Forum: General
Topic: Filter condition based on value in field
Replies: 1
Views: 963

Filter condition based on value in field

Hi I have a requirement where i need to schedule jobs once a month. And if the day falls on weekend then i need to run the jobs on monday. For this i chose the below approach . we have a date dim table and i am comparing current day with isodate in date dim and getting the day and writing into a csv...
by raji33
Wed Aug 07, 2013 2:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning - Import consumed only n bytes of record
Replies: 7
Views: 9477

Thanks All. Yes there was a bad data from source which is not matching the metadata.
by raji33
Wed Aug 07, 2013 12:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning - Import consumed only n bytes of record
Replies: 7
Views: 9477

source is sequential file. Every time when i run it show a different record . No NLS characters from source. Basically my job has 4 sequential files funneld to write to a sequential file as below.

Code: Select all

seq-----\

seq-----\

seq-----\funnel---------trans---------seq

seq-----/
by raji33
Wed Aug 07, 2013 11:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning - Import consumed only n bytes of record
Replies: 7
Views: 9477

Hi Chullett, I have tried possible ways but still i see the warning. i see both of these warnings together, no idea what the problem is. Is there a way that we can check record 248719? Import consumed only 205bytes of the record's 208 bytes (no further warnings will be generated from this partition)...
by raji33
Wed Aug 07, 2013 7:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning - Import consumed only n bytes of record
Replies: 7
Views: 9477

Warning - Import consumed only n bytes of record

Hi,

I am getting below warning. Any suggestions?

Import consumed only 205bytes of the record's 208 bytes (no further warnings will be generated from this partition)

Thanks
by raji33
Mon Aug 05, 2013 7:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting decimal to date
Replies: 12
Views: 6016

My target is date datatype. i can use which ever possible way through datastage or writing sql. I wanted to write logic in datastage but then i thought its complicated and choose to write sql.
my source is AS400
by raji33
Mon Aug 05, 2013 7:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting decimal to date
Replies: 12
Views: 6016

Hi Chulett,

i tried this logic while extracting from source table date(timestamp_format(char(DTE+19000000), 'YYYYMMDD')) DTE and date as datatype
but it is throwing a warning as Expecting:symbol of type:date_string

Thanks
by raji33
Fri Aug 02, 2013 5:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting decimal to date
Replies: 12
Views: 6016

may i know the exact function to be used to add ?
by raji33
Fri Aug 02, 2013 4:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting decimal to date
Replies: 12
Views: 6016

Hi Chulett,

yes these are real dates comming source.

i am expecting o/p as

Target
id dte
1 2000-07-28
2 1996-09-12
by raji33
Fri Aug 02, 2013 3:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting decimal to date
Replies: 12
Views: 6016

converting decimal to date

Hi,

I have a scenario where i need to convert decimal to date:

Ex: id dte
1 1000728
2 960912


Target

id dte
1 yyyy-mm-dd
2 yyyy-mm-dd


Any suggestions?

Thanks
by raji33
Wed Jul 24, 2013 5:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implementing date logic
Replies: 7
Views: 2251

Implementing date logic

Hi Can any one help me with this scenario. I have current date, If current date falls in between yyyy-mm-02, ! ! !yyyy-mm-05 of month then get the last date of previous month. for ex:current date =2013-07-02 then i need to populate as 2013-06-30 simillarly if date falls as 2013-07-03 then also its 2...