User Tools

Site Tools


cdc:nos2.source:opl871:begin

Table of Contents

BEGIN

Table Of Contents

  • [00004] BEGIN - TRANSFER PRIMARY COMMUNICATION BLOCK.
  • [00019] TRANSFER PRIMARY COMMUNICATION BLOCK.

Source Code

BEGIN.txt
  1. IDENT BEGIN
  2. ENTRY BEGIN
  3. SYSCOM B1
  4. TITLE BEGIN - TRANSFER PRIMARY COMMUNICATION BLOCK.
  5. *COMMENT BEGIN - TRANSFER PRIMARY C.B.
  6. COMMENT COPYRIGHT CONTROL DATA SYSTEMS INC. 1992.
  7. SPACE 4
  8. ***** BEGIN - TRANSFER PRIMARY COMMUNICATION BLOCK.
  9. *
  10. * W.E. MARTIN. 79/03/30.
  11. SPACE 4
  12. * COMMOM TEXT.
  13.  
  14.  
  15. *CALL COMCMAC
  16. *CALL COMKMAC
  17. *CALL COMSPRD
  18. BEGIN SPACE 4,30
  19. *** BEGIN - TRANSFER PRIMARY COMMUNICATION BLOCK.
  20. *
  21. * *BEGIN* ALLOWS A TASK TO SPECIFY THE FWA OF IT-S
  22. * COMMUNICATION BLOCK AREA AND REBY FREE THE RESTRICTION ON THE
  23. * THE IMPLEMENTATION LANGUAGE TO RESERVE THE FIRST WORD ADDRESS
  24. * OF THE LOAD FOR THE TRANSACTION EXECUTIVE. DUE TO THE EXTRA
  25. * OVERHEAD INCURRED WHEN THIS OPERATION IS EXECUTED, BEGIN
  26. * IS NOT SUGGESTED FOR GENERAL USE EXCEPT IN THOSE CASES
  27. * WHERE IT MUST BE USED TO ALLOW A PROGRAMMING LANGUAGE TO
  28. * INTERFACE TO THE TRANSACTION SUB-SYSTEM. ALSO, THE *BEGIN*
  29. * FUNCTION MUST BE ISSUED AFTER EACH *CALLRTN* IN ORDER
  30. * TO OBTAIN THE RESULTS OF THE CALLED TASK.
  31. *
  32. * CALL FORMAT -
  33. *
  34. * FORTRAN EXTENDED - CALL BEGIN ( ADDR )
  35. *
  36. * COBOL - ENTER BEGIN USING ADDR.
  37. *
  38. * WHERE - ADDR = FIRST WORD ARDDRESS OF AN ARRAY OR DATA ITEM
  39. * TO WHICH THE PRIMARY TERMINAL COMMUNICATION
  40. * BLOCK IS TO BE DELIVERED.
  41. *
  42. *
  43. * USES A - 1, 2, 6.
  44. * X - 0, 1, 2, 6.
  45. * B - 1.
  46. *
  47. * MACROS ARGERR, BEGIN.
  48.  
  49.  
  50. VFD 42/0LBEGIN,18/BEGIN
  51.  
  52. BEGIN SUBR ENTRY/EXIT
  53. SB1 1
  54. ZR X1,BGN1 IF NO ARGUMENTS - ABORT TASK
  55. SX1 X1
  56.  
  57. * ISSUE BEGIN REQUEST.
  58.  
  59. BEGIN X1
  60. EQ BEGINX RETURN
  61.  
  62. * PROCESS ARGUMENT ERROR.
  63.  
  64. BGN1 SA1 BEGIN READ CALLING ADDRESS
  65. MX0 30
  66. LX1 30
  67. SA2 X1-1 READ CALLING LINE NUMBER
  68. BX6 -X0*X2
  69. SA6 BGNA
  70. ARGERR A6 EXIT TO EXECUTIVE
  71.  
  72. BGNA BSS 1 STORAGE FOR ARGERR PARAMETER
  73. SPACE 4
  74. END
cdc/nos2.source/opl871/begin.txt ยท Last modified: 2023/08/05 17:24 by Site Administrator