Search found 88 matches

by mobashshar
Tue Sep 04, 2012 10:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS Jobs compiling issue where transformers are exist
Replies: 3
Views: 2087

Set the LIB environment variable to the location of the library directory for the SDK. For example, for Microsoft Visual Studio .NET 2008 Express Edition C++, a typical location is C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib. Set the INCLUDE environment variable to the location of the include ...
by mobashshar
Wed Jun 20, 2012 10:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Find out first 2 records of each deptno?
Replies: 8
Views: 4982

I fully agree with you Criag.
by mobashshar
Tue Jun 19, 2012 8:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Numeric value issue
Replies: 8
Views: 3830

Have you tried Concatenating the unique seq numeric value to varchar field?
by mobashshar
Sat Jun 09, 2012 9:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Fails on Timestamp with MicorSeconds.
Replies: 6
Views: 2612

Are you using Extended Microseconds for timestamp fields?
by mobashshar
Sat Jun 02, 2012 8:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Seeking a best solution in DataStage
Replies: 28
Views: 29122

Since Name will relate to specific Emp_ID, I will suggest as follows:

Partition and Sort on Emp_ID
Sort only on Seq_Num
by mobashshar
Thu May 31, 2012 5:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Seeking a best solution in DataStage
Replies: 28
Views: 29122

typo correction:

Define four stage variables in the exact order.
svNewKey = input.Emp_ID
svKeyChange = svNewKey <> svLastKey or svLastKey = ""
svLastKey = input.Emp_ID
svDesc = if svKeyChange then input.Desc else svDesc : input.Desc
[/list]
by mobashshar
Thu May 31, 2012 5:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Seeking a best solution in DataStage
Replies: 28
Views: 29122

Ok.. Here is the logic to do key break Define four stage variables in the exact order. svNewKey input.Emp_ID svKeyChange svNewKey <> svLastKey or svLastKey = "" svLastKey input.Emp_ID svDesc if svKeyChange then input.Desc else svCounter : input.Desc Make sure to Partition and Sort on Emp_I...
by mobashshar
Tue May 29, 2012 11:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merge stage error
Replies: 3
Views: 4549

Are you sorting the input field MKT_SGMNT_CD in Merge stage?
by mobashshar
Sat May 26, 2012 4:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Seeking a best solution in DataStage
Replies: 28
Views: 29122

Use KeyBreak detection logic using stage variables to concatenate DESC field and use lastrowingroup function to get the last row.
Please let me know if you need more info
by mobashshar
Thu May 24, 2012 11:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To transform data and carriage return
Replies: 16
Views: 8583

What you can do is create one more stage variable and handle only the dates from your input record for the another column. It will be as follows: Input rec: KEY DESC DATE 123 AAA 1/05/09 123 BBB 5/24/11 123 CCC 2/22/12 452 AA 5/2/04 452 BBB 3/6/06 631 AAAA 5/6/10 Output: Key DESC ANOTHER COLUMN 123 ...
by mobashshar
Wed May 23, 2012 11:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To transform data and carriage return
Replies: 16
Views: 8583

Change | to " on " and change , to \n or CHAR(10) for New Line
by mobashshar
Tue May 15, 2012 8:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: regarding last transaction and current transaction
Replies: 7
Views: 4118

Pons..
sv_Opening_Bal ---> if @INROWNUM=1 Then 0 Else sv_Prev_Clsoing_Bal
sv_Prev_Clsoing_Bal ---> closingbal
will not work in Parallel env unless you run your transformer in seq. mode.
by mobashshar
Mon May 14, 2012 1:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Parsing Source File
Replies: 6
Views: 4021

What have you tried so far?
by mobashshar
Mon May 14, 2012 1:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: regarding last transaction and current transaction
Replies: 7
Views: 4118

Do this: Create a rownum column as int so your input will look like this: rownum, date , closingbal 1, 12thmay,2000 2, 13thmay,3000 3, 14thmay,4000 4, 17thmay,6000 5, 20thmay,8000 Now.. using Copy Stage, split the rows in Two stream as follows: 1. rownum and closingbal will go to Transformer. 2. row...
by mobashshar
Mon May 14, 2012 11:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic transformer usage issue in Parallel job
Replies: 1
Views: 1750

yes.. you can use basic transformer in Parallel Job. By the way to get to Server Job.. click File > New and Click on Jobs folder.. Here you will find Server Job option