Mike Schwab wrote:
On Tue, Nov 30, 2010 at 7:01 PM, Wayne Bickerdike <[email protected]> wrote:
<deleted>
My same source related the tale of a person in same bank who received
an EBCDIC file, opened it in Windows and saved it back as ASCII. The
file was duly transferred for processing on the mainframe. Most of the
packed data was garbaged ......

Oh my, dumb and dumber....

Here is an idea to bounce around.  z/OS Unix System Services does a
lot of work converting ASCII to EBCDIC and back.  z/Linux works all in
ASCII.  Why not get 4 new instructions that work with PD<=> ASCII like
the PD <=> EBCDIC instructions PACK, UNPK, ED, EDMK, but with an A
suffix to denote ASCII character.  Conversion from Packed to binary
would be the same.  Assembler would get new instructions.  z/OS would
need to know if a file was ASCII for proper translation when printing
it.


Mike,

Introduced with the z900 were the PKA (Pack ASCII), PKU (Pack Unicode), UNPKA (Unpack ASCII), and UNPKU (Unpack Unicode) instructions.

--
| Jim Phoenix                      | Voice:   (310) 338-0400 x316   |
| Senior Software Developer        | Fax:     (310) 338-0801        |
| Phoenix Software International   |                                |
| 831 Parkview Drive North         | [email protected] |
| El Segundo, CA 90245             | http://www.phoenixsoftware.com |

Opinions expressed by this individual are not necessarily those of the Company.

----------------------------------------------------------------------
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