Search found 33 matches

by sudha03_vpr
Mon Mar 04, 2013 2:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing Leading Space and Trailing Dot from Numeric Fields
Replies: 15
Views: 16534

Yes. You can probably use DecimalToString and then get the length of the string and get the substring before . and store it back to Numeric Field.
by sudha03_vpr
Mon Mar 04, 2013 2:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing Leading Space and Trailing Dot from Numeric Fields
Replies: 15
Views: 16534

Yes. You can probably use DecimalToString and then get the length of the string and get the substring before . and store it back to Numeric Field.
by sudha03_vpr
Mon Mar 04, 2013 10:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing Leading Space and Trailing Dot from Numeric Fields
Replies: 15
Views: 16534

Ereplace(MyString, ".", "")

You can probably use the above function to replace "." with nothing.
by sudha03_vpr
Fri Mar 01, 2013 2:43 pm
Forum: General
Topic: Abort job if ran more than 30 minutes
Replies: 7
Views: 2237

You can probably write a shell script using dsjob command to stop the job if the DSJ_JOBELAPSED (gets the elapsed time in seconds) > 1800 seconds. What scheduler do u you use to trigger the jobs ?
by sudha03_vpr
Fri Mar 01, 2013 2:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rounding off issue with datastage
Replies: 12
Views: 18649

Source columns of Datatype Decimal(26,11) get converted accurately into Decimal(18,3) & Decimal(18,8) & Decimal(18,7) into three cols seperately. You may need to use
DecimalToDecimal(<col_name>,trunc_zero)
and assign it to the target column length.
by sudha03_vpr
Fri Mar 01, 2013 11:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF Occurs depending on issue
Replies: 3
Views: 1499

Is ur record fixed width or variable ? Need further details about the error.
by sudha03_vpr
Thu Feb 28, 2013 4:59 pm
Forum: General
Topic: Problem with environment variables during promotion...
Replies: 8
Views: 3884

PROJDEF (Project Defaults) in DEV or any other environment needs to be setup in Datastage Admin Level. Are you talking about the DB Userids and Password ?
by sudha03_vpr
Thu Feb 28, 2013 3:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: please provide replica DS transformer code of below code
Replies: 7
Views: 2734

I agree with that but every tool / programing has its own pros and cons. I was involved in migrating the COBOL code to Datastage and luckily i was not having a complex loop. But COBOL data loads was taking a day's time but with Datastage or with any relevant ETL tool, it would take a hour or lesser ...
by sudha03_vpr
Thu Feb 28, 2013 2:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to datastage pass record between stage
Replies: 7
Views: 2933

If there is no IPC stage between a passive and active stage, it process the data row by row.
by sudha03_vpr
Thu Feb 28, 2013 2:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: please provide replica DS transformer code of below code
Replies: 7
Views: 2734

Most of the Switch and Case functionalities can be achieved by IF THEN ELse If in datastage. Am not sure what you mean by that.
by sudha03_vpr
Thu Feb 28, 2013 10:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: equalent datastage transaformer code
Replies: 3
Views: 1766

It will be much easier if you do it in the SQL query level i.e i mean at the DB level when fetching the data from the table.
by sudha03_vpr
Thu Feb 28, 2013 10:35 am
Forum: General
Topic: Add / Subtract months from a date in a Sequence
Replies: 3
Views: 4553

Transform routine needs to be used in the basic transformer. I assume you are working with Datastage server edition as you have Iconv function below. First you will be creating a server routine and then calling the routine in your transform and use the transform in the derivation part of your basic ...
by sudha03_vpr
Thu Feb 28, 2013 10:23 am
Forum: General
Topic: Last Modified Date of a Parallel Job
Replies: 7
Views: 2637

If you migrate the code to a different environment, the job status changes to compiled with a date against it if you double click the job at the director level. If you are not migrating high volumes then this may be helpful.
by sudha03_vpr
Thu Feb 28, 2013 10:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: please provide replica DS transformer code of below code
Replies: 7
Views: 2734

Just to Brief on what ray suggested If CLAT-DIAGN-CD >= 0.0 and CLAT-DIAGN-CD <= 136.9 Then 1 Else If CLAT-DIAGN-CD >=137.0 and CLAT-DIAGN-CD <= 226.9 Then 2 So Forth. You may be writing this in the derivation part of the transformer against the Column CLAT-DIAGN-CTGRY-CD or else you can create stag...
by sudha03_vpr
Wed Feb 27, 2013 3:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compilation Issue
Replies: 7
Views: 5061

We had the same problem sometime back. Instead of using Stage variable if you switch all your conditions to the derivation part of transformer then it would work fine. I am assuming that you dont have any dependency between the stage variables.