Alphanumeric data

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
edward_m
Charter Member
Charter Member
Posts: 257
Joined: Fri Jun 24, 2005 9:34 am
Location: Philadelphia,PA

Alphanumeric data

Post by edward_m »

I was trying to process only numeric data in a file based on a particular column and track other records with Alpha numeric. i used

Code: Select all

num(column)=1
to process recrods with numeric data, however when i try to use

Code: Select all

num(column)<>1
to track records with alphanumeric records, could you please suggest me whats the best way to track alpha numeric records,i use constraint in transformer stage.

Thanks in advance for your help.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Alphanumeric data

Post by chulett »

edward_m wrote:however when i try to use <snip>
What happens?

Perhaps a simple if-then-else?

If num(column) then X else Y
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

alnum() function.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
RPhani
Participant
Posts: 32
Joined: Sun Aug 26, 2012 7:03 am
Location: Hyd

Post by RPhani »

Hi,

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

=========================
RPhani
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Read the manual.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vibwipro
Participant
Posts: 40
Joined: Thu Jan 24, 2013 7:34 am

Re: Alphanumeric data

Post by vibwipro »

It Checks only alphanumeric characters

Link :- https://dtdctw99.tdbank.ca/infocenter/i ... ditor.html :idea:
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Hence the name.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply