Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

PL/I & Assembler :: RE: Incorrect output when trying to add numbers

$
0
0
Author: monica1
Subject: Reply to: Incorrect output when trying to add numbers
Posted: Mon Jan 16, 2017 9:17 am (GMT 5.5)

I tried with this instruction

OI OUTNUM+1,X'F0'

instead of

OI UNPACK+1,X'F0'

and I was able to execute the program.

From this I understand that an OI instruction should be performed on the UNPK-ed tagname inorder to make the last digit as printable.

Thanks everyone for your help.


Viewing all articles
Browse latest Browse all 8500

Trending Articles