Table of Contents

PANSUBS

Table Of Contents

  • [00009] PANSUBS - PANEL ACCESS SUBROUTINES.
  • [00012] ABT - ABNORMALLY TERMINATE THE JOB
  • [00021] ABT - ABNORMALLY TERMINATE THE JOB.
  • [00032] CSETA - SET CHARACTER SET TO ASCII.
  • [00041] CSETA - SET CHARACTER SET TO ASCII.
  • [00064] MSG - TERMINATION MESSAGE
  • [00073] MSG - DAYFILE MESSAGE PRIOR TO TERMINATION.
  • [00093] X612TA - TRANSLATE 6/12 TO ASCII.
  • [00112] X612TA - TRANSLATE 6/12 TO ASCII.

Source Code

PANSUBS.txt
  1. IDENT PANSUBS
  2.  
  3. ENTRY ABT
  4. ENTRY CSETA
  5. ENTRY MSG
  6. ENTRY X612TA
  7. ENTRY RFL=
  8. SYSCOM B1
  9. TITLE PANSUBS - PANEL ACCESS SUBROUTINES.
  10. *COMMENT PANSUBS - PANEL ACCESS SUBROUTINES.
  11. COMMENT COPYRIGHT CONTROL DATA SYSTEMS INC. 1992.
  12. TITLE ABT - ABNORMALLY TERMINATE THE JOB
  13. ABT SPACE 4,10
  14. *** ABT - ABNORMALLY TERMINATE THE JOB.
  15. *
  16. * R.K. FOSTER. 83/03/07.
  17. ABT SPACE 4,10
  18. *** *ABT* PROVIDES AN INTERFACE TO *SMF* ROUTINES FOR
  19. * ABNORMALLY TERMINATING THE JOB.
  20. ABT SPACE 4,10
  21. ** ABT - ABNORMALLY TERMINATE THE JOB.
  22. *
  23. * USES B - 1.
  24. *
  25. * MACROS ABORT.
  26.  
  27.  
  28. ABT SUBR ENTRY/EXIT
  29. SB1 1
  30. ABORT DUMP THE JOB
  31. EQ ABTX RETURN
  32. TITLE CSETA - SET CHARACTER SET TO ASCII.
  33. *** CSETA - SET CHARACTER SET TO ASCII.
  34. *
  35. * R.K. FOSTER. 83/03/07.
  36. CSETA SPACE 4,10
  37. *** *CSETA* PROVIDES AN INTERFACE TO *SMF* ROUTINES FOR
  38. * SETTING THE CHARACTER SET OF THE TERMINAL TO ASCII.
  39. * IT ALSO ALTERS *TVXD* IN *COMTVDT* IF USING 63-CHARACTER SET.
  40. CSETA SPACE 4,10
  41. ** CSETA - SET CHARACTER SET TO ASCII.
  42. *
  43. * USES X - 1, 2, 6.
  44. * A - 1, 2, 6.
  45. * B - 1, 6.
  46. *
  47. * MACROS CSET.
  48.  
  49.  
  50. CSETA SUBR ENTRY/EXIT
  51. SB1 1
  52. CSET ASCII SET CHARACTER SET TO ASCII
  53. SA1 CSMR READ INSTALLATION OPTION
  54. SB6 TVXD64 ASSUME 64 CHARACTER SET
  55. NG X1,CSE1 IF 64 CHARACTER SET
  56. SB6 TVXD63 SET 63 CHARACTER SET
  57. CSE1 SA1 B6+ READ MODIFICATION TABLE ENTRY
  58. NG X1,CSETAX IF END OF TABLE, RETURN
  59. SA2 A1+B1 READ SUBSTITUTION
  60. SB6 B6+2
  61. BX6 X2 STORE SUBSTITUTION
  62. SA6 TVXD+X1
  63. EQ CSE1 CONTINUE
  64. TITLE MSG - TERMINATION MESSAGE
  65. MSG SPACE 4,10
  66. *** MSG - DAYFILE MESSAGE.
  67. *
  68. * R.K. FOSTER. 83/03/07.
  69. MSG SPACE 4,10
  70. *** *MSG * PROVIDES AN INTERFACE TO *SMF* ROUTINES FOR
  71. * A DAYFILE MESSAGE.
  72. MSG SPACE 4,10
  73. ** MSG - DAYFILE MESSAGE PRIOR TO TERMINATION.
  74. *
  75. * CALLING SEQUENCE.
  76. *
  77. * *FORTRAN5* CALL -
  78. *
  79. * CALL MSG(M)
  80. *
  81. * M = MESSAGE (MUST BE ON WORD BOUNDARY).
  82. *
  83. * USES B - 1.
  84. *
  85. * MACROS MESSAGE.
  86.  
  87.  
  88. MSG SUBR ENTRY/EXIT
  89. SB1 1
  90. SX1 X1
  91. MESSAGE X1,3,R
  92. EQ MSGX RETURN
  93. TITLE X612TA - TRANSLATE 6/12 TO ASCII.
  94. X612TA SPACE 4,10
  95. *** X612TA - TRANSLATE 6/12 TO ASCII.
  96. *
  97. * R.K. FOSTER. 83/03/07.
  98. X612TA SPACE 4,10
  99. *** *X612TA* PROVIDES AN INTERFACE TO *SMF* ROUTINES FOR
  100. * TRANSLATING 6/12 TO ASCII.
  101. *
  102. * CALLING SEQUENCE.
  103. *
  104. * *FORTRAN5* CALL -
  105. *
  106. * CALL X612TA(N)
  107. *
  108. * N = ICHAR (CHARACTER TO TRANSLATE).
  109. * IF ICHAR PRECEDED BY UPARROW, N = N + Z"40".
  110. * IF ICHAR PRECEDED BY ATSIGN, N = N + Z"80".
  111. X612TA SPACE 4,10
  112. ** X612TA - TRANSLATE 6/12 TO ASCII.
  113. *
  114. * ENTRY (A1) = FWA OF PARAMETER.
  115. * (X1) = ACTUAL PARAMETER.
  116. *
  117. * EXIT (X6) = TRANSLATED CHARACTER.
  118. *
  119. * USES X - 0, 1, 2, 6.
  120. * A - 1, 2.
  121. * B - 1, 2.
  122.  
  123.  
  124. X612TA SUBR ENTRY/EXIT
  125. SB1 1
  126. SA1 X1+ GET ARGUMENT
  127. SB2 X1 GET WORD FROM TABLE
  128. SA2 TVXD+B2
  129. MX0 -7 EXTRACT ASCII
  130. LX2 -18
  131. BX6 -X0*X2
  132. EQ X612TAX RETURN
  133. SPACE 4,10
  134.  
  135. * CHARACTER SET TRANSLATION TABLES.
  136.  
  137. LIST X
  138. *CALL COMTVDT
  139. LIST -X
  140. SPACE 4,10
  141.  
  142. USE // FORCE RFL= TO FOLLOW BLANK COMMON
  143. RFL= BSS 0
  144. END