User Tools

Site Tools


cdc:nos2.source:nam5871:npnpidp

NPNPIDP

Table Of Contents

  • [00008] PRGM NPNPIDD
  • [00035] PROC OMSG
  • [00036] PROC OVLCALL
  • [00037] PROC XDUMPFL
  • [00038] PROC XTRACE

Source Code

NPNPIDP.txt
  1. *DECK NPNPIDP
  2. USETEXT NIPDEF
  3. USETEXT DRHDR
  4. USETEXT OVERLAY
  5. USETEXT PARAMP
  6. USETEXT PARAMS
  7. USETEXT SUPMSG
  8. PRGM NPNPIDD ;
  9. #
  10. *****
  11. * 1.PROC NAME AUTHOR DATE
  12. * NPNPIDD LIEM T NGUYEN 84/03/13
  13. *
  14. * 2.FUNCTIONAL DESCRIPTION:
  15. * PROCESS NPI/DD OR NPI/PP SUPERVISORY MESSAGE FROM ANOTHER HOST.
  16. *
  17. * 3.METHOD:
  18. * CALL XDUMPFL TO DUMP NIP-S FIELD LENGTH.
  19. * CALL OMSG TO ISSUE DAYFILE MESSAGE.
  20. * CALL ODAYFL TO DUMP CONTENTS OF WORKLIST.
  21. *
  22. * 4.ROUTNIE CALLED:
  23. * ODAYFL DUMP CONTENTS OF WORKLIST
  24. * OMSG ISSUE DAYFILE MESSAGE
  25. * OVLCALL LOAD AND EXECUTE OVERLAYS
  26. * XDUMPFL DUMP NIP-S FIELD LENGTH
  27. * XTRACE RECORD PROCEDURE CALL
  28. *
  29. * 5.DAYFILE MESSAGES:
  30. * "A - A NETWORK PROTOCOL VIOLATION"
  31. *
  32.  #
  33. XREF
  34. BEGIN
  35. PROC OMSG ;
  36. PROC OVLCALL; # LOAD AND EXECUTE OVERLAY #
  37. PROC XDUMPFL; # DUMP NIP-S FIELD LENGTH #
  38. PROC XTRACE ;
  39. LABEL RJMAIN ;
  40. END
  41.  
  42. ARRAY MSGNPI S(4) ;
  43. BEGIN
  44. ITEM MSG1 C (0,0,35) = ["NIP A-A NETWORK PROTOCOL VIOLATION"] ;
  45. ITEM MSG2 U (3,48,12) =[0] ;
  46. END
  47.  
  48. BEGIN
  49. CONTROL IFEQ DEBUG,1;
  50. XTRACE("NPIDP") ;
  51. CONTROL FI;
  52.  
  53. XDUMPFL; # DUMP NIP-S FIELD LENGTH #
  54. OMSG(MSGNPI,0) ;
  55.  
  56. PARAMS1 = PARAMP1; # ADDR OF NPI/DD/PP SUP MSG #
  57. P<DRHDRWD> = PARAMS1; # TEMPLATE FOR BUFFER #
  58. PARAMS2 = BLKBS[0]; # SIZE OF BUFFER #
  59. OVLNAME = ODAYFLP; # NAME OF OVERLAY TO LOAD #
  60. OVLCALL; # LOAD AND EXECUTE OVERLAY #
  61.  
  62. GOTO RJMAIN ;
  63. END
  64. TERM
  65.  
cdc/nos2.source/nam5871/npnpidp.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator