HP3000-L Archives

December 1997, 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:
Ken Vickers <[log in to unmask]>
Reply To:
Ken Vickers <[log in to unmask]>
Date:
Wed, 17 Dec 1997 16:17:58 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (76 lines)
Now this question has bounced around a bit so I thought I should add a
little more confusion.

Some years ago on our bureau system here we had some Cobol and some RPG
programs which referred to the same numeric field. As it happened one
programmer erroneously referred to the field as unnumbered.

Now we all know that we get C for +, D for - and F for unnumbered but ...
and forgive me because the error has not been repeated and I cannot
remember whether the error was in the Cobol or the RPG and whether it was
the Cobol or the RPG which could not cope but the symptom was exactly the
same as Jerry is complaining about.

The solution to the problem (or cause) relates to the way any application
CASTs the data which it is trying to report.

It is not the standard which is wrong here but the conversion routine.

At 09:51 17/12/97 -0600, you wrote:
>At 12:43 PM 12/15/97 -0500, Therm-O-Link wrote:
>>Jerry Fochtman replies:
>>
>>>When QUERY detects the item is type 'Z' and the FIND value is
>>>positive, it actually performs 2 DBFINDs; one signed and one
>>>unsigned.....
>>
>>Yeah, I can see that's what it is doing.  My original question
>>still stands: Why?

<snip>

>HP has been quite active in working towards keeping SQL current
>with its various standards.  As such, they are reluctant to
>add 'extensions' to the SQL interface that are not in the
>standards.  I've had these discussions with HP in the
>past, in terms of the SQL interface.
>
>So perhaps the underlying issue is the conflict between
>HP's goals to adhere to the standard coupled with the
>inadequacy of the standards to address this issue, or perhaps
>a stand taken in the standards which explicitly excludes
>unsigned packed decimal....
>
>
>
>
>
>/jf
>                              _\\///_
>                             (' o-o ')
>___________________________ooOo_( )_OOoo____________________________________
>
>                        Wednesday, December 17th
>
>            Today, in 1903 - Wilbur and Orville Wright flew their
>                             1st plane a Kitty Hawk, N.C.
>
>___________________________________Oooo_____________________________________
>                            oooO  (    )
>                           (    )  )  /
>                            \  (   (_/
>                             \_)
>
_______________________________________________________
Ken Vickers
LINKWAY Development and Support
Computing Solutions Limited
10 St Andrews Road
Droitwich, Worcestershire
UNITED KINGDOM
TEL +44 (0) 1905 794400
FAX +44 (0) 1905 794464
mailto:[log in to unmask] or
mailto:[log in to unmask]
http:www.csllink.com

ATOM RSS1 RSS2