User Tools

Site Tools


cdc:nos2.source:nam5871:nicteax

NICTEAX

Table Of Contents

  • [00009] PRGM NICTEAX
  • [00057] PROC NFOB
  • [00058] PROC XTRACE

Source Code

NICTEAX.txt
  1. *DECK NICTEAX
  2. USETEXT NIPDEF
  3. USETEXT AHEADER
  4. USETEXT NHEADER
  5. USETEXT LLCB
  6. USETEXT PARAMS
  7. USETEXT SUPMSG
  8.  
  9. PRGM NICTEAX; # SEND ICN/TE/A RC=9-16 TO CCP #
  10. STARTIMS;
  11. #
  12. *1DC NICTEAX
  13. *
  14. * 1. PROC NAME AUTHOR DATE
  15. * NICTEAX C. BITTNER 81/07/24
  16. *
  17. * 2. FUNCTIONAL DESCRIPTION
  18. * SEND ICN/TE/A RC=9-16 TO CCP
  19. *
  20. * 3. METHOD USED
  21. * SET TEXT LENGTH IN APPLICATION BLOCK HEADER
  22. * SET UP TEXT FOR ICN/TE/A USING BUFFER FROM ICN/TE/R
  23. * LINK MESSAGE TO PIP OUTBOUND CHAIN
  24. *
  25. * 4. ENTRY PARAMETERS
  26. * PARAMS1 - ADDRESS OF SM BUFFER (ICN/TE/R)
  27. * PARAMS2 - LLCB ADDRESS
  28. * PARAMS3 - REASON CODE (RC=9-16)
  29. *
  30. * 5. EXIT PARAMETERS
  31. * NONE
  32. *
  33. * 6. COMDECKS CALLED AND SYMPL TEXTS USED
  34. * NIPDEF AHEADER
  35. * LLCB OSSIZE
  36. * PARAMS SUPMSG
  37. *
  38. * 7. ROUTINES CALLED
  39. * NFOB - LINK BUFFER TO PIP OUTBOUND CHAIN
  40. * XTRACE - TRACE PROCEDURE CALL
  41. *
  42. * 8. DAYFILE MESSAGES AND OTHER IMPORTANT INFORMATION
  43. * THIS PROGRAM IS A SECONDARY OVERLAY LOADED BY
  44. * SUBROUTINE OVLCALL.
  45. * THIS PROGRAM IS CALLED BY NCSTTP.
  46. * W A R N I N G - THIS PROGRAM CANNOT EXCEED THE SECONDARY
  47. *CALL OSSIZE
  48. *
  49.  #
  50. STOPIMS;
  51.  
  52. #
  53.   EXTERNAL VARIABLES
  54. #
  55. XREF
  56. BEGIN
  57. PROC NFOB; # LINK BUFFER TO PIP OUTBOUND CHAIN #
  58. PROC XTRACE; # TRACE PROCEDURE CALL #
  59. LABEL RJMAIN; # RETURN ADDRESS IN OVLCALL #
  60. END
  61.  
  62. #
  63.   INTERNAL VARIABLES
  64. #
  65. ITEM BUFADDR; # SM BUFFER #
  66.  
  67.  
  68. #**********************************************************************#
  69.  
  70. BEGIN
  71.  
  72. CONTROL IFEQ DEBUG,1;
  73. XTRACE("ICTEX") ;
  74. CONTROL FI;
  75.  
  76. BUFADDR = PARAMS1; # SM BUFFER ICN/TE/R #
  77. P<AHEADER> = BUFADDR + BLKHSIZE; # ADDRESS OF ABH #
  78. ABHABT[0] = APPCMD; # BLOCK TYPE #
  79. ABHACT[0] = CT8ASCII; # CHARACTER TYPE #
  80. ABHTLC[0] = LICNTEA; # TEXT LENGTH #
  81.  
  82. # SET UP ICN/TE/A MESSAGE #
  83. P<SUPMSG> = BUFADDR + BLKHSIZE + ABHSIZE; # ADDR OF ICN/TE/R #
  84. P<SMNIP> = P<SUPMSG>;
  85. EB[0] = TRUE; # SET ERROR RESPONSE BIT #
  86. ICNR36[0] = 0; # ZERO OUT RIGHTMOST 36 BITS #
  87. ICNRTE[0] = PARAMS3; # REASON CODE #
  88. P<LLCB> = PARAMS2;
  89.  
  90. # LINK MESSAGE TO PIP OUTBOUND CHAIN #
  91. NFOB(BUFADDR,P<LLCB>);
  92. GOTO RJMAIN; # RETURN TO CALLING PROGRAM #
  93. END
  94. TERM
cdc/nos2.source/nam5871/nicteax.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator