Table of Contents

TSTAT

Table Of Contents

  • [00004] TSTAT - OBTAIN INFORMATION ABOUT *TAF* ENVIRONMENT.
  • [00015] TSTAT - OBTAIN STATUS ABOUT TAF ENVIRONMENT.
  • [00059] ISR - ISSUE RECOVERY REQUEST.

Source Code

TSTAT.txt
  1. IDENT TSTAT
  2. ENTRY TSTAT
  3. SYSCOM B1
  4. TITLE TSTAT - OBTAIN INFORMATION ABOUT *TAF* ENVIRONMENT.
  5. *COMMENT TSTAT - OBTAIN TAF ENVIRONMENT STATUS.
  6. COMMENT COPYRIGHT CONTROL DATA SYSTEMS INC. 1992.
  7. TSTAT SPACE 4,10
  8. ***** TSTAT - OBTAIN STATUS ABOUT *TAF* ENVIRONMENT.
  9. *
  10. * A. E. SCHIPPERS. 80/07/17.
  11. *
  12. * TSTAT IS AN INTERFACE ROUTINE WHICH RETURNS
  13. * INFORMATION ABOUT THE *TAF* ENVIRONMENT.
  14. TSTAT SPACE 4,20
  15. ** TSTAT - OBTAIN STATUS ABOUT TAF ENVIRONMENT.
  16. *
  17. * ENTRY ENTER TSTAT USING STAT, KEYWORD(1), VALUE(1),
  18. * ..., KEYWORD(N), VALUE(N).
  19. *
  20. * CALL TSTAT(STAT,KEYWORD(1),VALUE(1),
  21. * ...,KEYWORD(N),VALUE(N))
  22. *
  23. * WHERE KEYWORD(I) = VARIABLE CONTAINING 1-7 CHARACTERS.
  24. * KEYWORDS ARE LEFT JUSTIFIED AND BLANK FILLED.
  25. * COBOL - 01 LEVEL ITEM.
  26. * FORTRAN - HOLLERITH.
  27. *
  28. * STATUS = STATUS OF RESULT.
  29. * COBOL - 01 LEVEL COMPUTATIONAL-1 DATA NAME.
  30. * FORTRAN - INTEGER.
  31. *
  32. * VALUE (I) = CONTAINS THE VALUE OF DESIRED KEYWORD.
  33. * COBOL - 01 LEVEL COMPUTATIONAL-1 DATA NAME.
  34. * FORTRAN - INTEGER.
  35. *
  36. * EXIT REQUEST IS PROCESSED.
  37. *
  38. * USES X - 1.
  39. * B - 1.
  40. *
  41. * CALLS ISR.
  42. TSTAT SPACE 4,5
  43.  
  44. * COMMON DECKS CALLED.
  45.  
  46. *CALL COMKMAC
  47.  
  48.  
  49.  
  50. TESA EQU 22 TSTAT FUNTION CODE
  51.  
  52. VFD 42/5HTSTAT,18/TSTAT
  53. TSTAT SUBR ENTRY/EXIT
  54. SB1 1
  55. SX1 TESA SET FUNCTION CODE
  56. RJ ISR ISSUE SYSTEM REQUEST
  57. EQ TSTATX RETURN
  58. ISR SPACE 4,15
  59. ** ISR - ISSUE RECOVERY REQUEST.
  60. *
  61. * ENTRY (A1) = FWA OF REQUEST PARAMETER LIST.
  62. * (X1) = FUNCTION CODE.
  63. *
  64. * EXIT (A1) = FWA OF RETURN PARAMETER LIST.
  65. *
  66. * USES X - 1, 6, 7.
  67. *
  68. * CALLS SYS=.
  69.  
  70.  
  71. ISR SUBR ENTRY/EXIT
  72. SX6 3RCTI PREPARE CTI REQUEST
  73. SX7 A1+ PARAMETER LIST ADDRESS
  74. LX6 59-17
  75. BX6 X7+X6
  76. LX1 35-17 REQUEST CODE
  77. BX6 X6+X1
  78. RJ =XSYS= ISSUE REQUEST
  79. EQ ISRX RETURN
  80. END