{"id":1361,"date":"2019-12-26T07:27:01","date_gmt":"2019-12-26T05:27:01","guid":{"rendered":"http:\/\/blog.the-leviathan.ch\/?p=1361"},"modified":"2019-12-27T10:01:59","modified_gmt":"2019-12-27T08:01:59","slug":"booting-z-os-1-1-on-hercules","status":"publish","type":"post","link":"https:\/\/blog.the-leviathan.ch\/?p=1361","title":{"rendered":"Booting z\/OS 1.1 on Hercules"},"content":{"rendered":"\n<p>So assuming you got your z\/OS 1.1 DASD files from a special bay of pirates (<a href=\"magnet:?xt=urn:btih:653a0697533b42b495c18c0e06222a7b2e9af2c3&amp;tr=udp:\/\/tracker.publicbt.com:80&amp;tr=udp%3A\/\/tracker.leechers-paradise.org%3A6969&amp;tr=udp%3A\/\/zer0day.ch%3A1337&amp;tr=udp%3A\/\/open.demonii.com%3A1337&amp;tr=udp%3A\/\/tracker.coppersurfer.tk%3A6969&amp;tr=udp%3A\/\/exodus.desync.com%3A6969&amp;tr=udp%3A\/\/thetracker.org:80&amp;tr=udp:\/\/tracker.ccc.de:80&amp;tr=udp%3A\/\/tracker.leechers-paradise.org%3A6969&amp;tr=udp%3A\/\/zer0day.ch%3A1337&amp;tr=udp%3A\/\/open.demonii.com%3A1337&amp;tr=udp%3A\/\/tracker.coppersurfer.tk%3A6969&amp;tr=udp%3A\/\/exodus.desync.com%3A6969&amp;tr=udp%3A\/\/thetracker.org:80&amp;tr=http:\/\/tracker.bittorrent.am\/announce&amp;tr=udp%3A\/\/tracker.leechers-paradise.org%3A6969&amp;tr=udp%3A\/\/zer0day.ch%3A1337&amp;tr=udp%3A\/\/open.demonii.com%3A1337&amp;tr=udp%3A\/\/tracker.coppersurfer.tk%3A6969&amp;tr=udp%3A\/\/exodus.desync.com%3A6969&amp;tr=udp%3A\/\/thetracker.org:80\">Magnet link<\/a>) and you now totally wanna try out this &#8220;cool software&#8221;, those bankers are using.<br \/>First: Bankers aren&#8217;t cool. Drugs, especially Cocaine aren&#8217;t cool and hookers aren&#8217;t that expensive either, you can afford them with more productive jobs as well.<br \/>Second: IBM products aren&#8217;t cool either.<\/p>\n\n\n\n<p>Now that that&#8217;s said.<br \/>Check out this link for setting up the networking for your virtual main frame under Hercules: <a href=\"http:\/\/modernhackers.com\/install-ibm-z-os-mainframe-under-gns3\/\">http:\/\/modernhackers.com\/install-ibm-z-os-mainframe-under-gns3<\/a><\/p>\n\n\n\n<p>First you might wanna arrange your windows like this with two open x3270 terminal connecting to your Hercules interface like shown in the pic here.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/blog.the-leviathan.ch\/wp-content\/uploads\/2019\/12\/Screenshot_20191226_131631.png\" alt=\"\" class=\"wp-image-1363\"\/><\/figure>\n\n\n\n<p>After you have this. You enter &#8220;ipl a80&#8221; in the Hercules interface and you will see after a moment in one of the two x3270 windows, how the system starts booting.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/blog.the-leviathan.ch\/wp-content\/uploads\/2019\/12\/Screenshot_20191226_131838.png\" alt=\"\" class=\"wp-image-1364\"\/><\/figure>\n\n\n\n<p>When it&#8217;s done booting it will look like that.<br \/>The second window now provides you with a management interface.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/blog.the-leviathan.ch\/wp-content\/uploads\/2019\/12\/Screenshot_20191226_132423.png\" alt=\"\" class=\"wp-image-1367\"\/><\/figure>\n\n\n\n<p>One of those x3270 windows is a shell the other one is the configuration management tool from z\/OS.<\/p>\n\n\n\n<p>You can switch forth and back, using ESC in the Hercules terminal (the very left one) in order to either have a Hercules shell or have an overview of the CPU usage.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/blog.the-leviathan.ch\/wp-content\/uploads\/2019\/12\/image-1.png\" alt=\"\" class=\"wp-image-1374\"\/><\/figure>\n\n\n\n<p>Now you can type in the right upper shell:<br \/>STOP TCPIP<br \/>START TCPIP<br \/>STOP OMVS<br \/>START OMVS<\/p>\n\n\n\n<p>After that you should be able to connect to your z\/OS using telnet on port 1023.<\/p>\n\n\n\n<p>When you wanna shut down your system, as usual with IBM, it&#8217;s not so simple.<\/p>\n\n\n\n<p>First you go into the x3270 window and type &#8220;S SHUTSYS&#8221; and press enter.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"657\" src=\"https:\/\/blog.the-leviathan.ch\/wp-content\/uploads\/2019\/12\/Screenshot_20191227_000741.png\" alt=\"\" class=\"wp-image-1393\"\/><\/figure>\n\n\n\n<p>You wait until it looks like that and then type &#8220;Z EOD&#8221; and then press enter.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"657\" src=\"https:\/\/blog.the-leviathan.ch\/wp-content\/uploads\/2019\/12\/Screenshot_20191227_001017-1.png\" alt=\"\" class=\"wp-image-1399\"\/><\/figure>\n\n\n\n<p>It will write out the logs for a while and then will tell you, that it&#8217;s done.<br \/>At that point where it looks as following you can go to the Hercules terminal and enter quit in order to terminate the emulator.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"657\" src=\"https:\/\/blog.the-leviathan.ch\/wp-content\/uploads\/2019\/12\/Screenshot_20191227_002345.png\" alt=\"\" class=\"wp-image-1402\"\/><\/figure>\n\n\n\n<p>Here I typed another time &#8220;Z EOD&#8221;, just to make sure it&#8217;s done writing everything down, because z\/OS (like AIX as well) are absolutely pussies, when it comes to corrupted file systems.<\/p>\n\n\n\n<p>They&#8217;ll tell you &#8220;high availability&#8230; blah blah&#8221;. BS.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So assuming you got your z\/OS 1.1 DASD files from a special bay of pirates (Magnet link) and you now totally wanna try out this &#8220;cool software&#8221;, those bankers are using.First: Bankers aren&#8217;t cool. Drugs, especially Cocaine aren&#8217;t cool and hookers aren&#8217;t that expensive either, you can afford them with more productive jobs as well.Second: &hellip; <a href=\"https:\/\/blog.the-leviathan.ch\/?p=1361\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Booting z\/OS 1.1 on Hercules<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1361","post","type-post","status-publish","format-standard","hentry","category-daily"],"_links":{"self":[{"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=\/wp\/v2\/posts\/1361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1361"}],"version-history":[{"count":18,"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=\/wp\/v2\/posts\/1361\/revisions"}],"predecessor-version":[{"id":1408,"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=\/wp\/v2\/posts\/1361\/revisions\/1408"}],"wp:attachment":[{"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.the-leviathan.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}