Search found 53 matches

by Ashish
Tue Apr 26, 2011 4:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to create a chain b/w 2 Fields
Replies: 2
Views: 2445

How to create a chain b/w 2 Fields

Hi, I have this sample Data,

Col A Ref_No
0275 0217
0217 0456
0456 0000

How to assign same surrogate key to all of them, since all of them are in link.

0456 is the base number and all base number having Ref_No=0000

Any suggestions will be most welcome.

Thnks.
by Ashish
Mon Nov 01, 2010 5:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to Create Vectors on Depending on Clause
Replies: 1
Views: 1968

how to Create Vectors on Depending on Clause

Hi All,

I have to create an output file with ODO clause but I am not able to find the right way to do this in DataStage.

Thanks
Ashish
by Ashish
Thu Oct 28, 2010 5:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading Cobol File and Merge the records again
Replies: 2
Views: 3334

Sainath.Srinivasan wrote:What have you tried so far and what were your problems ?

Is the provided example the full record or only the occurs clause section ?
Not full record just the section
by Ashish
Wed Oct 27, 2010 12:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading Cobol File and Merge the records again
Replies: 2
Views: 3334

Reading Cobol File and Merge the records again

Hi All,

I have scenario and I am trying to accomplish by using ODO clause in Target CCF stage but its not wrking ?

Input Scenario :
Key | Col1 | Col2 | Col3
1 | X | Y | Z
1 | X | Y | Z
2 | A | B |C

Ouput :
1 |X|Y|Z|X|Y|Z
2 |A|B|C
by Ashish
Wed Feb 17, 2010 4:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 UDB API stage running very slow
Replies: 4
Views: 3474

One question ray -- if DB2 stage operation "update or insert" run in parallel mode doest it impact the data?

Thanks
Ashish
by Ashish
Wed Feb 17, 2010 2:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 UDB API stage running very slow
Replies: 4
Views: 3474

DB2 UDB API stage running very slow

Hi All,

Db2 UDB stage which is running on 1 node and Sequential performing a operation "insert new or update existing one" taking 20 to 25 minutes for
70000 records, can any onle help me to tune the performance.

Thanks
A
by Ashish
Thu Feb 11, 2010 2:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is hash parition required before join in parallel job?
Replies: 7
Views: 4176

Is hash parition required before join in parallel job?

Is hash parition required before join in parallel job? when Config file is of 1 node. I am looking into a job design in which before join, sort stage is been used and in sort stage hash partition in used and in join stage same partition is been used. Is really a hashing reuiqred in sort stage prior ...
by Ashish
Wed Feb 10, 2010 2:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert & Ins-Update operations in Same DB table in a one
Replies: 1
Views: 1778

Insert & Ins-Update operations in Same DB table in a one

Hi DS Gurus, I would like your suggestion in designing a parallel job. Job Design is Input of transformer is Seq. file and output is 2 links which again input to the Same database table. 1st link containing only New-Inserts records for Table X 2nd link containing Insert-Updates records for Table X I...
by Ashish
Thu Aug 20, 2009 4:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Previous Month Last Date
Replies: 9
Views: 6437

DateFromDaysSince(-1, stringtodate(right(0:MonthFromDate(CurrentDate()),2):'-':'01':'-': YearFromDate(CurrentDate()),"%mm-%dd-%yyyy")) in datastage this should work fine. this first derives the 1st day of current month and then subtracts 1 day from that. in oracle sainaths code works fine...
by Ashish
Wed Aug 19, 2009 10:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Previous Month Last Date
Replies: 9
Views: 6437

Previous Month Last Date

Hi,

How to get the last date of the previous month.?

Thanks
Ashish
by Ashish
Thu Apr 09, 2009 9:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merge Duplicate Records
Replies: 7
Views: 4061

No Ray we can't add RDUP stage on right side,
by Ashish
Thu Apr 09, 2009 3:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merge Duplicate Records
Replies: 7
Views: 4061

Merge Duplicate Records

I got 2 files from source Structure of File1 is Col1 Col2 Col3 1 RS A 1 RD B 1 GD C Structure of File2 is Col1 Col5 1 TB 1 TB By using above two files I have to create output file like Output file structure Col1 Col2 Col3 Col5 1 RS A TB 1 RD B TB 1 GD C Can any one help me how to create output file ...
by Ashish
Mon Mar 09, 2009 1:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job control Awk issue
Replies: 7
Views: 3831

Thanks for the solution :)
by Ashish
Sun Mar 08, 2009 11:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job control Awk issue
Replies: 7
Views: 3831

Yes, src file got 3000 records but I want to create 1000 record file but i don't want to hard code the values for NR, i wanted to pass it through paraemeter only.
by Ashish
Fri Mar 06, 2009 8:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job control Awk issue
Replies: 7
Views: 3831

Return code is 0 which means script ran fine
out is blank