Search found 92 matches

by ambasta
Wed Oct 06, 2010 10:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Split one row in multiple based on identifier
Replies: 6
Views: 3596

Thanks for replying.
Actaully, it is fixed that there will be no A type records after B type . But the character "B" can come anywhere in data. If "B" comes anywhere within data then use of Index function will fail as it is not actually the start identifier of B type records.
by ambasta
Tue Oct 05, 2010 11:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Split one row in multiple based on identifier
Replies: 6
Views: 3596

Thanks for the suggession... I am not sure how many output link i would require and also the number of recors within the same row is not fixed??? Is there any other way to achieve it??
Thanks for you help!!
by ambasta
Mon Oct 04, 2010 2:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Split one row in multiple based on identifier
Replies: 6
Views: 3596

Split one row in multiple based on identifier

Hi, We have a requirement where we are getting a fixed width file of length 60. The source system is sending the data in below format A-----A-----B---------B---------B---------B---------@@@@@@@@ A-----A-----A-----A-----B---------B---------@@@@@@@@@@@@@@@@ A-----A-----A-----A-----A-----A-----A-----A-...
by ambasta
Fri Jun 26, 2009 12:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert row data into column based on key
Replies: 1
Views: 1307

Convert row data into column based on key

Hi ,
I have a reuirement to convert the row data into column based on key.

The data will be like
1|A
1|B
1|C
2|X
3|Y
3|Z

Output should be like :
1|A,B,C
2|X
3|Y,Z

Pls Help!!!
by ambasta
Wed Apr 08, 2009 10:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change One Column data to One row (Pivot)
Replies: 1
Views: 1602

Change One Column data to One row (Pivot)

Hi All, I have one requirement to convert the data coming in multiple rows to one row. I will try to explain the scenario with an example. Data is like Col A ==== 1000 2000 4570 2345 The requirement is to get the data like Col A ==== 1000,2000,4570,2345 Source is Oracle and Target is File. Thanks fo...
by ambasta
Sat Sep 20, 2008 4:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SAP Plug-in Information
Replies: 2
Views: 1769

YES!!! U DO HAVE...
USE SAP R/3 PACK
by ambasta
Sat Sep 20, 2008 4:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: warnings in the Lookup stage
Replies: 14
Views: 7727

Use a remove duplicate stage in ur reference link..I t will resolve the issue
by ambasta
Sat Sep 20, 2008 3:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Rejects
Replies: 6
Views: 5635

If you have null in the target record..It will be rejected from the file
by ambasta
Sat Sep 20, 2008 3:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Rejects
Replies: 6
Views: 5635

If you have null in the target record..It will be rejected from the file
by ambasta
Fri Sep 19, 2008 11:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Funny characters in Sequential file columns of a paralell jo
Replies: 4
Views: 2873

Try this
Lets suppose column A data is of length 10.
Take a subsrting of full length i.e. A[1,10]
Now trim it
Trim(A[1,10]) will remove all the spaces..
by ambasta
Fri Sep 19, 2008 10:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: date conversion
Replies: 2
Views: 1681

Read the source metadata as varchar the use String to Date format in the transformer
by ambasta
Fri Sep 19, 2008 10:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem converting String to Decimal
Replies: 1
Views: 1467

You have defined your source metadata as Char[8] ,but i can see the data is only of 7 digits..is the last digit a null or space..if it is... then you will not be able to convert it into decimal...
Change the source metadata to varchar and then try..
by ambasta
Fri Sep 19, 2008 10:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to export jobs
Replies: 2
Views: 2428

I am not sure how will you see your job design in production if you want only executables... Job design will not make your export heavy..always practice to have executables along with design
by ambasta
Fri Sep 19, 2008 10:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get matched records between two columns
Replies: 15
Views: 6566

Use a lookup stage and set the property to reject ...Capture the rejected record and use it ....
by ambasta
Fri Sep 19, 2008 10:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Append system date and time to a file name in Seq File Stag
Replies: 10
Views: 13986

After generating the file ..use after job subroutine or Unix shell script to rename the file