User Tools

Site Tools


cdc:nos2.source:nam5871:ssspat

SSSPAT

Table Of Contents

  • [00006] SSSPAT - PROCESS ABNORMAL TERMINATION.
  • [00009] PROCESS ABNORMAL TERMINATION.

Source Code

SSSPAT.txt
  1. *DECK SSSPAT
  2. IDENT SSSPAT
  3. ENTRY SSSPAT
  4. ENTRY PAT1
  5. B1=1
  6. TITLE SSSPAT - PROCESS ABNORMAL TERMINATION.
  7. COMMENT BUILT"DATE""TIME"
  8. SPACE 4,10
  9. *** SSSPAT - PROCESS ABNORMAL TERMINATION.
  10. *
  11. * D. G. DEPEW 81/12/01.
  12. SPACE 4,10
  13. *** SSSPAT PERFORMS ALL THE STEPS NECESSARY TO FLUSH THE AIP TRACE
  14. * FILE (*ZZZZZDN*) WHEN THE PROGRAM TERMINATES ABNORMALLY.
  15. SPACE 4,10
  16. *** IDENT SSSPAT
  17. *
  18. * ENTRY NONE.
  19. *
  20. * EXIT INITIALIZATION CALL:
  21. * *RPV* HAS BEEN SET UP TO REPRIEVE ALL CONDITIONS
  22. * EXCEPT NORMAL TERMINATION AND TERMINAL INTERRUPTS.
  23. * ABNORMAL TERMINATION TRANSFER:
  24. * THE AIP TRACE FILE HAS BEEN FLUSHED, AND THE ERROR
  25. * CONDITION HAS BEEN RESET SO THAT THE OPERATING SYSTEM
  26. * CAN PROCESS THE ERROR IN ITS INDUBITABLE FASHION.
  27. *
  28. * MACROS NETSTC, REPRIEVE, WRITER.
  29. SPACE 4,10
  30. USE /TPOINT/ GLOBAL POINTER TABLE FOR DEBUG PURPOSES
  31. VFD 42/7HREPRIEV,18/RPVPARM
  32. DNPT VFD 42/7HZZZZZDN,18/0
  33. BSSZ 14D
  34. USE *
  35.  
  36.  
  37. USE /CCARD/ COMMON SERVICES AND SCHEDULING ITEMS
  38. NET$ONF VFD 60/0
  39. BSSZ 1
  40. USE *
  41.  
  42.  
  43. SSSPAT EQ *+1S17D ENTRY/EXIT
  44. SSSPATX EQU *
  45. SB1 1
  46. MESSAGE BLDMSG,0,R
  47. REPRIEVE RPVPARM,SET,77B SET REPRIEVE CONDITIONS
  48. JP SSSPATX
  49.  
  50.  
  51. USE /SSBUILD/
  52. BLDMSG DIS ,* BUILT"DATE""TIME"*
  53. USE *
  54.  
  55. USE /RPVCOM/
  56. RPVPARM VFD 48/25,12/0 REPRIEVE PARAMETER BLOCK
  57. VFD 60/PAT1 TRANSFER ADDRESS
  58. BSSZ 23
  59. USE *
  60.  
  61. * CONTENTS OF SYS EQUALS
  62.  
  63. SYS$EQ BSS 1
  64.  
  65.  
  66. * PARAMETERS FOR NETSETF AND NETSTC MACROS.
  67.  
  68. GETFET DATA 0
  69. DNFETADR BSS 1
  70. STATOFF DATA 1
  71. STATFLAG BSS 1
  72.  
  73.  
  74. PAT1 BSS 0 REPRIEVE TRANSFER ADDRESS
  75. SA1 =XSYS=
  76. BX6 X1 SAVE LAST CALL TO SYS EQUALS
  77. SA6 SYS$EQ
  78. SYSTEM DMB,R,0,037B NEED TO MERGE IN NIN
  79. SA2 NET$ONF
  80. ZR X2,PAT2 DO NOT FLUSH IF APPL DID NOT NET ON
  81. RJ =XSSSPSI
  82. NETSTC STATOFF,STATFLAG FLUSH *ZZZZZSN* IF PRESENT
  83. PAT2 BSS 0
  84. SB1 1
  85. SA1 DNPT GET *ZZZZZDN* FET ADDRESS
  86. SX2 X1
  87. ZR X2,PAT3 DON'T FLUSH IF *ZZZZZDN* DOESN'T EXIST
  88. WRITER X2,RCL FLUSH THE BUFFER
  89. PAT3 BSS 0
  90. REPRIEVE RPVPARM,RESET,77B RESET ERROR CONDITION
  91. NO RETURN FROM REPRIEVE,RESET
  92.  
  93. END
cdc/nos2.source/nam5871/ssspat.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator