User Tools

Site Tools


cdc:nos2.source:nam5871:cstdnq

CSTDNQ

Table Of Contents

  • [00007] PROC CSTDNQ
  • [00008] CSTDNQ - DISPATCH NCF DATA QUEUE.
  • [00012] DISPATCH NCF DATA QUEUE.
  • [00035] PROC CSTSCT
  • [00036] PROC CSTRCT

Source Code

CSTDNQ.txt
  1. *DECK CSTDNQ
  2. USETEXT TEXTCS
  3. USETEXT TXTCTCS
  4. USETEXT TXTSMCS
  5. USETEXT TXTAPSS
  6. USETEXT TXTSUSS
  7. PROC CSTDNQ;
  8. # TITLE CSTDNQ - DISPATCH NCF DATA QUEUE. #
  9.  
  10. BEGIN # CSTDNQ #
  11. #
  12. ** CSTDNQ - DISPATCH NCF DATA QUEUE.
  13. *
  14. * L. T. NGUYEN 84/12/19.
  15. *
  16. * CSTDNQ SELECTS WHETHER TO SET OR RESET TERMINAL CHARACTERISTICS
  17. * ACCORDING TO SM RECEIVED FROM CCP (CNF/TE/R OR CNF/RC)
  18. * IT CALLS CSTSCT FOR SET AND CSTRST TO RESET.
  19. *
  20. * PROC CSTDNQ
  21. *
  22. * ENTRY THE NCF DATA QUEUE CONTAINS ONE OR MORE COMPLETE ENTRIES,
  23. * WHICH MAY BE FOLLOWED BY AN INCOMPLETE ENTRY.
  24. *
  25. * EXIT ALL COMPLETED NDQ ENTRIES ARE PROCESSED AND DELETED.
  26. *
  27. * ALL APPROPRIATE RESPONSES ( NORMAL OR ABNORMAL) ARE SENT.
  28. #
  29.  
  30. #
  31. **** PROC CSTDNQ - XREF LIST.
  32. #
  33. XREF
  34. BEGIN
  35. PROC CSTSCT;
  36. PROC CSTRCT ;
  37. END
  38. #
  39. ****
  40. #
  41.  
  42.  
  43. ITEM I ; #LOOP INDUCTION VARIABLES #
  44.  
  45.  
  46. FOR I=0 WHILE NDQL NQ 0
  47. AND NDQ$CFLAG[0]
  48. DO # LOOP UNTIL NDQ EMPTY OR DOWN TO INC NTRY#
  49. BEGIN
  50. NDQ$WORD[NDQL] = 1; # INSURE CORRECT LOOP TERMINATION #
  51.  
  52. IF NDQ$PFSF[2] EQ CNFTE
  53. THEN
  54. CSTSCT ; # CONFIGUE THE TERMINAL #
  55. ELSE
  56. CSTRCT ; # RESET CHARACTERISTICS OF TERMINAL #
  57.  
  58. END
  59.  
  60.  
  61. END # CSTDNQ #
  62. TERM
cdc/nos2.source/nam5871/cstdnq.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator