I come very late to this thread, but my conjecture is that the OP's
problem is a terminological one.  I think he wants to be able to
convert display, character-string representations like '202' of
decimal numbers into their internal, storage representations.

He does need to tell us what environment and language he is using so
that we can tell him how, specifically, to solve his problem.  Since
he probably has a PC he could of course use the Windows calculator.

John Gilmore, Ashland, MA 01721 - USA

On 6/21/12, Uriel Carrasquilla <[email protected]> wrote:
> Under your Linux machine, run sed with "s/bytes/decimal/gi" and your are
> done.
>
> ________________________________________
> From: IBM Mainframe Discussion List [[email protected]] on behalf of
> Charles Mills [[email protected]]
> Sent: Thursday, June 21, 2012 1:17 PM
> To: [email protected]
> Subject: Re: convert Decimal to bytes
>
> Converting decimal to bytes is trivial.
>
> Locate the first 'd' and replace with 'byt'.
>
> Locate the string 'cimal' and replace with 's'.
>
> Charles
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of zMan
> Sent: Thursday, June 21, 2012 8:47 AM
> To: [email protected]
> Subject: Re: convert Decimal to bytes
>
> On Wed, Jun 20, 2012 at 5:15 PM, Art <[email protected]> wrote:
>
>> Hi would anyone know of a calculator and/or formal via rexx that I
>> could use/setup to convert decimal to bytes. I would like to multiply
>> xxxxx
>> (decimal) by 80 and add an extra 80 bytes.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to