HP3000-L Archives

September 2017, Week 4

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:
"James B. Byrne" <[log in to unmask]>
Reply To:
Date:
Mon, 25 Sep 2017 12:54:01 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
On Mon, September 25, 2017 12:39, Pickering, John wrote:
> define d-account-number char*8 = ascii(account-number,8)
> Or
> define d-account-number char*8 = char(account-number)
>
> Then include the defined item in your portable subfile instead of the
> actual data element.

Thanks, I am doing exactly that for other items where the values are
signed but my question remains: Why is QTP prefacing an unsigned zoned
decimal with a plus sign? I would expect only digits.

The facile answer is: Because they programmed it that way.  But why?
Why does one have to convert ASCII encoded characters to . . . ASCII
encoded characters to get rid of a character that is not in the source
data?

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:[log in to unmask]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

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

ATOM RSS1 RSS2