User Tools

Site Tools


cdc:nos2.source:opl871:submt

Table of Contents

SUBMT

Table Of Contents

  • [00007] SUBMT - TRANSACTION SUBSYSTEM SUBMIT ROUTINES.
  • [00064] SUBMIT JOB TO BATCH SUB-SYSTEM.

Source Code

SUBMT.txt
  1. IDENT SUBMT
  2. SST
  3. ENTRY SUBMT
  4. ENTRY BTRAN
  5. ENTRY ROUTE
  6. SYSCOM B1
  7. TITLE SUBMT - TRANSACTION SUBSYSTEM SUBMIT ROUTINES.
  8. *COMMENT SUBMT - SUBMIT AND BTRAN ROUTINES.
  9. COMMENT COPYRIGHT CONTROL DATA SYSTEMS INC. 1992.
  10. SPACE 4
  11. ***** SUBMT - TRANSACTION/BATCH AND BATCH/TRANSACTION SUBMITS.
  12. *
  13. * W. E. MARTIN. 79/03/16.
  14. SPACE 4
  15. * COMMON TEXTS.
  16.  
  17.  
  18. *CALL COMCMAC
  19. *CALL COMKMAC
  20. *CALL COMSSSD
  21. LIST X
  22. *CALL COMKTSC
  23. LIST -X
  24. ROUTE SPACE 4,10
  25. *** ROUTE - PROCESS *ROUTE* COMMAND.
  26. *
  27. * *ROUTE* IS USED TO PLACE FILES INTO THE INPUT OR
  28. * OUTPUT QUEUES.
  29. *
  30. * ENTRY FORMAT -
  31. *
  32. * FORTRAN EXTENDED -
  33. *
  34. * CALL ROUTE(LFN,LENGTH,STAT,P1,P1V,P2,P2V,...PN,PNV)
  35. *
  36. * COBOL -
  37. *
  38. * ENTER ROUTE USING LFN, LENGTH, STAT, P1, P1V, P2, P2V,
  39. * ...PN, PNV.
  40. *
  41. * WHERE LFN = FWA OF DATA TO ROUTE.
  42. *
  43. * LENGTH = LENGTH OF DATA IN CM WORDS, AND ON WORD
  44. * BOUNDARY.
  45. *
  46. * STAT = STATUS RETURN ADDRESS.
  47. *
  48. * P1...PN = *ROUTE* PARAMETERS.
  49. *
  50. * P1V...PNV = *ROUTE* PARAMETER VALUES.
  51. *
  52. * USES X - 1.
  53. *
  54. * MACROS SYSTEM.
  55.  
  56.  
  57. VFD 42/0LROUTE,18/ROUTE
  58.  
  59. ROUTE SUBR ENTRY/EXIT
  60. SX1 A1 FWA OF PARAMETER LIST
  61. SYSTEM CTI,R,X1,30B ROUTE FILE
  62. EQ ROUTEX RETURN
  63. SUBMT SPACE 4,20
  64. *** SUBMT - SUBMIT JOB TO BATCH SUB-SYSTEM.
  65. *
  66. * ENTRY FORMAT -
  67. *
  68. * FORTRAN EXTENDED -
  69. *
  70. * CALL SUBMT(JOBADDR).
  71. *
  72. * COBOL -
  73. *
  74. * ENTER SUBMT USING JOBADDR.
  75. *
  76. * WHERE JOBADDR = ADDRESS OF JOB DATA TO BE SUBMITTED
  77. * IN CONTROL-WORD WRITE FORMAT.
  78. *
  79. * MACROS SUBMT.
  80.  
  81.  
  82. VFD 42/0LSUBMT,18/SUBMT
  83.  
  84. SUBMT SUBR ENTRY/EXIT
  85. SX1 X1 SET ADDRESS OF JOB DATA
  86. SUBMT X1 *SUBMIT* JOB
  87. EQ SUBMTX RETURN
  88. BTRAN SPACE 4,50
  89. *** BTRAN - SUBMIT A TRANSACTION FROM A BATCH JOB.
  90. *
  91. * ENTRY FORMAT -
  92. *
  93. * FORTRAN EXTENDED -
  94. *
  95. * CALL BTRAN ( TRAN, STATUS )
  96. *
  97. * COBOL -
  98. *
  99. * ENTER BTRAN USING TRAN, STATUS.
  100. *
  101. * WHERE TRAN = ADDRESS OF FIRST WORD OF TRANSACTION TO
  102. * SUBMIT TO *TAF* IN THE FOLLOWING FORMAT -
  103. *
  104. * STATUS = ADDRESS WHERE *BTRAN* STATUS IS TO BE
  105. * RETURNED ( OPTIONAL FOR COBOL ).
  106. *
  107. *T 42/0,18/LENGTH.
  108. *T, 60/ TRANSACTION INPUT DATA (LIMIT 620 CHARACTERS)
  109. *
  110. * LENGTH - LENGTH OF DATA PLUS HEADER IN WORDS.
  111. *
  112. * DATA - THE DATA MUST BE IN A FORMAT ACCEPTABLE TO THE
  113. * *INITIAL* TASK. THE 620 CHARACTER LIMIT IS A MAXIMUM,
  114. * AND THE SYSTEM MAY BE ASSEMBLED FOR LESS.
  115. *
  116. * EXIT (X6) = ( STATUS ).
  117. * WHERE STATUS EQUALS BATCH JOB STATUS CODES.
  118. *
  119. * USES A - 1, 2, 6, 7.
  120. * X - 0, 1, 2, 5, 6, 7.
  121. * B - 1.
  122. *
  123. * MACROS BTRAN, RECALL.
  124.  
  125.  
  126. VFD 42/0LBTRAN,18/BTRAN
  127.  
  128. BTR3 SA1 BTRA STATUS ADDRESS
  129. ZR X1,BTRANX IF NO ADDRESS PROVIDED
  130. BX7 X6 SET RETURN STATUS
  131. SA7 X1
  132.  
  133. BTRAN SUBR ENTRY/EXIT
  134. SB1 1
  135. BX6 X6-X6 CLEAR STATUS ADDRESS
  136. SA2 A1+B1
  137. ZR X2,BTR1 IF NO SECOND PARAMETER
  138. BX6 X2 SAVE STATUS ADDRESS
  139. BTR1 SA6 BTRA
  140. SX2 X1
  141. BTRAN X2 SUBMIT TRANSACTION TO TAF
  142. EQ BTR3 SET RETURN STATUS
  143.  
  144. BTRA CON 0 STORAGE FOR RETURN STATUS
  145. SPACE 4
  146. END
cdc/nos2.source/opl871/submt.txt ยท Last modified: 2023/08/05 17:24 by Site Administrator