Something about DataStage, DataStage Administration, Job Designing,Developing, DataStage troubleshooting, DataStage Installation & Configuration, ETL, DataWareHousing, DB2, Teradata, Oracle and Scripting.
Showing posts with label trim. Show all posts
Showing posts with label trim. Show all posts
Tuesday, June 16, 2015
trim leading 0's from decimal in DataStage
1. Convert the decimal (or whatever it was) to String.
2. then trim '0's from left.
Labels:
DataStage
,
design
,
Designer
,
develop
,
function
,
transformation
,
transformer
,
trim
Wednesday, February 04, 2015
Modify Stage - TRIM function
For trimming spaces or a char from a string can be done in modify stage. Below, I have shared the function syntax and some example, go Play ;-)
string_trim[character,direction,justify](string)
or
string_trim[character,direction](string)
or
string_trim[character](string)
or
string_trim(string)
Subscribe to:
Posts
(
Atom
)