User Tools

Site Tools


cdc:nos2.source:nam5871:upacnb3

UPACNB3

Table Of Contents

  • [00008] PROC UPACNB3
  • [00050] PROC XTRACE

Source Code

UPACNB3.txt
  1. *DECK UPACNB3
  2. USETEXT ACNB
  3. USETEXT NIPDEF
  4. USETEXT PARAMS
  5. USETEXT SUPMSG
  6. USETEXT NCNB
  7. USETEXT DEQCOM
  8. PROC UPACNB3;
  9. STARTIMS;
  10. #
  11. *1DC UPACNB3
  12. * 1. PROC NAME AUTHOR DATE
  13. * UPACNB3 C. BITTNER 81/12/01
  14. *
  15. * 2. FUNCTIONAL DESCRIPTION
  16. * UPDATE ACNB WITH INFORMATION FROM CON/REQ/N
  17. *
  18. * 3. METHOD
  19. * BASE CON/REQ/N
  20. * UPDATE ACNB FROM CON/REQ/N TEXT
  21. *
  22. * 4. ENTRY PARAMETERS
  23. * PARAMS1 - ACNB ADDRESS
  24. * PARAMS2 - SM BUFFER OF CON/REQ/N
  25. *
  26. * 5. EXIT PARAMETERS
  27. * PARAMS3 - REASON CODE FOR BAD INPUT CHARACTER TYPE
  28. *
  29. * 6. COMDECKS CALLED AND SYMPL TEXTS USED
  30. * ACNB
  31. * NIPDEF
  32. * PARAMS
  33. * SUPMSG
  34. * NCNB
  35. *
  36. * 7. ROUTINES AND OVERLAYS CALLED
  37. * XTRACE - RECORD PROCEDURE CALL
  38. *
  39. * 8. DAYFILE MESSAGES AND OTHER IMPORTANT INFORMATION
  40. * THIS PROCEDURE IS CALLED BY SENDACC VIA HCSTTP.
  41. *
  42.  #
  43. STOPIMS;
  44.  
  45. #
  46.   EXTERNAL VARIABLES
  47. #
  48. XREF
  49. BEGIN
  50. PROC XTRACE; # RECORD PROCEDURE CALL #
  51. END
  52.  
  53. #
  54.   INTERNAL VARIABLES
  55. #
  56. ITEM BUFADDR; # SM BUFFER ADDRESS #
  57.  
  58. #**********************************************************************#
  59.  
  60. BEGIN
  61.  
  62. CONTROL IFEQ DEBUG,1;
  63. XTRACE("UPAC3") ;
  64. CONTROL FI;
  65.  
  66. BUFADDR = PARAMS2; # SM BUFFER #
  67. P<ACNB> = PARAMS1;
  68. P<SUPMSG> = BUFADDR + BLKHSIZE + ABHSIZE; # FWA OF CON/REQ/N #
  69. P<NCNB> = ACNBNCNB[0]; # NCNB ADDRESS #
  70. IF P<NCNB> NQ 0 AND
  71. (CONACT[0] LS CT60TRANS
  72. OR CONACT[0] GQ ACTMAX
  73. OR (NCNBDT[0] EQ DT$INTE AND
  74. NOT (CONACT[0] EQ CT8ASCII OR CONACT[0] EQ CT12ASCII))
  75. OR (NCNBDT[0] EQ DT$INTA AND
  76. CONACT[0] EQ CT6DISPLAY)
  77. OR (NCNBID[0] EQ NCNBIDVALUE AND
  78. NOT NCNBAA[0] AND CONACT[0] EQ CT60TRANS))
  79. THEN
  80. #
  81.   DT = 6 INTER HOST ACT MUST BE 2 OR 3
  82.   T-A CONNECTION ACT MUST BE 2,3 OR 4
  83.   #
  84. BEGIN # BAD ACT #
  85. PARAMS3 = RCB"CNB"; # REASON FOR BREAKING CONNECTION #
  86. RETURN ;
  87. END
  88. ELSE
  89. BEGIN
  90. ACNBICT[0] = CONACT[0]; # UPDATE APPL INPUT CHAR TYPE #
  91. ACNBALN[0] = CONALN[0]; # UPDATE APPL LIST NUMBER #
  92. ACNBNXP[0] = CONNXP[0]; # NO TRANSP INPUT ALLOWED FLAG #
  93. ACNBSCT[0] = CONSCT[0]; # UPDATE SCT BIT #
  94. RETURN ;
  95. END
  96. END
  97. TERM
cdc/nos2.source/nam5871/upacnb3.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator