<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Z/OS - Tag - My Tech Info Site</title><link>https://JSnetSystems.github.io/tags/z/os/</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/z/os/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>Checking BPXPRM syntax</title><link>https://JSnetSystems.github.io/posts/setomvs_post/</link><pubDate>Sat, 09 Apr 2022 13:26:39 -0500</pubDate><guid>https://JSnetSystems.github.io/posts/setomvs_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/setomvs_post/cover_setomvs.jpeg' alt="Syntax check command SETOMVS" height="722" width="1720"&gt;&lt;/p&gt;
&lt;p&gt;A handy operator command to check syntax to a BPXPRMxx parm member.&lt;/p&gt;
&lt;p&gt;After making some mount point changes recenly I issused the command&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;SETOMVS SYNTAXCHECK=(P3)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Where P3 is the member in SYS1.PARMLIB that was changed (i.e BPXPRMP3)&lt;/p&gt;
&lt;p&gt;IBM link &lt;a href="https://www.ibm.com/docs/en/zos/2.1.0?topic=sys1parmlib-checking-bpxprmxx-syntax" target="_blank" rel="external nofollow noopener noreferrer"&gt;BPXPRMxx syntax checking&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Another useful command&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;D OMVS,MF&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Will display information about the last 10 or less mount or move failures&lt;/p&gt;
&lt;p&gt;IBM link &lt;a href="https://www.ibm.com/docs/en/zos/2.1.0?topic=command-displaying-zos-unix-system-services-status" target="_blank" rel="external nofollow noopener noreferrer"&gt;Displaying z/OS UNIX Status&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Find Picture String</title><link>https://JSnetSystems.github.io/posts/find_post/</link><pubDate>Tue, 11 Jan 2022 19:15:39 -0500</pubDate><guid>https://JSnetSystems.github.io/posts/find_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/find_post/cover_find.jpeg' alt="Character Encoding for USS" height="722" width="1720"&gt;&lt;/p&gt;
&lt;p&gt;A nice option to the find command that comes in handy is the picture string. I like to use it to find error messages in logs for my normal daily health checks.&lt;/p&gt;
&lt;p&gt;There are several characters types to choose from.&lt;/p&gt;
&lt;p&gt;While in the SYSLOG or any output you can enter these command examples to find errors.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example: Go into the SYSLOG and max to bottom of log&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>zFS Increasing Size</title><link>https://JSnetSystems.github.io/posts/zfs_post/</link><pubDate>Sat, 08 Jan 2022 13:16:42 -0500</pubDate><guid>https://JSnetSystems.github.io/posts/zfs_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/zfs_post/cover_zFS.jpeg' alt="Character Encoding for USS" height="722" width="1720"&gt;&lt;/p&gt;
&lt;p&gt;Needed to increase the size of a zFS mounted dataset the other day. I will just provide the link to IBM website for the details but instead of duplicating everthing here, but I wasn&amp;rsquo;t aware this could be done with the pax command instead of the DFSMS REPRO command.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Snippet example from the IBM site&lt;/p&gt;
&lt;/blockquote&gt;
&lt;pre&gt;&lt;code&gt;//SYSTSIN DD *
OSHELL /usr/sbin/mount -t ZFS -f PLEX.OLD.AGGR002.LDS0002 +
 /service2 ; +
 /usr/sbin/mount -t ZFS -f PLEX.NEW.AGGR002.LDS0002 /service3 ; +
 cd /service2 ; +
 pax -rwvCMX -p eW . /service3 ;
/*
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;IBM link &lt;a href="https://www.ibm.com/docs/en/zos/2.4.0?topic=iscma-copying-each-file-directory-aggregate-larger-data-set" target="_blank" rel="external nofollow noopener noreferrer"&gt;LARGER dataset&lt;/a&gt;&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>