User Tools

Site Tools


ibm:vm370-lib:macro:sysres.macro_src

SYSRES Source

References

Source Listing

SYSRES.MACRO.txt
  1. MACRO 00001000
  2. SYSRES &SYSVOL=,&SYSRES=,&SYSTYPE=,&SYSNUC=,&SYSERR=,&SYSWRM=,X00002000
  3. &SYSCKP= 00002100
  4. .* THIS MACRO DESCRIBES THE SYSTEM RESIDENCE VOLUME FOR CP 00003000
  5. .* R0035DMK - ALLOW 3333 DEVICE TYPE FOR SYSRES 00004000
  6. GBLC &SY$RES @V60BBBC 00004300
  7. &SY$RES SETC 'HERE' ANNOUNCE PRESENCE TO SYSLOCS @V60BBBC 00004600
  8. GBLA &OWNCNT,&SYSCYL,&SYSRDC 00005000
  9. GBLA &WRMEND 00005100
  10. GBLA &CKPEND 00005200
  11. GBLA &NUCEND HRC102DK 00005400
  12. GBLA &ERREND HRC102DK 00005600
  13. GBLC &OWNLST(255),&SYSSER,&SYSTYP 00006000
  14. LCLC &ERRVOL,&ERRDEV,&ERRTYP HRC075DK 00006020
  15. LCLC &WRMVOL,&WRMDEV,&WRMTYP HRC075DK 00006040
  16. LCLC &CKPVOL,&CKPDEV,&CKPTYP HRC075DK 00006060
  17. AIF ('&SYSVOL' EQ '').ERR4 00006100
  18. AIF ('&SYSTYPE' EQ '').ERR5 00006200
  19. AIF ('&SYSERR' EQ '').ERR6 00006300
  20. AIF ('&SYSRES' EQ '').ERR7 00006400
  21. AIF ('&SYSNUC' EQ '').ERR8 00006500
  22. AIF ('&SYSWRM' EQ '').ERR9 00006600
  23. &SYSCYL SETA &SYSNUC(1) HRC102DK 00007490
  24. &SYSSER SETC '&SYSVOL' 00008000
  25. &SYSTYP SETC '&SYSTYPE' 00009000
  26. AIF (('&SYSTYPE' EQ '2314') OR ('&SYSTYPE' EQ '2319')).LOOP 00010000
  27. AIF (('&SYSTYPE' EQ '3330') OR ('&SYSTYPE' EQ '2305')).LOOP 00011000
  28. AIF (('&SYSTYPE' EQ '3333') OR ('&SYSTYPE' EQ '3340')).LOOP 00012000
  29. AIF ('&SYSTYPE' EQ '3350').LOOP 00012100
  30. AIF ('&SYSTYPE' EQ '3375').LOOP HRC106DK 00012200
  31. AIF ('&SYSTYPE' EQ '3380').LOOP HRC106DK 00012300
  32. AGO .ERR1 00013000
  33. .LOOP ANOP 00014000
  34. &SYSRDC SETA &SYSRDC+1 00015000
  35. AIF (&SYSRDC GT &OWNCNT).ERR2 00016000
  36. AIF ('&OWNLST(&SYSRDC)' NE '&SYSVOL').LOOP 00017000
  37. &SYSRDC SETA &SYSRDC-1 00018000
  38. SPACE 00019000
  39. ENTRY DMKSYSVL,DMKSYSRS,DMKSYSTP 00020000
  40. ENTRY DMKSYSNU,DMKSYSER,DMKSYSCT,DMKSYSWM 00021050
  41. ENTRY DMKSYSCH,DMKSYSCN 00021100
  42. DMKSYSVL DC CL6'&SYSVOL' 00022000
  43. DMKSYSRS DC XL2'&SYSRES' 00023000
  44. DMKSYSTP DC AL1(CLASDASD,TYP&SYSTYP) 00024000
  45. DMKSYSNU DC H'&SYSNUC(1)' HRC102DK 00025030
  46. AIF (N'&SYSNUC EQ 1).SYSNU2 HRC102DK 00025060
  47. AIF (N'&SYSNUC NE 2).ERR12 HRC102DK 00025090
  48. AIF (&SYSNUC(2) LT 2 OR &SYSNUC(2) GT 32).ERR12 HRC102DK 00025120
  49. &NUCEND SETA &SYSNUC(1)+&SYSNUC(2)-1 HRC102DK 00025150
  50. AGO .GOTEND HRC102DK 00025180
  51. .SYSNU2 ANOP HRC102DK 00025210
  52. MNOTE 0,'DEFAULT OF 2 CYLINDERS ALLOCATED FOR SYSNUC' HRC102DK 00025240
  53. &NUCEND SETA &SYSNUC(1)+1 HRC102DK 00025270
  54. .GOTEND ANOP HRC102DK 00025300
  55. DC H'&NUCEND' ENDING NUC CYL HRC102DK 00025330
  56. DMKSYSER DC H'&SYSERR(1)' @ OF 1ST ERROR RECORDING CYL 00025500
  57. &ERRVOL SETC '&SYSVOL' DEFAULT VOLUME IF NOT SPECIFIEDHRC075DK 00025530
  58. &ERRDEV SETC '&SYSRES' DEFAULT DEVADDR IF NOT SPECIF'DHRC075DK 00025560
  59. &ERRTYP SETC 'TYP&SYSTYP' DEFAULT DEVTYPE IF NOT SPECIF'DHRC075DK 00025590
  60. AIF (N'&SYSERR EQ 1).SYSCT2 00025600
  61. AIF (N'&SYSERR GT 3).ERR11 HRC075DK 00025740
  62. AIF (&SYSERR(2) LT 2 OR &SYSERR(2) GT 9).ERR11 00025800
  63. &ERREND SETA &SYSERR(1)+&SYSERR(2)-1 HRC102DK 00025850
  64. DMKSYSCT DC H'&SYSERR(2)' COUNT OF ERROR CYLINDERS 00025900
  65. AIF (N'&SYSERR NE 3).ERRDEF NO 3RD PARAM; DEFAULT HRC075DK 00026010
  66. &ERRVOL SETC '&SYSERR(3)' VOLUME NAME HRC075DK 00026020
  67. &ERRDEV SETC '0' DEV ADDR TO BE FILLED AT IPL HRC075DK 00026030
  68. &ERRTYP SETC '0' DEVTYPE TO BE FILLED AT IPL HRC075DK 00026040
  69. AGO .ERRDEF HRC075DK 00026050
  70. .SYSCT2 ANOP 00026100
  71. MNOTE 0,'DEFAULT OF 2 CYLINDERS ALLOCATED FOR SYSERR' HRC102DK 00026130
  72. &ERREND SETA &SYSERR(1)+1 HRC102DK 00026160
  73. DMKSYSCT DC H'2' COUNT OF ERROR CYLINDERS 00026200
  74. .ERRDEF ANOP HRC075DK 00026220
  75. DC XL2'&ERRDEV' ERR AREA DEVICE ADDR HRC075DK 00026240
  76. DC AL1(CLASDASD,&ERRTYP) ERR AREA DEVICE TYPE HRC075DK 00026260
  77. DC CL6'&ERRVOL' ERR AREA VOLUME HRC075DK 00026280
  78. .WRMSTRT ANOP 00026300
  79. DMKSYSWM DC H'&SYSWRM(1)' ADDRESS OF FIRST WARM START CYLINDER 00027100
  80. &WRMVOL SETC '&SYSVOL' DEFAULT VOLUME IF NOT SPECIFIEDHRC075DK 00027130
  81. &WRMDEV SETC '&SYSRES' DEFAULT DEVADDR IF NOT SPECIF'DHRC075DK 00027160
  82. &WRMTYP SETC 'TYP&SYSTYP' DEFAULT DEVTYPE IF NOT SPECIF'DHRC075DK 00027190
  83. &WRMEND SETA &SYSWRM(1) 00027200
  84. AIF (N'&SYSWRM EQ 1).WRM 00027300
  85. AIF (N'&SYSWRM GT 3).ERR3 HRC075DK 00027440
  86. AIF (&SYSWRM(2) LT 1 OR &SYSWRM(2) GT 9).ERR3 00027500
  87. &WRMEND SETA &SYSWRM(1)+&SYSWRM(2)-1 00027600
  88. .WRM ANOP 00027700
  89. DC H'&WRMEND' ADDRESS OF LAST WARM START CYLINDER 00027800
  90. AIF (N'&SYSWRM NE 3).WRMDEF NO 3RD PARAM; DEFAULT HRC075DK 00027820
  91. &WRMVOL SETC '&SYSWRM(3)' VOLUME NAME HRC075DK 00027840
  92. &WRMDEV SETC '0' DEV ADDR TO BE FILLED AT IPL HRC075DK 00027860
  93. &WRMTYP SETC '0' DEVTYPE TO BE FILLED AT IPL HRC075DK 00027880
  94. .WRMDEF ANOP HRC075DK 00027900
  95. DC XL2'&WRMDEV' WRM AREA DEVICE ADDR HRC075DK 00027920
  96. DC AL1(CLASDASD,&WRMTYP) WRM AREA DEVICE TYPE HRC075DK 00027940
  97. DC CL6'&WRMVOL' WRM AREA VOLUME HRC075DK 00027960
  98. SPACE 3 00028000
  99. DMKSYSCH DC H'&SYSCKP(1)' ADDRESS OF FIRST CKPT START 00028050
  100. * CYLINDER 00028100
  101. &CKPVOL SETC '&SYSVOL' DEFAULT VOLUME IF NOT SPECIFIEDHRC075DK 00028110
  102. &CKPDEV SETC '&SYSRES' DEFAULT DEVADDR IF NOT SPECIF'DHRC075DK 00028120
  103. &CKPTYP SETC 'TYP&SYSTYP' DEFAULT DEVTYPE IF NOT SPECIF'DHRC075DK 00028130
  104. &CKPEND SETA &SYSCKP(1) 00028150
  105. AIF (N'&SYSCKP EQ 1).CKP 00028200
  106. AIF (N'&SYSCKP GT 3).ERR10 HRC075DK 00028260
  107. AIF (&SYSCKP(2) LT 1 OR &SYSCKP(2) GT 9).ERR10 00028300
  108. &CKPEND SETA &SYSCKP(1)+&SYSCKP(2)-1 00028350
  109. .CKP ANOP 00028400
  110. DC H'&CKPEND' ADDRESS OF LAST CKPT START 00028450
  111. AIF (N'&SYSCKP NE 3).CKPDEF NO 3RD PARAM; DEFAULT HRC075DK 00028457
  112. &CKPVOL SETC '&SYSCKP(3)' VOLUME NAME HRC075DK 00028463
  113. &CKPDEV SETC '0' DEV ADDR TO BE FILLED AT IPL HRC075DK 00028469
  114. &CKPTYP SETC '0' DEVTYPE TO BE FILLED AT IPL HRC075DK 00028475
  115. .CKPDEF ANOP HRC075DK 00028481
  116. DC XL2'&CKPDEV' CKP AREA DEVICE ADDR HRC075DK 00028487
  117. DC AL1(CLASDASD,&CKPTYP) CKP AREA DEVICE TYPE HRC075DK 00028493
  118. DC CL6'&CKPVOL' CKP AREA VOLUME HRC075DK 00028499
  119. * CYLINDER 00028500
  120. DMKSYSCN DC H'0' COUNT OF CHECKPOINT SLOTS IN USE 00028550
  121. SPACE 3 00028600
  122. MNOTE *,'System Residence Setup' HRC102DK 00028650
  123. MNOTE *,'Volume = &SYSSER, Unit &SYSRES, Type &SYSTYP' HRC102DK 00028700
  124. MNOTE *,'Nucleus = &SYSNUC(1)-&NUCEND' HRC102DK 00028750
  125. MNOTE *,'Error = &SYSERR(1)-&ERREND' HRC102DK 00028800
  126. MNOTE *,'Warm = &SYSWRM(1)-&WRMEND' HRC102DK 00028850
  127. MNOTE *,'CKPT = &SYSCKP(1)-&CKPEND' HRC102DK 00028900
  128. MEXIT 00029000
  129. .ERR1 MNOTE 8,'INVALID DEVICE TYPE FOR SYSRES' 00030000
  130. MEXIT 00031000
  131. .ERR2 MNOTE 8,'SYSVOL NOT IN OWNED LIST' 00032000
  132. MEXIT 00032100
  133. .ERR3 MNOTE 8,'INVALID SYSWRM OPTIONS' 00032200
  134. MEXIT 00032300
  135. .ERR4 MNOTE 8,'SYSVOL OPERAND NOT SPECIFIED' 00032350
  136. MEXIT 00032400
  137. .ERR5 MNOTE 8,'SYSTYPE OPERAND NOT SPECIFIED' 00032450
  138. MEXIT 00032500
  139. .ERR6 MNOTE 8,'SYSERR OPERAND NOT SPECIFIED' 00032550
  140. MEXIT 00032600
  141. .ERR7 MNOTE 8,'SYSRES OPERAND NOT SPECIFIED' 00032650
  142. MEXIT 00032700
  143. .ERR8 MNOTE 8,'SYSNUC OPERAND NOT SPECIFIED' 00032750
  144. MEXIT 00032800
  145. .ERR9 MNOTE 8,'SYSWRM OPERAND NOT SPECIFIED' 00032850
  146. MEXIT 00032900
  147. .ERR10 MNOTE 8,'INVALID SYSCKP OPTIONS' 00032950
  148. MEXIT 00032970
  149. .ERR11 MNOTE 8,'INVALID SYSERR OPTIONS' 00032990
  150. MEXIT HRC102DK 00032993
  151. .ERR12 MNOTE 8,'INVALID SYSNUC OPTIONS' HRC102DK 00032996
  152. MEND 00033000
ibm/vm370-lib/macro/sysres.macro_src.txt ยท Last modified: 2023/08/06 13:38 by Site Administrator