Number Validation

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
naren6876
Participant
Posts: 233
Joined: Mon Feb 07, 2005 7:19 pm

Number Validation

Post by naren6876 »

Hi,
My input record value must be Numeric and not decimal and not zero.

Any solution out there pls.

Thanks in advance.
sachinkc
Participant
Posts: 34
Joined: Sat Apr 17, 2004 11:39 am
Location: USA

Re: Number Validation

Post by sachinkc »

1. Read it as varchar
2. Use the transformer to parse the numeric value\ validate it as you want
3. Send the output link to be processed to your "real" ETL
4. Read the BASIC pdf file that came with DataStage installation to help you with the routines\conditional statements Or search the DSXchange for an answer
naren6876 wrote:Hi,
My input record value must be Numeric and not decimal and not zero.

Any solution out there pls.

Thanks in advance.
Rgrds & Cheers!

Sachin
sachin@operamail.com
~Life always finds a way~
naren6876
Participant
Posts: 233
Joined: Mon Feb 07, 2005 7:19 pm

Re: Number Validation

Post by naren6876 »

Thanks. I got it
sachinkc wrote:1. Read it as varchar
2. Use the transformer to parse the numeric value\ validate it as you want
3. Send the output link to be processed to your "real" ETL
4. Read the BASIC pdf file that came with DataStage installation to help you with the routines\conditional statements Or search the DSXchange for an answer
naren6876 wrote:Hi,
My input record value must be Numeric and not decimal and not zero.

Any solution out there pls.

Thanks in advance.
Post Reply