Table of Contents

DSDUMP

Table Of Contents

  • [00004] DSDUMP - DIRECT SUBSEQUENT DUMPS.
  • [00021] DIRECT SUBSEQUENT DUMPS.

Source Code

DSDUMP.txt
  1. IDENT DSDUMP
  2. ENTRY DSDUMP
  3. SYSCOM B1
  4. TITLE DSDUMP - DIRECT SUBSEQUENT DUMPS.
  5. *COMMENT DSDUMP - DIRECT SUBSEQUENT DUMPS.
  6. COMMENT COPYRIGHT CONTROL DATA SYSTEMS INC. 1992.
  7. SPACE 4
  8. ***** DSDUMP - DIRECT SUBSEQUENT DUMPS.
  9. *
  10. * A. J. KOMOR. 72/07/24.
  11. * J. R. HOGUE. 72/10/05.
  12. * W. E. MARTIN. 78/12/30.
  13. SPACE 4
  14. * COMMON TEXTS.
  15.  
  16.  
  17. *CALL COMCMAC
  18. *CALL COMKMAC
  19. *CALL COMSPRD
  20. SPACE 4,75
  21. *** DSDUMP - DIRECT SUBSEQUENT DUMPS.
  22. *
  23. * DSDUMP IS A PRODUCT SET INTERFACE WHICH ALLOWS THE APPLI-
  24. * CATION PROGRAMMER TO CHANGE ANY OF THE DEFAULT VALUES OF A
  25. * CMDUMP REQUEST. THE DSDUMP DOES NOT CAUSE A DUMP IN ITSELF,
  26. * EXCEPT, WHEN THE SYSTEM DETECTS AN ERROR (I.E. ABORT). ANY
  27. * DEFAULT VALUES ON THE DSDUMP ARE SATISFIED FROM THE GENERAL
  28. * DEFAULT VALUES WHICH ARE ASSEMBLED IN THE EXECUTIVE.
  29. *
  30. * CALLING FORMATS -
  31. *
  32. * COBOL -
  33. *
  34. * ENTER DSDUMP USING FWA, LWA, EP, DB, OQ, QD.
  35. *
  36. * FORTRAN EXTENDED -
  37. *
  38. * CALL DSDUMP(FWA,LWA,EP,DB,OQ,QD)
  39. *
  40. * FWA BEGINNING ADDRESS, LEGAL VALUES - FWA .LT. FL.
  41. * IF NEGATIVE (BIT 17 SET) USE DEFAULT.
  42. * COBOL COMP-1.
  43. * FORTRAN EXTENDED INTEGER.
  44. *
  45. * LWA LAST WORD ADDRESS, LEGAL VALUES - FWA .LT. FL.
  46. * .EQ. 0 - IMPLIES NO DUMP OF FIELD LENGTH.
  47. * IF NEGATIVE (BIT 17 SET) USE DEFAULT.
  48. * COBOL COMP-1.
  49. * FORTRAN EXTENDED INTEGER.
  50. *
  51. * EP EXCHANGE PACKAGE, LEGAL VALUES -
  52. * .EQ. 0 - OPTION NOT DESIRED.
  53. * .NE. 0 - OPTION SELECTED.
  54. * IF NEGATIVE (BIT 59 SET) USE DEFAULT.
  55. * COBOL COMP-1.
  56. * FORTRAN EXTENDED INTEGER.
  57. *
  58. * DB DATA BUFFERS DUMP, LEGAL VALUES -
  59. * .EQ. 0 - OPTION NOT DESIRED.
  60. * .NE. 0 - OPTIONSELECTED.
  61. * IF NEGATIVE (BIT 59 SET) USE DEFAULT.
  62. * COBOL COMP-1.
  63. * FORTRAN EXTENDED INTEGER.
  64. *
  65. * OQ OUTPUT QUEUE, LEGAL VALUES -
  66. * .EQ. O - DUMP TO BATCH PRINTER.
  67. * .EQ. 1 - DUMP TO E/I 200.
  68. * .EQ 2 - DUMP TO USER PERMANENT FILE.
  69. * IF NEGATIVE (BIT 59 SET) USE DEFAULT.
  70. * COBOL COMP-1.
  71. * FORTRAN EXTENDED INTEGER.
  72. *
  73. * QD QUEUE DESTINATION, LEGAL VALUES -
  74. * IF PRINTER IS SPECIFIED IN PREVIOUS PARAMETER,
  75. * PRINTER I.D. IS SPECIFIED IN NUMERIC CHARACTERS
  76. * RIGHT JUSTIFIED WITHIN WORD.
  77. * IF NEGATIVE (BIT 17 SET) USE DEFAULT.
  78. *
  79. * IF E/I 200 IS SPECIFIED IN PREVIOUS PARAMETER, THE
  80. * ACCOUNT NUMBER IS SPECIFIED IN DISPLAY CODED LEFT
  81. * JUSTIFIED CHARACTERS. MAXIMUM LENGTH IS SEVEN
  82. * CHARACTERS.
  83. * IF NEGATIVE (BIT 59 SET) USE DEFAULT.
  84. *
  85. * IF USER PERMANENT FILE IS SPECIFIED, THE PERMANENT
  86. * FILE NAME IS SPECIFIED IN DISPLAY CODED LEFT
  87. * JUSTIFIED CHARACTERS. ANY LEGAL FILE NAME IS
  88. * PERMISSIBLE WITH A MAXIMUM OF SEVEN CHARACTERS.
  89. * IF NEGATIVE (BIT 59 SET) USE DEFAULT.
  90. *
  91. *
  92. * USES A - 1, 2, 3, 4, 6, 7.
  93. * X - ALL.
  94. * B - 1, 3.
  95. *
  96. * CALLS ZFN.
  97. *
  98. * MACROS DSDUMP.
  99.  
  100.  
  101. VFD 42/0LDSDUMP,18/DSDUMP
  102.  
  103. DSD5 SA1 DSDB RESTORE (A0)
  104. SA0 X1+
  105.  
  106. DSDUMP SUBR ENTRY/RETURN
  107. SX6 A0 SAVE (A0)
  108. MX5 60-18
  109. SA6 DSDB
  110. SB1 1
  111. SA4 X1 READ FWA PARAMETER ADDRESS
  112. SA3 A1+B1 READ LWA PARAMETER ADDRESS
  113. BX6 -X5*X4
  114. SA2 X3 READ LWA
  115. BX2 -X5*X2
  116. LX2 30
  117. BX6 X2+X6 (X6) = LWA AND FWA
  118. SA1 A3+B1 READ EXCHANGE POINT PARAMETER
  119. SA3 A1+B1 READ DATA BASE PARAMETER ADDRESS
  120. SA2 X1 READ EXCHANGE PACKAGE DUMP FLAG
  121. SA1 X3 READ DATA BASE DUMP FLAG
  122. BX3 X3-X3
  123. SA4 A3+B1 READ OUTPUT QUEUE PARAMETER ADDRESS
  124. SX7 X1
  125. ZR X7,DSD1 IF DATA BUFFER DUMP NOT DESIRED
  126. SX3 B1
  127. LX3 58
  128. PL X1,DSD1 IF NOT DEFAULT PARAMETER
  129. LX3 -2
  130. DSD1 SX7 X2
  131. BX1 X1-X1
  132. ZR X7,DSD2 IF EXCHANGE PACKAGE DUMP NOT DESIRED
  133. MX1 1
  134. PL X2,DSD2 IF NOT DEFAULT PARAMETER
  135. LX1 -2
  136. DSD2 BX6 X6+X3 (X6) = LWA + FWA + DB
  137. SA3 A4+B1 READ SIXTH PARAMETER POINTER
  138. BX6 X6+X1 (X6) = LWA + FWA + DB + EP
  139. SA2 X4 READ OUTPUT QUEUE
  140. SA6 DSDA
  141. BX0 -X5*X2
  142. SA1 X3 READ QUEUE DESTINATION
  143. SB3 X0+
  144. ZR B3,DSD3 IF DUMP IS TO LOCAL PRINTER
  145. RJ ZFN ZERO FILL NAME
  146. EQ DSD4 PROCESS QUEUE DESTINATION PARAMETER
  147.  
  148. DSD3 BX5 -X5
  149. DSD4 BX7 X5*X1 EXTRACT QUEUE DESTINATION
  150. BX7 X7+X0 (X7) = DESTINATION + QUEUE
  151. SA7 A6+1
  152. DSDUMP DSDA ISSUE REQUEST TO EXECUTIVE
  153. EQ DSD5 RESTORE (A0) AND RETURN
  154.  
  155. DSDA VFD 1/1,1/1,1/0,1/0,8/,18/3LLWA,12/0,18/3LFWA
  156. VFD 42/2LQD,18/2LOT
  157. DSDB CON 0 STORAGE FOR (A0)
  158. SPACE 4
  159. * COMMON DECK.
  160.  
  161.  
  162. *CALL COMKZFN
  163. SPACE 4
  164. END