× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Reade With a Packed Field
  • From: "Bale, Dan" <DBale@xxxxxxxxxxxxxxxx>
  • Date: Wed, 15 Mar 2000 16:45:50 -0500

I concur with the mainframe sign idea.

If you were to use this field with the 'C' sign with arithmetic functions,
i.e., add, subtract, multiply, divide, the system treats it as a positive
number.

However, it may well be a whole different animal when it comes to using this
field as a key field.  The question is whether the compiler (?) sees the key
field as a numeric value or if it sees all key fields as a character or
hexadecimal value.  Numerically, x'123C' equals x'123F', but otherwise they
are unequal.

You'd probably get a better answer over on the RPG400-L list.  I'd guess
that Hans Boldt / Barbara Morris would be able to answer this in a second;
don't know if they wander over to the MIDRANGE-L list at all.

- Dan Bale

-----Original Message-----
From: Leisk, Andrew [mailto:aleisk@frpaper.com]
Sent: Wednesday, March 15, 2000 3:54 PM
To: 'MIDRANGE-L@midrange.com'
Subject: RE: Reade With a Packed Field
Importance: High


Trying to remember back in my dinosaur days on a mainframe - I think that
"C" is valid instead of "F" as a positive sign for a packed numeric field on
a mainframe.  Seems to me I ran into a problem with this once about 7 or 8
yrs ago.  But darned if I remember any more how we solved it.  But "C" is
valid.
---------- 
From:   Leland, David[SMTP:dleland@Harter.com] 
Reply To:       MIDRANGE-L@midrange.com 
Sent:   Wednesday, March 15, 2000 1:11 PM 
To:     'MIDRANGE-L@midrange.com' 
Subject:        RE: Reade With a Packed Field 
Wouldn't that be considered invalid data?  I thought packed fields could
only end w/ "D" or "F". 
Dave 
-----Original Message----- 
From: Bruce Odum [ mailto:Bruce.Odum@cbs.fiserv.com] 
Sent: Wednesday, March 15, 2000 1:17 PM 
To: MIDRANGE-L@midrange.com 
Subject: Reade With a Packed Field 


Has anyone ever had a problem using Reade with a partial key and one 
of the keys is packed and the data in the packed field ends with a C 
and not a F? Any ideas on why this would not work? 
+--- 
| This is the Midrange System Mailing List! 
| To submit a new message, send your mail to MIDRANGE-L@midrange.com. 
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. 
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.

| Questions should be directed to the list owner/operator:
david@midrange.com 
+--- 
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.