| Alistair 2007-05-22, 9:55 pm |
| On 22 May, 03:41, Clark F Morris <cfmpub...@ns.sympatico.ca> wrote:
> On Mon, 21 May 2007 16:32:56 -0400, Michael Schey
>
>
>
>
>
> <mscheynjSPAMBL...@yahoo.com> wrote:
>
>
>
>
>
> Depending on the platform and possible low-order zone, the blanks are
> treated as zeros. I could see this causing a data exception (S0C7) on
> an IBM z series unless the PACK was followed by an OR IMMEDIATE on the
> sign position because the packed value of the field would be
> x'030004'. Other platforms would have their own peculiarities.
>
>
>
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
No PACK involved. The move was a simple move. If EBCDIC then
X'F3404040' would result in an S0C7 (I presume) unless only the low-
order nibbles are moved for each character and the X'F' nibble put in
to all high order positions ie X'F3404040' becomes X'F3F0F0F0'. My
money says that as there was no reported abend then it isn't IBM
hardware.
|