{"id":450,"date":"2012-04-23T14:24:11","date_gmt":"2012-04-23T18:24:11","guid":{"rendered":"http:\/\/ve2cuy.wordpress.com\/?p=450"},"modified":"2012-04-23T14:24:11","modified_gmt":"2012-04-23T18:24:11","slug":"zos-hercules-configuration-file","status":"publish","type":"post","link":"https:\/\/ve2cuy.com\/blog\/index.php\/2012\/04\/23\/zos-hercules-configuration-file\/","title":{"rendered":"Z\/OS + hercules configuration file"},"content":{"rendered":"<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>\n# 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<p>Here&rsquo;s a\u00a0video explaining\u00a0the steps\u00a0required to run\u00a0z\u00a0\/\u00a0OS\u00a0under\u00a0Hercules:<\/p>\n<p>[youtube=http:\/\/www.youtube.com\/watch?v=GRW4iPhCDSM]<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A key element\u00a0to run Z\/OS\u00a0on\u00a0Hercules\u00a0is the\u00a0hercules\u00a0configuration file. This file\u00a0informs,\u00a0amongst other things,\u00a0the location of\u00a0DASD\u00a0files. To\u00a0illustrate this, assume\u00a0that the\u00a0DASD\u00a0files\u00a0are\u00a0in \/hercules\/cckd. We\u00a0will then\u00a0inform the\u00a0hercules.cnf\u00a0file\u00a0in the following way: # DASD Devices 0A81 3390 cckd\/zares1.cckd sf=shadow\/zares1_* &#8230; 0A9A 3390 cckd\/sares1.cckd sf=shadow\/sares1_* A complete example\u00a0of a\u00a0configuation\u00a0file\u00a0to\u00a0run\u00a0Z\u00a0\/\u00a0os in\u00a0Hercules: # # Hercules Emulator Control file&#8230; # Description: # MaxShutdownSecs: 15 # # # [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-450","post","type-post","status-publish","format-standard","hentry","category-mainframe"],"_links":{"self":[{"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"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=450"}],"version-history":[{"count":0,"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/450\/revisions"}],"wp:attachment":[{"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ve2cuy.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}