I don't think there is a standard conversion to do this - I've always
had to write a little subroutine to deal with it. I would post the
program, but I'm not on the system today. 

Mark :( 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Coelho, Gregory
Sent: Tuesday, January 17, 2006 7:52 AM
To: [email protected]
Subject: [U2] RE: Number Conversion

EEEK! Hummm, Is there anyone that can help me with number conversion? I
need to convert a negative monetary amount pulled in by
FMT(OCONV(X.AMOUNT, "MD"), "8\0R") to meet S9(6)V99 or Z8.2 format.
COBOL programmers may recognize this comp-3 format - padded with leading
zeros the right most character must use an EBCDIC symbol to reflect a
negative amount:} = 0, J = neg. 1, K = neg. 2, L = neg. 3 ... R = neg.
9. Any help or direction would be greatly appreciated.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to