On 9/17/2013 11:59 AM, Hansen, Dave L - Eagan, MN wrote:
        UNPK NUMOUT(4),ANS        (NUMOUT - 4 bytes in length) - Convert '00 00 
00 00 00 07 29 8C' to 'F7 F2 F9 F8'.
                                                           If the first operand 
is too short to contain all digits of the second operand,
                                                               The remaining 
left-most portion of the second operand is ignored.

I can't help with the other stuff, but you seem to be missing an instruction. Your UNPK will generate F7 F2 F9 C8 (last byte is swapped, not changed to Fx).


Gerhard Postpischil
Bradford, Vermont

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

Reply via email to