{"id":571,"date":"2014-01-31T09:17:43","date_gmt":"2014-01-31T14:17:43","guid":{"rendered":"http:\/\/ve2cuy.wordpress.com\/?page_id=571"},"modified":"2014-01-31T09:17:43","modified_gmt":"2014-01-31T14:17:43","slug":"zos-on-a-pc","status":"publish","type":"page","link":"https:\/\/ve2cuy.com\/blog\/index.php\/zos-on-a-pc\/","title":{"rendered":"z\/OS on a PC"},"content":{"rendered":"<p>Have you ever hoped to try your hand on an operating\u00a0system designed for an\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Big_iron_(computing)\">big iron<\/a>\u00a0computer?<\/p>\n<p>For example, z\/OS?<\/p>\n<p>The problem is that nobody has the hardware at home to ride such a monster.<\/p>\n<p>As it takes, here&rsquo;s how to run z\/OS in the hercules emulator for PC.<\/p>\n<p>[youtube=http:\/\/www.youtube.com\/watch?v=GRW4iPhCDSM]<\/p>\n<p>&nbsp;<\/p>\n<h2>Configuration<\/h2>\n<p>A key element\u00a0to run Z\/OS\u00a0on\u00a0Hercules\u00a0is the\u00a0hercules\u00a0configuration file.<\/p>\n<p>This file\u00a0informs,\u00a0amongst other things,\u00a0the location of\u00a0DASD\u00a0files.<\/p>\n<p>To\u00a0illustrate this, assume\u00a0that the\u00a0DASD\u00a0files\u00a0are\u00a0in \/hercules\/cckd.<\/p>\n<p>We\u00a0will then\u00a0inform the\u00a0hercules.cnf\u00a0file\u00a0in the following way:<\/p>\n<blockquote><p># DASD Devices<\/p>\n<p>0A81 3390 cckd\/zares1.cckd sf=shadow\/zares1_*<br \/>\n&#8230;<br \/>\n0A9A 3390 cckd\/sares1.cckd sf=shadow\/sares1_*<\/p><\/blockquote>\n<h4>A complete example\u00a0of a\u00a0configuation\u00a0file\u00a0to\u00a0run\u00a0Z\u00a0\/\u00a0os in\u00a0Hercules:<\/h4>\n<blockquote><p>#<br \/>\n# Hercules Emulator Control file&#8230;<br \/>\n# Description:<br \/>\n# MaxShutdownSecs: 15<br \/>\n#<br \/>\n#<br \/>\n# System parameters<br \/>\n#<\/p>\n<p>ARCHMODE z\/Arch<br \/>\nALRF ENABLE<br \/>\ncckd RA=2,RAQ=4,RAT=2,WR=2,GCINT=5,GCPARM=0,NOSTRESS=0,TRACE=0,FREEPEND=-1<br \/>\nCNSLPORT 3270<br \/>\nCONKPALV (3,1,10)<br \/>\nCPUMODEL 3090<br \/>\nCPUSERIAL 012345<br \/>\nDIAG8CMD ENABLE<br \/>\nECPSVM YES<br \/>\nLOADPARM 0A95DB..<br \/>\nLPARNAME HERCULES<br \/>\nMAINSIZE 1024<br \/>\nMOUNTED_TAPE_REINIT DISALLOW<br \/>\nNUMCPU 4<br \/>\nOSTAILOR Z\/OS<br \/>\nPANRATE 80<br \/>\nPGMPRDOS LICENSED<br \/>\nSHCMDOPT NODIAG8<br \/>\nSYSEPOCH 1900<br \/>\nTIMERINT 50<br \/>\nTZOFFSET +1400<br \/>\nYROFFSET 0<\/p>\n<p>HERCPRIO 0<br \/>\nTODPRIO -20<br \/>\nDEVPRIO 8<br \/>\nCPUPRIO 0<br \/>\nPANTITLE z\/OS 1.9 IPL A80?<\/p>\n<p># Display Terminals<\/p>\n<p>0700 3270<br \/>\n0701 3270<br \/>\n0702 3270<br \/>\n0703 3270<br \/>\n0704 3270<\/p>\n<p># DASD Devices<\/p>\n<p>0A81 3390 cckd\/zares1.cckd sf=shadow\/zares1_*<br \/>\n0A82 3390 cckd\/zares2.cckd sf=shadow\/zares2_*<br \/>\n0A83 3390 cckd\/zadb81.cckd sf=shadow\/zadb81_*<br \/>\n0A84 3390 cckd\/zadb82.cckd sf=shadow\/zadb82_*<br \/>\n0A85 3390 cckd\/zadb83.cckd sf=shadow\/zadb83_*<br \/>\n0A86 3390 cckd\/zadb84.cckd sf=shadow\/zadb84_*<br \/>\n0A87 3390 cckd\/zadb91.cckd sf=shadow\/zadb91_*<br \/>\n0A88 3390 cckd\/zadb92.cckd sf=shadow\/zadb92_*<br \/>\n0A89 3390 cckd\/zacic1.cckd sf=shadow\/zacic1_*<br \/>\n0A8A 3390 cckd\/zadis1.cckd sf=shadow\/zadis1_*<br \/>\n0A8B 3390 cckd\/zadis2.cckd sf=shadow\/zadis2_*<br \/>\n0A8C 3390 cckd\/zadis3.cckd sf=shadow\/zadis3_*<br \/>\n0A8D 3390 cckd\/zadis4.cckd sf=shadow\/zadis4_*<br \/>\n0A8E 3390 cckd\/zadis5.cckd sf=shadow\/zadis5_*<br \/>\n0A8F 3390 cckd\/zadis6.cckd sf=shadow\/zadis6_*<br \/>\n0A90 3390 cckd\/zaims1.cckd sf=shadow\/zaims1_*<br \/>\n0A91 3390 cckd\/zaprd1.cckd sf=shadow\/zaprd1_*<br \/>\n0A92 3390 cckd\/zaprd2.cckd sf=shadow\/zaprd2_*<br \/>\n0A93 3390 cckd\/zaprd3.cckd sf=shadow\/zaprd3_*<br \/>\n0A94 3390 cckd\/zaprd4.cckd sf=shadow\/zaprd4_*<br \/>\n0A95 3390 cckd\/zasys1.cckd sf=shadow\/zasys1_*<br \/>\n0A96 3390 cckd\/zauss1.cckd sf=shadow\/zauss1_*<br \/>\n0A97 3390 cckd\/zawas1.cckd sf=shadow\/zawas1_*<br \/>\n0A98 3390 cckd\/zawas2.cckd sf=shadow\/zawas2_*<br \/>\n0A99 3390 cckd\/zawas3.cckd sf=shadow\/zawas3_*<br \/>\n0A9A 3390 cckd\/sares1.cckd sf=shadow\/sares1_*<\/p><\/blockquote>\n<h2><span style=\"text-decoration:underline;\"><span style=\"color:#3366ff;\"><a style=\"color:#3366ff;text-decoration:underline;\" href=\"https:\/\/ve2cuy.wordpress.com\/2012\/04\/23\/zos-hercules-configuration-file\/\">Read the article<\/a><\/span><\/span><\/h2>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever hoped to try your hand on an operating\u00a0system designed for an\u00a0big iron\u00a0computer? For example, z\/OS? The problem is that nobody has the hardware at home to ride such a monster. As it takes, here&rsquo;s how to run z\/OS in the hercules emulator for PC. [youtube=http:\/\/www.youtube.com\/watch?v=GRW4iPhCDSM] &nbsp; Configuration A key element\u00a0to run Z\/OS\u00a0on\u00a0Hercules\u00a0is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-571","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/pages\/571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=571"}],"version-history":[{"count":0,"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/pages\/571\/revisions"}],"wp:attachment":[{"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}