Use OCONV and ICONV and the MD (Move Decimal) type.

Ex.  NODEC=ICONV(WITHDEC,"MD2")

ICONV - moves decimal to the right
OCONV - moves decimal to the left

MD# - where # is the number of decimal places to move.

George

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Sathya
Sent: Tuesday, May 07, 2013 1:04 PM
To: [email protected]
Subject: Re: [U2] Illegal use of the file, select, cursor, BCI, Socket, HTTP, 
XML, SCTX , MQS, SOAP or database variable.

Wjhonson <wjhonson <at> aol.com> writes:

> 
> Satya the OSOPEN command.. what version of the system are you running?
>

Hi,.
Thanks everyone for the suggestions and I have sorted out the issue. Now I 
want to write some dollar values to a file. But the format in which it is 
in the file is XXX.XX, but I need to write it as XXXXX. Without the 
decimals the simple numbers. 

Can some help me in doing so. 

Thanks & Regards,
Sathya V. 
 



_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to