Table of Contents

CALLTRN

Table Of Contents

  • [00004] CALLTRN - CALL TRANSACTION.
  • [00015] CALL TRANSACTION.

Source Code

CALLTRN.txt
  1. IDENT CALLTRN
  2. ENTRY CALLTRN
  3. SYSCOM B1
  4. TITLE CALLTRN - CALL TRANSACTION.
  5. *COMMENT CALLTRN - CALL TRANSACTION.
  6. COMMENT COPYRIGHT CONTROL DATA SYSTEMS INC. 1992.
  7. CALLTRN SPACE 4,10
  8. **** CALLTRN - CALL TRANSACTION.
  9. *
  10. * A. E. SCHIPPERS 80/05/20.
  11. *
  12. * CALLTRN IS AN INTERFACE ROUTINE WHICH WILL REQUEST
  13. * THE INITIATION OF A TRANSACTION UNIT.
  14. CALLTRN SPACE 4,20
  15. *** CALLTRN - CALL TRANSACTION.
  16. *
  17. * ENTRY (A1) = FWA OF PARAMETER LIST.
  18. * (X1) = 42/0,18/ADDRESS OF FIRST PARAMETER.
  19. *
  20. * EXIT TRANSACTION IS INITIATED.
  21. *
  22. * USES A - 2, 6.
  23. * X - 0, 1, 2, 6.
  24. * B - 1.
  25. *
  26. * CALLS ZFN.
  27. *
  28. * MACROS ARGERR, CALLTRN.
  29. *
  30. * NOTE *ITASK* IS THE ONLY TASK ALLOWED TO SCHEDULE
  31. * TRANSACTIONS.
  32. CALLTRN SPACE 4,10
  33. * COMMON DECKS CALLED.
  34.  
  35. *CALL COMKMAC
  36.  
  37.  
  38. VFD 42/0LCALLTRN,18/CALLTRN
  39.  
  40. CALLTRN SUBR ENTRY/EXIT
  41. SB1 1
  42. ZR X1,CTR1 IF NULL LIST ABORT
  43. SA2 X1 GET TASK NAME
  44. BX1 X2
  45. RJ ZFN ZERO FILE NAME
  46. BX6 X1 STORE TRANSACTION NAME
  47. SA6 CTRA
  48. SA2 A2+B1 CHECK IF MORE PARAMETERS
  49. NZ X2,CTR1 IF NOT END OF PARAMETER LIST
  50. CALLTRN CTRA ENTER REQUEST
  51. EQ CALLTRNX EXIT
  52.  
  53.  
  54. * PROCESS ARGUMENT ERROR BY ABORTING PROGRAM.
  55.  
  56. CTR1 SA1 CALLTRN GET CALLING ADDRESS
  57. MX0 -30
  58. LX1 29-59
  59. SA2 X1-1
  60. BX6 -X0*X2
  61. SA6 CTRA
  62. ARGERR A6 PROCESS ARGUMENT ERROR
  63.  
  64. CTRA BSSZ 2
  65.  
  66. *CALL COMKZFN
  67. END