Are you sure about UNPACK, EDIT and EDMK?

My recollection is that

- UNPACK does not care about content. It just re-arranges the nibbles.
- EDIT and EDMK do not ever create packed data, do they? And I think they 
honored both D and B as negative indicators for input.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Tom Marchant
Sent: Saturday, February 20, 2016 10:29 AM
To: [email protected]
Subject: Re: ASCII vs. EBCDIC (was Re: On sort options ...)

On Sat, 20 Feb 2016 10:46:05 -0600, Paul Gilmartin wrote:

>On Sat, 20 Feb 2016 06:54:56 -0600, Bill Woodger wrote:
>
>>Indeed, there's a bit in the PSW indicating whether it is running in 
>>ASCII or EBCDIC, isn't there? :-)
>> 
>Used to be.  I doubt that it's still functional.  Did COBOL ever exploit it?

Bit 12. As Charles noted, it was only used for the setting of the sign and/or 
zone nibble in decimal numbers in pack decimal arithmetic, as well as UNPACK, 
CVD, EDIT and EDMK. When set to 1, it indicated ASCII mode. I don't know what 
you mean about Cobol exploiting it.

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

Reply via email to