User Tools

Site Tools


cdc:nos2.source:nam5871:kdisrc

KDISRC

Table Of Contents

  • [00007] PRGM KDISRC
  • [00016] PROC XTRACE

Source Code

KDISRC.txt
  1. *DECK KDISRC
  2. USETEXT NIPDEF
  3. USETEXT KDIS
  4. USETEXT KINITBF
  5. USETEXT PARAMS
  6.  
  7. PRGM KDISRC; # ISSUE K DISPLAY ERROR DIAGNOSTIC #
  8.  
  9. STARTIMS;
  10. STOPIMS;
  11. #
  12.   EXTERNAL REFERENCES
  13. #
  14. XREF
  15. BEGIN
  16. PROC XTRACE; # TRACE ROUTINE CALL #
  17. LABEL RJMAIN;
  18. END
  19. #
  20.   LOCAL DEFINITIONS
  21. #
  22. DEF MAX$KERR # 12 #; # MAXIMUM K DISPLAY ERROR DIAGNOSTCS #
  23. #
  24.   LOCAL VARIABLES
  25. #
  26. ARRAY KERR$MSG [1:MAX$KERR] S(KERRL);
  27. BEGIN
  28. ITEM KERR$TEXT C(00,00,48) = [ # ERROR TEXT #
  29. "NO APPLICATION ALERT PENDING", # 1 #
  30. "APPLICATION NOT SUPPORTING NAM K DISPLAY", # 2 #
  31. "APPLICATION UNKNOWN", # 3 #
  32. "UNRECOGNIZED COMMAND", # 4 #
  33. "APPLICATION NAME MUST BE SPECIFIED", # 5 #
  34. "ALLOW FL AND DU COMMAND ONLY", # 6 #
  35. "ILLEGAL FL VALUE", # 7 #
  36. "ILLEGAL DESTINATION NODE NUMBER", # 8 #
  37. "DESTINATION HOST IN BUFFER REGULATION 0", # 9 #
  38. "NO H-H LOGICAL LINK TO DESTINATION", # 10#
  39. "PIP TRACE OPTION NOT AVAILABLE", # 11#
  40. "UNKNOWN HOST NODE", # 12#
  41. ];
  42. ITEM KERR$TEND U(04,48,12) = [0];
  43. END
  44.  
  45. CONTROL EJECT;
  46.  
  47. BEGIN # KDISRC #
  48.  
  49. CONTROL IFEQ DEBUG,1;
  50. XTRACE("KDSRC"); # TRACE CALL #
  51. CONTROL FI;
  52.  
  53. P<KINITBF> = KDBP[0]+BLKHSIZE+KHDRSIZE;
  54. KERROR[KLSIZE-KERRL-2] = KERR$TEXT[PARAMS1];
  55. KREADY[KLSIZE-2] = "READY..";
  56.  
  57. GOTO RJMAIN;
  58. END # KDISRC #
  59. TERM
cdc/nos2.source/nam5871/kdisrc.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator