The original question was posed on StackOverflow here 
https://stackoverflow.com/questions/76569347/what-are-the-supported-code-points-for-special-characters-for-valid-z-os-datas

There is a whole set of answers (opinions) on the subject.  

I did some testing by creating a file in USS in CP047 with the characters “@#$” 
and then used iconv to convert them to a variety of code pages and compare the 
results.  Some conversions failed but when looking at the code pages that 
failed they didn’t appear to me to be what I would consider mainstream.  For 
the ones I’m familiar with they all converted correctly.

The command was 'iconv -f 1047 -t 37 special > converted;chtag -t -c 37 
converted;cmp special converted’   I changed to the encoding of 37 to other 
code pages and most worked fine.  You can find the list of cps supported by 
issuing 'iconv -l’ and there are a lot of them.

Thanks for your comments and feedback.  Always interesting how a thread will go 
on such a topic as this.

Matt Hogstrom

“It may be cognitive, but, it ain’t intuitive."
— Hogstrom



> On Jul 5, 2023, at 3:00 PM, John McKown <john.archie.mck...@gmail.com> wrote:
> 
> All JCL is CP-037. This predates any idea of code pages in the OS. The JCL
> converter/interpreter only works with that encoding.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to