> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Kelman, Tom
> 
> Actually if you have gotten blanks into N2 which is defined 
> as a packed field and then try to move that to N4 which is a 
> display field won't you end up with and abend when it tries 
> to unpack a field which isn't really in packed format?

It's not the UNPK instruction that suffers the S0C7, but any
packed-decimal instruction (except ZAP with a packed-decimal source
field).  UNPK just "expands" each nybble but the rightmost byte into a
byte, and inserts a "sign nybble" of x'F'; and just reverses the order
of the nybbles in the rigntmost byte of the field being unpacked.  It
can suffer a S0C4 and perhaps other interruptions, but not a S0C7.

    -jc-

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to