Last 8 Digits

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
irajasekharhexa
Premium Member
Premium Member
Posts: 82
Joined: Fri Jun 03, 2005 5:23 am
Location: Bangalore
Contact:

Last 8 Digits

Post by irajasekharhexa »

Hi In one of my job i has a requirement where I need to pick only last 8 digits of a particulor Column.

Can pls anybody help?

Regds
Rajasekhar
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Re: Last 8 Digits

Post by gateleys »

irajasekharhexa wrote:Hi In one of my job i has a requirement where I need to pick only last 8 digits of a particulor Column.

Can pls anybody help?

Regds
Right?
gateleys
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Re: Last 8 Digits

Post by gateleys »

Another way -

Fmt(InputString, "R#8")
gateleys
mujeebur
Participant
Posts: 46
Joined: Sun Mar 06, 2005 3:02 pm
Location: Philly,USA

Re: Last 8 Digits

Post by mujeebur »

gateleys means is below:


MyString = "ABCDEF"
MySubStr = Right(MyString, 3) ;* answer is "DEF"
irajasekharhexa
Premium Member
Premium Member
Posts: 82
Joined: Fri Jun 03, 2005 5:23 am
Location: Bangalore
Contact:

Re: Last 8 Digits

Post by irajasekharhexa »

mujeebur wrote:gateleys means is below:


MyString = "ABCDEF"
MySubStr = Right(MyString, 3) ;* answer is "DEF"
Mujeeb/Gateley.

Thansks lot. It's working fine.

Is these kind of built in functions where can i find in the manuals?

Regds
Rajasekhar
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Re: Last 8 Digits

Post by gateleys »

irajasekharhexa wrote:
Is these kind of built in functions where can i find in the manuals?
In the Transformer, right click on any column derivation for the DSTransforms and DSRoutines, among other things. You may want to click on Help to find out further details about each of these functions.

And may be, you could mark the topic as Resolved. :wink:
gateleys
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Apendix A, Parallel Job Developers Guide
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply