‎2009 Nov 20 1:32 PM
hi friends,
i need FM if i give 10,000 as input output must be 10000.
Thanks
Santhosh
‎2009 Nov 20 1:41 PM
‎2009 Nov 20 1:44 PM
Why do you need a special FM for this? You could just replace the comma with space and condense.
PS: Please use a meaningful subject line
‎2009 Nov 20 1:54 PM
Hi Santosh,
I dont think there is a need for FM.
Try this.
TRANSLATE w_value USING ', '.
CONDENSE w_value.
This should work.
Regards
Avinash
‎2009 Nov 20 1:55 PM
Hello Santhosh,
Is the value '10,000 ' defined as numeric or character?
If numeric:
WRITE v_number NO-GROUPING.If character:
REPLACE ALL OCCURENCES OF ',' IN v_char WITH ` `.
CONDENSE v_char NO-GAPS.
WRITE v_char.It is really not an "in-thing" to call FMs for each & every req.
BR,
Suhas
‎2009 Nov 20 2:14 PM
Moderator message - Please do not ask or answer basic questions - post locked
Rob