HP3000-L Archives

June 2000, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Donna Garverick <[log in to unmask]>
Reply To:
Donna Garverick <[log in to unmask]>
Date:
Thu, 29 Jun 2000 13:24:11 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
Boris Kortiak wrote:

> Anyway, my question is: has anyone written a routine in JCL to convert numbers between various bases?  Does anyone have any suggestions on how to go about this?

well, the 'calc' function almost sorta kinda does what you want....

:calc 16
16, $10, %20
:calc 200006281604
      ^
Integer overflow in the expression. (CIERR 9740)

hmmm, could you bust the big number into littler pieces and pin everything together?  it's a thought....             - d

--
Donna Garverick     Sr. System Programmer
925-210-6631        [log in to unmask]

>>>MY opinions, not Longs Drug Stores'<<<

ATOM RSS1 RSS2