I began programming at IBM mainframes 1979. I remember encountered those A,
E signs a few times but not exactly why. I suspect maybe from punched cards
or punched tape. We had both at that time.
I have also seen them in some manuals st that time.


Thomas Berg


Mundus Vult Decipi

Den mån 28 apr. 2025 19:06Paul Gilmartin <
[email protected]> skrev:

> On Mon, 28 Apr 2025 12:26:00 -0400, Phil Smith III  wrote:
>
> >Ok, well, in 1975 I was still in high school and playing games on VM over
> dialup, didn't start my mainframe career until 1980. But the question
> stands: what's with these "unpreferred" values? Why would they even
> exist/be valid?
> >
> I suspect it's a holdover from parsimoniously engineered hardware.
> 1401?  Punched cards?  Competing vendors?    ...?  Only two nybble
> values should  have been designated valid; any others should have
> caused data checks.  but them gates was expensive back then.  And
> doing it right nowadays wouldn't be compatible.
>
>
>
> On Mon, 28 Apr 2025 16:32:40 +0000, Schmitt, Michael wrote:
> >    ...
> >C: positive
> >D: negative
> >F: unsigned
> >
> ???
> So is any unsigned number algebraically greater than any negative number,
> and algebraically less than any positive number?
>
> >If all your code has preferred signs then it can generate more efficient
> code, by using CLC and MVC for example instead of packed decimal
> instructions.
> >
> Isn't the sign nybble in the rightmost byte, and doesn't CLC go
> left-to-right?
> I don't see how CLC can give correct results.
>
> I remember only vaguely, and from distant past the JCL converter
> failed my job on a decimal data exception on data it had generated.
>
> --
> gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to