Re: Printing a return code

2012-08-10 Thread John P. Baker
Bobby, Here is a simple code fragment to take a binary return code loaded into R1 and to convert it into a 4 digit decimal character string (also in R1) -- CVD R1,20(,R13) Convert to packed decimal UNPK20(5,R13),25(3,R13) Convert to zoned de

Re: Printing a return code

2012-08-10 Thread Hall, Keven
Or like so: HEX2CHAR DC 256AL1(*-HEX2CHAR) Keven -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Steve Smith Sent: Thursday, August 09, 2012 11:48 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Printing a return code Us

Return Code Print

2012-08-10 Thread esst...@juno.com
Many many years ago, a Famous Assembler Programmer at Prodigy Services (Fread Veasley) gave me this routine to externalize a Return Code. I have been using it for some time and I cant recall Having a problem with it. I thought I would share it.