Search found 32 matches

by RPhani
Mon Jan 12, 2015 3:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Alphanumeric data
Replies: 6
Views: 3520

Hi,

I think Alnum() checks for Alphabets Or Numbers Or AlphaNumerics in a string.
Not only AlphaNumerics.

=========================
RPhani
by RPhani
Thu Oct 30, 2014 3:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to put this logic to Datastage Transformer
Replies: 6
Views: 7475

I think, You can get the desired output by the below process. 1)Source Stage 2)Sort stage Key=Account Sort Key Mode=Don't sort(previously sorted) Key=Debit/Credit Create Cluster Key Change Column=Yes 3)Transformer: Sv1=1 Sv2=If Cluster Key change column=1 then SV1 else Sv2+1 Take 2 constraints and 2...
by RPhani
Fri Oct 17, 2014 5:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key using a state file or Database
Replies: 7
Views: 8266

Hi,

I think one more way to generate unique numbers.

Prepare a procedure and call it to job by StoredProcedure Stage.

Use this STP Stage before loading data to target.

Thanks,
RPhani
by RPhani
Tue Apr 29, 2014 8:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: vertical pivot
Replies: 7
Views: 3803

Hi,

I think the same code work for your scenario.

--------------------------------------
Phani
by RPhani
Fri Apr 25, 2014 1:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inserting Null Value in to Date Field - Oracle
Replies: 8
Views: 18553

Hi,

IsValid() , If..Then..Else combination may work

----------------
Phani
by RPhani
Fri Jan 31, 2014 4:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Find count Each department Number.
Replies: 4
Views: 3074

Hi,

You can get the required o/p by If -Then- Else with KeyChangeColumn(1 and 0) and StageVariables.

----------------------------
RPhani
by RPhani
Fri Jan 31, 2014 4:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capitolizing the first and last letter
Replies: 2
Views: 2255

Hi,

Try this:
Upcase(Left(Column_name,1)):Column_name[2,Len(Column_name)-2]:Upcase(Right(Column_name,1))

-----------------------------------------
RPhani
by RPhani
Mon Jan 27, 2014 6:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage scenario
Replies: 5
Views: 3074

Hi,

1)Your DS version ?

--------------------------
RPhani
by RPhani
Mon Jan 27, 2014 5:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage scenario
Replies: 5
Views: 3074

Hi,

Use Transformer Looping concept.

---------------------
RPhani
by RPhani
Tue Jan 21, 2014 3:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage Scenario?
Replies: 5
Views: 2725

Hi Sushma, The below procedure will help for your Scenario. 1)EMPNo of HARITHA(100,102,104) are reference to a LookUp. 2)It's O/P has 5 recs and Rej has 4 recs(101,103). 3)Take a Transformer constaint ENAME='HARITHA' on LookUp O/P. 4)Funnel with LookUp Rejects Thanks in advance for alternate ideas. ...
by RPhani
Fri Dec 20, 2013 1:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date valid function
Replies: 7
Views: 3493

Hi,

1)Please check Target column datatype.
2)'%mm%dd%yyyy' is Varchar(8) But defalt value in Else part is 10.

-------------------
RPhani
by RPhani
Fri Dec 20, 2013 12:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivoting-unknown number of columns
Replies: 5
Views: 2910

Hi,

Use Transformer Looping concept.

----------------------------------------
R.Phani
by RPhani
Fri Dec 13, 2013 1:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Different results in 8.7 job than 8.1 version job
Replies: 9
Views: 6700

Hi,

DataTypes and Lengths Of duplicate columns?CHAR or Varchar?

I think no differnce in algorithm.
----------------------
Phani
by RPhani
Wed Sep 25, 2013 1:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Connector Before SQL not deleting records
Replies: 8
Views: 8550

Thanks Arndw,

I am using Oracle Connector stage.

-----------------------------------------------
Thanks,
Phani
by RPhani
Tue Sep 24, 2013 5:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Connector Before SQL not deleting records
Replies: 8
Views: 8550

Thanks Arndw,

AutoCommit is off in my db.
Thus I took After Sql=commit and run the Job.

Eventhough records are not deleting.Only inserting.

Where shoud i need to take Commit statement?Please specify.

----------------------------------------
Thanks,
Phani