Leaving it in EBCDIC leaves the user responsible for properly interpreting the data. I. E. they may not be using the American Code page IBM-037? / 1047? And even if using one of those pages for MOST files, some language compilers require their OWN Code page (PL/1, C, APL) due to required characters. So a minimum of skipping the translation.
On Sun, Mar 14, 2021 at 11:32 AM Paul Gilmartin <[email protected]> wrote: > > On Sun, 14 Mar 2021 11:13:47 -0500, Mike Schwab wrote: > > >How about a parameter to specify the code page conversions? > >Or can the output be an XMIT file so an XMIT viewer be used? > > > Does XMIT indicate the code page? > > EBCDIC is a nightmare. For example, an IBM web page: > > https://www.ibm.com/support/knowledgecenter/SSGMCP_5.5.0/administering/tools/dfha7c0019.html > > In the character sets given in this information, the dollar symbol ($) is > used as a national > currency symbol and is assumed to be assigned the EBCDIC code point X'5B'. > > In some countries a different currency symbol, for example the pound > symbol (£), or > the yen symbol (¥), is assigned the same EBCDIC code point. In these > countries, the > appropriate currency symbol should be used instead of the dollar symbol. > > Isn't this ambiguity an invitation to disaster? It would have been far wiser > to > use distinct uncommitted code points for '£' or '¥' rather than overloading > '$'. > > (But ISO-8859-x has similar problems. UNICODE is the right answer.) > > >On Sun, Mar 14, 2021 at 9:02 AM Mario Bezzi wrote: > >> > >> ..., properly managing > >> mainframe code pages is impossible as the terse container doesn't carry > >> such information, and one can only guess. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN -- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
