Table of Contents

CCHREC Source

References

Source Listing

CCHREC.COPY.txt
  1. *COPY CCHREC 00001000
  2. PUSH PRINT 00001200
  3. AIF ('&SYSPARM' NE 'SUP').CCHR01 @VA08768 00001210
  4. PRINT OFF,NOGEN @VA08768 00001220
  5. .CCHR01 ANOP 00001230
  6. CCHREC DSECT 00002000
  7. SPACE 1 00003000
  8. * 00004000
  9. *** CCHREC - CHANNEL CHECK HANDLER RECORD 00005000
  10. * 00006000
  11. * +-----+-----+-----+-----+-----------+-----+-----+ 00007000
  12. * 0 | C*1 | C*2 | C*3 | C*4 | CCSW2REV | C*5 | C*6 | 00008000
  13. * +-----+-----+-----+-----+-----------+-----+-----+ 00009000
  14. * 8 | CCDATE | 00010000
  15. * +-----------------------+-----------+-----------+ 00011000
  16. * 10 | CCCPUID | CCHMDL | CCHMCEL | 00012000
  17. * +-----------------------+-----------+-----------+ 00013000
  18. * 18 | CCPROGID | 00014000
  19. * +-----------------------------------------------+ 00015000
  20. * | | 00016000
  21. * 20 = FAILADD = 00017000
  22. * | | 00018000
  23. * +-----------------------------------------------+ 00019000
  24. * 30 | FAILCCW | 00020000
  25. * +-----------------------------------------------+ 00021000
  26. * 38 | FAILCSW | 00022000
  27. * +-----------------------+-----------------------+ 00023000
  28. * 40 | FAILECSW | CCDEVTYP | 00024000
  29. * +-----+-----------------+-----------+-----------+ 00025000
  30. * 48 | C*7 | CCHCUA | CCHCHCUA | CCHCLOGL | 00026000
  31. * +-----+-----------------+-----------+-----------+ 00027000
  32. * | | 00028000
  33. * = = 00029000
  34. * 50 = CCHLOG = 00030000
  35. * = = 00031000
  36. * | | 00032000
  37. * +-----------------------------------------------+ 00033000
  38. * 00034000
  39. *** CCHREC - CHANNEL CHECK HANDLER RECORD 00035000
  40. * 00036000
  41. SPACE 1 00037000
  42. CCRECTYP DS 1X C*1 - RECORD TYPE 00038000
  43. CCOPSYS DS 1X C*2 - OPERATING SYSTEM 00039000
  44. CCSW1 DS 1X C*3 - SWITCH ONE 00040000
  45. CCSW2 DS 1X C*4 - SWITCH TWO 00041000
  46. CCSW2REV DS 2X UNUSED 00042000
  47. CCRECNT DS 1X C*5 - RECORD COUNT 00043000
  48. CCRECNT1 DS 1X C*6 - UNUSED 00044000
  49. CCDATE DS 1D DATE AND TIME 00045000
  50. CCCPUID DS 1F CPU ID 00046100
  51. CCHMDL DS 1H CPU MACHINE MODEL NUMBER 00046200
  52. * ( 0158, 0168 ETC ) 00046300
  53. CCHMCEL DS 1H MAX LENGTH OF MACHINE (CPU) 00046400
  54. * DEPENDENT, 00046500
  55. * MACHINE CHECK EXTENDED LOGOUT AREA 00046600
  56. CCPROGID DS 1D USERID 00047000
  57. FAILADD DS 8H ACTIVE I/O UNITS 00048000
  58. FAILCCW DS 1D FAILIND CCW 00049000
  59. FAILCSW DS 1D FAILING CSW 00050000
  60. FAILECSW DS 0F FAILING ECSW 00051000
  61. IGPRGFLG DS CL1 PROGRAM FLAG BITS 00052000
  62. CCHSIOB EQU X'80' SIO BIT 00053000
  63. CCHINTB EQU X'40' INTERRUPT BIT 00054000
  64. CCHTIO EQU X'20' TEST I/O BIT 00054010
  65. CCHHIO EQU X'10' HALT I/O BIT 00054020
  66. CCHSNSB EQU X'04' SENSE DATA STORED BIT 00055000
  67. CCHCNTB EQU X'02' COUNT VALID BIT 00056000
  68. CCHNRYB EQU X'01' NO RETRY BIT 00057000
  69. IGBLAME DS CL1 PROBABLE SOURCE OF ERROR 00058000
  70. CCHCPU EQU X'80' CPU IS SOURCE OF ERROR 00059000
  71. CCHCHNL EQU X'40' CHANNEL IS SOURCE OF ERROR 00060000
  72. CCHSCUB EQU X'20' STORAGE CONTROL UNIT SOURCE OF ERROR 00061000
  73. CCHSTG EQU X'10' STORAGE IS SOURCE OF ERROR 00062000
  74. CCHINTFC EQU X'08' CONTROL UNIT IS SOURCE OF ERROR 00063010
  75. IGVALIDB DS CL1 VALIDITY INDICATOR BITS 00064000
  76. CCHINTFV EQU X'80' INTERFACE ADDRESS VALID 00065010
  77. CCHRCV EQU X'10' SEQUENCE CODE VALID 00065020
  78. CCHUSV EQU X'08' UNIT STATUS VALID 00065030
  79. CCHCMDV EQU X'04' COMMAND ADDRESS VALID 00067000
  80. CCHCAV EQU X'02' CHANNEL ADDRESS VALID 00068000
  81. CCHDAV EQU X'01' DEVICE ADDRESS VALID 00069000
  82. IGTERMSQ DS CL1 TERMINATION/SEQUENCE CODE BITS 00070000
  83. COMPSYS EQU X'C0' SYSTEM RESET 00071000
  84. COMPSEL EQU X'80' SELECTIVE RESET 00072000
  85. COMPFES EQU X'40' STOP, STACK, OR NORMAL TERMINATION 00073010
  86. CCHIOH EQU X'10' IO INTERFACE HANGUP OCCURRED 00073500
  87. COMPID EQU X'00' INTERFACE DISCONNECT 00074000
  88. CCHDI EQU X'08' I/O ERROR ALERT 00075010
  89. * SEQUENCE CODE BITS 00076000
  90. RTCODE0 EQU X'00' RETRY 00077000
  91. RTCODE1 EQU X'01' CODE 00078000
  92. RTCODE2 EQU X'02' VALUES 00079000
  93. RTCODE3 EQU X'03' FOR 00080000
  94. RTCODE4 EQU X'04' THE 00081000
  95. RTCODE5 EQU X'05' BUILDED 00082000
  96. RTCODE6 EQU X'06' ECSW 00083000
  97. RTCODE7 EQU X'07' * 00084000
  98. CCDEVTYP DS 1F CP DEVICE TYPE 00085000
  99. CCHANID DS CL1 C*7 CHANNEL IDENTIFICATION 00086100
  100. CCHCUA DS CL3 ACTUAL FAILING DEVICE ADDRESS 00086200
  101. CCHCHCUA DS CL2 ADDRESS FROM MACHINE LOCATION 00088000
  102. * HEX'BA' 00088020
  103. CCHCLOGL DS CL2 LENGTH OF CHANNEL LOGOUT 00088040
  104. CCHSIZE EQU (*-CCHREC)/8 SIZE IN DOUBLEWORDS 00088100
  105. CCHLOG80 DS 0CL112 2880 CHANNEL - 112 BYTES 00089000
  106. CCHLOG70 DS 0CL24 2870 CHANNEL - 24 BYTES 00090000
  107. CCHLOG60 DS 0CL24 2860 CHANNEL - 24 BYTES 00091000
  108. CCHADDR DS 1F UNIT ADDR STORED BY INTEGRATED CHANNEL 00091100
  109. CCHSIZE1 EQU (*-CCHREC) SIZE IN BYTES FOR INTEGRATED CHANNEL 00091200
  110. CCHLOG45 DS 0CL96 145 INTEGRATED CHANNEL - 96 BYTES 00095000
  111. CCHLOG35 DS 0CL24 135 INTEGRATED CHANNEL - 24 BYTES 00096000
  112. ********************************************************************** 00097000
  113. * THE BITS IN ENTSW ARE DEFINE BELOW 00098000
  114. ********************************************************************** 00099000
  115. SIOCCH EQU X'80' SIO ENTRY 00100000
  116. INTERCCH EQU X'40' I/O INTERRUPT ENTRY 00101000
  117. TIOCCH EQU X'20' TIO INSTRUCTION WAS ISSUED 00102050
  118. HIOCCH EQU X'10' HIO INSTRUCTION WAS ISSUED 00102100
  119. TERMSYS EQU X'08' TERMINATION OF OPERATING SYSTEM 00102150
  120. DEVCCH EQU X'04' DEVICE BLOCK ADDRESS EXIST 00102200
  121. IOBCCH EQU X'02' I/O BLOCK ADDRESS EXIST 00102250
  122. ********************************************************************** 00108000
  123. EJECT 00109000
  124. POP PRINT 00110000
  125. SPACE 00111000