User Tools

Site Tools


cdc:nos2.source:nam5871:iscp

Table of Contents

ISCP

Table Of Contents

Source Code

ISCP.txt
  1. *DECK ISCP
  2. IDENT ISCP
  3. EXT OMSG
  4. OPL XTEXT COMCMAC
  5. OPL XTEXT COMSPRD
  6. OPL XTEXT COMSSSD
  7. ENTRY ISCP
  8. SST
  9. SYSCOM B1
  10. *IF DEF,IMS
  11. *#
  12. *1DC ISCP
  13. *
  14. * 1. PROC NAME AUTHOR DATE
  15. * ISCP Y. HSIEH 77006/01
  16. *
  17. * 2. FUNCTIONAL DESCRIPTION.
  18. * VERIFY NIP WAS BROUGHT UP AS N.NAM AND INITIALIZE NIP AS
  19. * A SYSTEM-CONTROL-POINT
  20. * AND TO ADJUST THE CHARACTER CONVERSION TABLE FOR 64 CHAR. SET.
  21. *
  22. * 3. METHOD USED.
  23. * USE GETSSID MACRO TO GET NIP-S QUEUE PRIORITY
  24. * IF NOT *NMSI*, NIP WAS INITIALIZED INCRRECTEDLY, SO ABORT.
  25. * IF *NMSI*, USE CALLS MACRO TO INITIALIZE SYSTEM-CONTROL-
  26. * POINT STATUS
  27. * READ MACHINE CHARACTERISTIC WORD TO SEE WHETHER WE ARE
  28. * RUNNING WITH 63 OR 64 CHAR. SET.
  29. * IF 64 CHAR. SET, CHANGE THE CORRESPONDING DISPLAY CODE
  30. * FOR ASCII CODE 3A TO 00B.
  31. *
  32. * 4. ENTRY PARAMETERS.
  33. * NONE
  34. *
  35. * 5. EXIT PARAMETERS. NONE
  36. *
  37. * 6. COMMON DECKS CALLED
  38. * SYSCOMD SYSTEM COMMUNICATION DEFINITIONS
  39. *
  40. * 7. ROUTINES CALLED.
  41. * CALLSS REQUEST SYS-CTL-PT STATUS
  42. GETSSID GET SUBSYSTEM ID MACRO
  43. * OMSG ISSUE DAYFILE MESSAGE
  44. *
  45. * 8. DAYFILE MESSAGES AND OTHER IMPORTANT INFORMATION.
  46. *
  47. * *NAM INITIATED INCORRECTLY - TRY N.NAM.*
  48. *
  49. * W A R N I N G - THIS ROUTINE IS LOAD WITH INIP, ISUPCB,
  50. * IBUFFS, AND ITRACE. THE SUM OF THEIR
  51. * SIZES CANNOT EXCEED THE SIZE OF THE
  52. *CALL OSIZE
  53. *
  54. *
  55. *#
  56. *ENDIF
  57.  
  58.  
  59. * THIS COMMON BLOCK IS THE CONVERSION TABLE USED BY BCONV
  60. * TO CONVERT 8-BIT ASCII INBOUND DATA TO 6-BIT DISPLAY CODE
  61.  
  62. USE /COMVERT/
  63. BSS 7
  64. SET63A BSS 5
  65. SET63B BSS 4
  66. USE *
  67.  
  68. *CALL SYSCOMD
  69.  
  70. IPARAMS
  71. A IFC EQ,*"OS.NAME"*KRONOS*
  72. *IF,-DEF,MSS
  73. SSWD VFD 42/3LNAM,18/NMSI
  74. *ENDIF
  75. *IF,DEF,MSS FOR CDC INTERNAL USE ONLY
  76. SSWD VFD 42/3LMSS,18/MFSI
  77. *ENDIF FOR CDC INTERNAL USE ONLY
  78. A ELSE
  79. SSID VFD 42/5LCDCS2,18/1
  80. A ENDIF
  81. *
  82. STATUS BSSZ 1
  83. SSID BSSZ 1 SUBSYSTEM ID WORD
  84. MSG DIS ,*NAM INITIATED INCORRECTLY - TRY N.NAM.*
  85. MSGADDR VFD 60/MSG
  86. BSSZ 1
  87. * RA.SSC
  88. SPACE 5
  89. ISCP SUBR = ENTRY/EXIT
  90. *
  91. *
  92. * CHECK IF NAM BROUGHT UP CORRECTLY BY CHECKING ITS
  93. * JOB PRIORITY
  94. *
  95. GETSSID SSID GET SUBSYSTEM ID
  96. SA1 SSID X1 = SUBSYSTEM ID
  97. SB2 X1
  98. *IF,-DEF,MSS
  99. SB3 NMSI B3 = NAM SUBSYSTEM ID
  100. *ENDIF
  101. *IF,DEF,MSS FOR CDC INTERNAL USE ONLY
  102. SB3 MFSI B3 = MSS SUBSYSTEM ID
  103. *ENDIF FOR CDC INTERNAL USE ONLY
  104. EQ B2,B3,INITOK NIP BROUGHT UP CORRECTLY
  105. SA1 MSGADDR PARAMETER LIST ADDRESS FOR OMSG
  106. RJ OMSG ISSUE DAYFILE MESSAGE
  107. ABORT ABORT NIP
  108.  
  109. INITOK BSS 0
  110. SA1 SSWD
  111. BX7 X1
  112. SA7 RA.SSID STORE NAME AND ORDINAL IN LOW RA
  113. *
  114. * REQUEST SYSTEM CONTROL POINT STATUS
  115. *
  116. CALLSS SS.SYS,STATUS,R
  117. *
  118. * SIGN BIT OF LOW CORE WORD 67B(CSMR) IN FL = 0 IF 63 CHAR SET
  119. * = 1 IF 64 CHAR SET
  120. * IF FOR 64 CHARACTER SET
  121. * CHANGE THE CORRESPONDING DISPLAY CODE FOR 3A TO 00B
  122. *
  123. SA2 CSMR BIT 59 = 0 IF 63 CHARACTER SET
  124. PL X2,ISCPX RETURN IF 63 CHAR SET
  125.  
  126. MX0 6
  127. SA1 SET63B THIS WORD INIT. FOR 63 CHAR SET
  128. BX6 -X0*X1 ASCII CODE 3A EQUIVALENT TO 00B
  129. SA2 SET63A THIS WORD INIT FOR 63 CHAR SET
  130. LX0 48
  131. SA6 A1
  132. BX6 -X0*X2 ASCII CODE 3A EQUIVALENT TO 00B
  133. SA6 A2 IN 64 CHAR SET
  134. EQ ISCPX RETURN
  135. END
cdc/nos2.source/nam5871/iscp.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator