HP3000-L Archives

May 2004, Week 3

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:
Jim Phillips <[log in to unmask]>
Reply To:
Jim Phillips <[log in to unmask]>
Date:
Mon, 17 May 2004 10:09:46 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (47 lines)
Well, we "successfully" upgraded our system from 6.0
to 7.5 yesterday.  We discovered some VPlus "features"
that bit us...

1)  We had some programs that call "VTURNOFF" and
"VTURNON".  The parameters for VTURNON are "comarea"
and "termfile".  These programs ran successfully under
6.0 just using the "comarea" parameter; however, under
7.5 these programs fail.

2)  We have several forms that use the following field
edits for fields that may or may not be numeric:

if match d* then
   justify right
   fill leading "0"

Under 6.0 this functioned as expected; that is, if the
field contained only digits, it would be
right-justified and zero-filled.  Under 7.5, if the
field was empty, it would also match d* and the edit
was applied.  This caused some of our programs to act
very oddly and it was quite difficult to find the bug.

In order to fix it I had to change the edit to the
following:

if ne $empty then
   if match d* then
      justify right
      fill leading "0"



Jim Phillips




__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/

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

ATOM RSS1 RSS2