HP3000-L Archives

February 2004, Week 2

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:
"Newton, Ernie" <[log in to unmask]>
Reply To:
Newton, Ernie
Date:
Wed, 11 Feb 2004 12:57:03 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Greetings,

I have a value that reads 123.45- and I want
the minus sign to float at the beginning
of the number.  

For the life of me, I can't remember how to do 
that and I have my college COBOL text book, but
it's not in there.  

In WORKING-STORAGE, I have the variable with 
the following picture clause; S9(5)V99 COMP-3.

Is there a "LEADING" option that I could put before
or after COMP?  And, can I make the minus sign
float?  By float, I mean that I want the sign
to be at the first byte to the left of the number,
no matter the size of the number.

Thanks,

Ernie

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2