John McKown wrote:
On Fri, 16 Jan 2009 09:28:10 -0700, Steve Comstock
<[email protected]> wrote:
John,
What are you using the data for on z/OS?
I don't have any idea.
* You can browse UTF-16 data
(browse the file then on the command line, enter ===> disp utf16 )
This didn't work for me. It said it did, but I still couldn't see anything.
I think it may be because the UTF-16 is in little-endian format instead of
big-endian.
* You can write a simple COBOL program to convert
from National to Display
This sounds interesting. I'll check on it.
Ah, but it won't work if the data is little endian.
Sorry, didn't know that at first. You could write a
fairly simple Assembler program to reverse the bytes,
I guess.
* You can write a not-so-simple Assembler program
to convert to any EBCDIC code page
I indicated this, but my boss doesn't want to.
Are you sure there are no characters outside the EBCDIC range?
Fairly sure, but not 100%
Kind regards,
-Steve Comstock
The Trainer's Friend, Inc.
303-393-8716
http://www.trainersfriend.com
z/OS Application development made easier
* Our classes include
+ How things work
+ Programming examples with realistic applications
+ Starter / skeleton code
+ Complete working programs
+ Useful utilities and subroutines
+ Tips and techniques
==> Check out the Trainer's Friend Store to purchase z/OS <==
==> application developer toolkits. Sample code in four <==
==> programming languages, JCL to Assemble or compile, <==
==> bind and test. <==
==> http://www.trainersfriend.com/TTFStore/index.html <==
----------------------------------------------------------------------
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