Datastage OS/390 - Validate numeric fields

Archive of postings to DataStageUsers@Oliver.com. This forum intended only as a reference and cannot be posted to.

Moderators: chulett, rschirm

Locked
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Datastage OS/390 - Validate numeric fields

Post by admin »

Hello

Im using Datastage OS/390, and i need to validade, in my input file, the numeric fields. So i use a transformer, and in each numeric field, i do this instruction

IF FIELD001 IS NUMERIC THEN FIELD001ELSE 0 END

What im doing is testing if a field is numeric, and if its i move the numeric field else zero. The input field and the output field, are numeric.

But when i complie, in Datastage, give me the next error

Error: 100013 Columns cannot be mapped due to data type incompatibility.


Who can i do validate, of a numeric field ?


regards
Rui Soares


Rui Soares
NOVABASE - Data Quality - Mi
Tlm : +351 . 96 347 0840
Tel ( BES ) : +351 .21 416 8000 ( ext 266372)
Mail : RUI.SOARES@NOVABASE.PT
Locked