Page 1 of 1

How to convert signed Decimal & signed int to EBCDIC for

Posted: Mon Jan 26, 2009 11:49 pm
by harish_s_ampeo
How to convert Signed Decimal to EBCDIC in datastage?

eg : -123.44 (convert to EBCDIC form)
-123 (Conver to EBCDIC Form)

Please help me out is ther any datastage built in function or do we need to write Routine? if so please give some clue?

Thanks in advance...

Thanks
Harish

Posted: Tue Jan 27, 2009 6:28 am
by Mike
You'll have to write routines to convert in that direction. DataStage includes routines that convert in the opposite direction, so it shouldn't be too difficult to adapt those to fit.

Mike

Posted: Tue Jan 27, 2009 6:30 am
by Mike
By the way... you're talking about packed decimal. It is neither ascii nor ebcdic. It is binary.

Mike