<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Code Page - Tag - My Tech Info Site</title><link>https://JSnetSystems.github.io/tags/code-page/</link><description>My Tech Info Site</description><generator>Hugo 0.154.2 &amp; FixIt v0.4.0-beta</generator><language>en</language><lastBuildDate>Tue, 06 Dec 2022 20:02:48 -0500</lastBuildDate><atom:link href="https://JSnetSystems.github.io/tags/code-page/index.xml" rel="self" type="application/rss+xml"/><item><title>Character Encoding - chtag</title><link>https://JSnetSystems.github.io/posts/chtag_post/</link><pubDate>Tue, 06 Dec 2022 20:02:48 -0500</pubDate><guid>https://JSnetSystems.github.io/posts/chtag_post/</guid><category domain="https://JSnetSystems.github.io/categories/uss/">USS</category><description>&lt;p&gt;&lt;img loading="lazy" src='https://JSnetSystems.github.io/posts/chtag_post/cover_chtag.jpeg' alt="Character Encoding for USS" height="722" width="1720"&gt;&lt;/p&gt;
&lt;p&gt;I recently installed IBM Z Open Automation Utilities and Python on z/OS and learned a new command I haven&amp;rsquo;t or needed to use before.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://www.ibm.com/docs/en/zos/3.2.0?topic=descriptions-chtag-change-file-tag-information" target="_blank" rel="external nofollow noopener noreferrer"&gt;chtag command&lt;/a&gt; for character encoding for EBCDIC.&lt;/p&gt;
&lt;p&gt;After editing some Helloworld.py file using vi editor I recevied the follow error when I try to run the python code.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/home/#&amp;gt;python hello.py
SyntaxError: Non-UTF-8 code starting with &amp;#39;\x97&amp;#39; &lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I needed to change the codeset to IBM-1047 for python to run correctly on USS z/OS.&lt;/p&gt;</description></item><item><title>OMVS Encoding</title><link>https://JSnetSystems.github.io/posts/omvs_post/</link><pubDate>Sat, 08 Jan 2022 11:16:56 -0500</pubDate><guid>https://JSnetSystems.github.io/posts/omvs_post/</guid><category domain="https://JSnetSystems.github.io/categories/mainframe/">Mainframe</category><description>&lt;p&gt;&lt;img loading="lazy" src='https://JSnetSystems.github.io/posts/omvs_post/cover_OMVS.jpeg' alt="OMVS encoding characters" height="722" width="1720"&gt;&lt;/p&gt;
&lt;p&gt;This character brackets [ ] and others that don&amp;rsquo;t convert to a readable form was driving me crazy.&lt;/p&gt;
&lt;p&gt;enter this command when starting a USS session: omvs convert((BPXFX111))&lt;/p&gt;
&lt;p&gt;Example, in man pages converts this line:&lt;/p&gt;
&lt;p&gt;pax Ý-cdEnvz¨Ý-H|-L¨Ý-f archive¨ Ý-o type¨ Ý-s substitute¨ &amp;hellip; Ýpattern &amp;hellip;¨&lt;/p&gt;
&lt;p&gt;to this line:&lt;/p&gt;
&lt;p&gt;pax [-cdEnvz][-H|-L][-f archive] [-o type] [-s substitute] &amp;hellip; [pattern &amp;hellip;]&lt;/p&gt;
&lt;p&gt;much easier to read. &amp;#x1f44d;&lt;/p&gt;
&lt;p&gt;IBM Link &lt;a href="https://www.ibm.com/docs/en/zos/3.2.0?topic=locales-using-convert-option-omvs-command" target="_blank" rel="external nofollow noopener noreferrer"&gt;OMVS command&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>