|
| 1 | +#!/bin/sh |
| 2 | +# Fix PSLIST Mod |
| 3 | + |
| 4 | +# Exit if there is an error |
| 5 | +set -e |
| 6 | + |
| 7 | +herccontrol "ipl 141" -w "USER DSC LOGOFF AS AUTOLOG1" |
| 8 | +herccontrol "/cp disc" -w "^VM/370 Online" |
| 9 | +herccontrol "/logon maint cpcms" -w "^CMS VERSION" |
| 10 | +herccontrol "/" -w "^Ready" |
| 11 | + |
| 12 | +# Access the CMS local modifications disk for write |
| 13 | +herccontrol "/access 093 b" -w "^Ready;" |
| 14 | + |
| 15 | +# Add the requred change to the top of each file |
| 16 | +herccontrol "/edit DMSERS AUXHRC B (nodisp" -w "^EDIT:" |
| 17 | +herccontrol "/input" -w "^INPUT:" |
| 18 | +herccontrol "/HRC309DS v03 EXEC now passes EPLIST when it calls CMS commands" |
| 19 | +herccontrol "/" -w "^EDIT:" |
| 20 | +herccontrol "/file" -w "^Ready;" |
| 21 | + |
| 22 | +herccontrol "/edit DMSINT AUXHRC B (nodisp" -w "^EDIT:" |
| 23 | +herccontrol "/input" -w "^INPUT:" |
| 24 | +herccontrol "/HRC309DS v03 EXEC now passes EPLIST when it calls CMS commands" |
| 25 | +herccontrol "/" -w "^EDIT:" |
| 26 | +herccontrol "/file" -w "^Ready;" |
| 27 | + |
| 28 | +herccontrol "/edit DMSRNM AUXHRC B (nodisp" -w "^EDIT:" |
| 29 | +herccontrol "/input" -w "^INPUT:" |
| 30 | +herccontrol "/HRC309DS v03 EXEC now passes EPLIST when it calls CMS commands" |
| 31 | +herccontrol "/" -w "^EDIT:" |
| 32 | +herccontrol "/file" -w "^Ready;" |
| 33 | + |
| 34 | +herccontrol "/edit DMSSTT AUXHRC B (nodisp" -w "^EDIT:" |
| 35 | +herccontrol "/input" -w "^INPUT:" |
| 36 | +herccontrol "/HRC309DS v03 EXEC now passes EPLIST when it calls CMS commands" |
| 37 | +herccontrol "/" -w "^EDIT:" |
| 38 | +herccontrol "/file" -w "^Ready;" |
| 39 | + |
| 40 | +# Access MAINT's disks for building CMS components: |
| 41 | +herccontrol "/CMSACC" -w "^Ready;" |
| 42 | + |
| 43 | +# Assemble each of the four files: |
| 44 | +herccontrol "/VMFASM DMSERS DMSHRC" -w "^Ready;" |
| 45 | +herccontrol "/VMFASM DMSINT DMSHRC" -w "^Ready;" |
| 46 | +herccontrol "/VMFASM DMSRNM DMSHRC" -w "^Ready;" |
| 47 | +herccontrol "/VMFASM DMSSTT DMSHRC" -w "^Ready;" |
| 48 | + |
| 49 | +# Generate a new RENAME MODULE |
| 50 | +herccontrol "/CMSGEND RENAME NOINV" -w "^Ready;" |
| 51 | + |
| 52 | +# Reaccess the disks for write |
| 53 | +herccontrol "/access 093 b" -w "^Ready;" |
| 54 | +herccontrol "/access 190 e" -w "^Ready;" |
| 55 | + |
| 56 | +# Place the four newly created text decks and module to the required locations |
| 57 | +herccontrol "/RENAME DMSERS TEXT B = TXTOLD B0" -w "^Ready;" |
| 58 | +herccontrol "/COPYFILE DMSERS TEXT A = = B (OLDDATE" -w "^Ready;" |
| 59 | +herccontrol "/ERASE DMSERS TXTOLD E" -w "^Ready;" |
| 60 | +herccontrol "/RENAME DMSERS TEXT E = TXTOLD E0" -w "^Ready;" |
| 61 | +herccontrol "/COPYFILE DMSERS TEXT A = = E (OLDDATE" -w "^Ready;" |
| 62 | +herccontrol "/ERASE DMSERS TEXT A" -w "^Ready;" |
| 63 | + |
| 64 | +herccontrol "/RENAME DMSINT TEXT B = TXTOLD B0" -w "^Ready;" |
| 65 | +herccontrol "/COPYFILE DMSINT TEXT A = = B (OLDDATE" -w "^Ready;" |
| 66 | +herccontrol "/ERASE DMSINT TXTOLD E" -w "^Ready;" |
| 67 | +herccontrol "/RENAME DMSINT TEXT E = TXTOLD E0" -w "^Ready;" |
| 68 | +herccontrol "/COPYFILE DMSINT TEXT A = = E (OLDDATE" -w "^Ready;" |
| 69 | +herccontrol "/ERASE DMSINT TEXT A" -w "^Ready;" |
| 70 | + |
| 71 | +herccontrol "/RENAME DMSRNM TEXT B = TXTOLD B0" -w "^Ready;" |
| 72 | +herccontrol "/COPYFILE DMSRNM TEXT A = = B (OLDDATE" -w "^Ready;" |
| 73 | +herccontrol "/ERASE DMSRNM TXTOLD E" -w "^Ready;" |
| 74 | +herccontrol "/RENAME DMSRNM TEXT E = TXTOLD E0" -w "^Ready;" |
| 75 | +herccontrol "/COPYFILE DMSRNM TEXT A = = E (OLDDATE" -w "^Ready;" |
| 76 | +herccontrol "/ERASE DMSRNM TEXT A" -w "^Ready;" |
| 77 | + |
| 78 | +herccontrol "/RENAME DMSSTT TEXT B = TXTOLD B0" -w "^Ready;" |
| 79 | +herccontrol "/COPYFILE DMSSTT TEXT A = = B (OLDDATE" -w "^Ready;" |
| 80 | +herccontrol "/ERASE DMSSTT TXTOLD E" -w "^Ready;" |
| 81 | +herccontrol "/RENAME DMSSTT TEXT E = TXTOLD E0" -w "^Ready;" |
| 82 | +herccontrol "/COPYFILE DMSSTT TEXT A = = E (OLDDATE" -w "^Ready;" |
| 83 | +herccontrol "/ERASE DMSSTT TEXT A" -w "^Ready;" |
| 84 | + |
| 85 | +herccontrol "/ERASE RENAME MODOLD E" -w "^Ready;" |
| 86 | +herccontrol "/RENAME RENAME MODULE E = MODOLD E1" -w "^Ready;" |
| 87 | +herccontrol "/COPYFILE RENAME MODULE A = = E2 (OLDDATE" -w "^Ready;" |
| 88 | +herccontrol "/ERASE RENAME MODULE A" -w "^Ready;" |
| 89 | + |
| 90 | +# Make the disks read only again: |
| 91 | +herccontrol "/CMSACC" -w "^Ready;" |
| 92 | + |
| 93 | +# Rebuild the CMS nucleus by following step 7 of the procedure in SYSPROG MEMO |
| 94 | +herccontrol "/purge rdr" -w "^Ready;" |
| 95 | +herccontrol "/vmfload cmsload dmshrc" -w "^Ready;" |
| 96 | +herccontrol "/ipl 00c clear" |
| 97 | + |
| 98 | +# DMSINI606R SYSTEM DISK ADDRESS = 190 |
| 99 | +herccontrol "/190" |
| 100 | + |
| 101 | +# DMSINI615R Y-DISK ADDRESS = 19e |
| 102 | +herccontrol "/19e" |
| 103 | + |
| 104 | +# DMSINI607R REWRITE THE NUCLEUS ? yes |
| 105 | +herccontrol "/yes" |
| 106 | + |
| 107 | +# DMSINI608R IPL DEVICE ADDRESS = 190 |
| 108 | +herccontrol "/190" |
| 109 | + |
| 110 | +# DMSINI609R NUCLEUS CYL ADDRESS = 59 |
| 111 | +herccontrol "/59" |
| 112 | + |
| 113 | +# DMSINI610R ALSO IPL CYLINDER 0 ? yes |
| 114 | +herccontrol "/yes" |
| 115 | + |
| 116 | +# DMSINI611R VERSION IDENTIFICATION = |
| 117 | +herccontrol "/" |
| 118 | + |
| 119 | +# DMSINI612R INSTALLATION HEADING = |
| 120 | +herccontrol "/" |
| 121 | + |
| 122 | +herccontrol "/" -w "^Ready;" |
| 123 | +herccontrol "/cp close prt" -w "^Ready;" |
| 124 | +herccontrol "/purge prt" -w "^Ready;" |
| 125 | + |
| 126 | +# Regenerate System |
| 127 | +herccontrol "/define storage 16m" -w "^CP ENTERED" |
| 128 | +herccontrol "/ipl 190" -w "^CMS VERSION" |
| 129 | +herccontrol "/access ( noprof" -w "^Ready;" |
| 130 | +herccontrol "/access 093 b" -w "^Ready;" |
| 131 | +herccontrol "/access 193 c" -w "^Ready;" |
| 132 | +herccontrol "/cmsxgen f00000 cmsseg" -w "^Ready;" |
| 133 | +herccontrol "/ipl 190" -w "^CMS VERSION" |
| 134 | +herccontrol "/savesys cms" -w "^CMS VERSION" |
| 135 | +herccontrol "/" -w "^Ready;" |
| 136 | + |
| 137 | +# Done |
| 138 | +herccontrol "/logoff" -w "^VM/370 Online" |
| 139 | +herccontrol "/logon operator operator" -w "RECONNECTED AT" |
| 140 | +herccontrol "/shutdown" -w "^HHCCP011I" |
0 commit comments