User Tools

Site Tools


cdc:nos2.source:nam5871:his_ns

HIS$NS

Table Of Contents

  • [00002] PROC HIS$NS
  • [00008] HISTORY BUFFER FORMAT.

Source Code

HIS$NS.txt
  1. *DECK HIS$NS
  2. PROC HIS$NS; # HISTORY BUFFER FORMAT #
  3.  
  4. # TITLE HIS$NS - HISTORY BUFFER FORMAT. #
  5.  
  6. BEGIN # HIS$NS #
  7. #
  8. ** HIS$NS - HISTORY BUFFER FORMAT.
  9. *
  10. * J.C. LEE 1981
  11. *
  12. * THIS SYMPL TEXT CONTAINS THE HISTORY BUFFER DEF
  13. * AND FORMAT.
  14. *
  15. #
  16.  
  17. CONTROL STEXT;
  18.  
  19. DEF HIS$IDENT # 2 #; # HISTORY BUFFER IDENTIFIER #
  20. DEF HIS$HDRL # 12 #; # HISTORY BUFFER HEADER LENGTH #
  21. DEF HIS$MAX$LN # 124 #; # MAXIMUM NO OF LINES ALLOWED #
  22. DEF HIS$HDRWDL # 1 #; # BUFFER HEADER WORD LENGTH #
  23. DEF HIS$LN1TL # 3 #; # HISTORY LINE 1 TEXT LENGTH #
  24. DEF HIS$LN2TL # 6 #; # HISTORY LINE 2 TEXT LENGTH #
  25.  
  26. BASED ARRAY HIS$BUFFER [0:0] P(HIS$HDRWDL);
  27. BEGIN # HISTORY BUFFER HEADER FORMAT #
  28. ITEM HIS$HDRWD U(00,00,60); # HEADER WORD #
  29. ITEM HIS$ID U(00,00,06); # HISTORY BUFFER IDENTIFIER #
  30. ITEM HIS$WC U(00,06,12); # CURRENT WORD COUNT #
  31. ITEM HIS$LC U(00,18,12); # CURRENT LINE COUNT #
  32. ITEM HIS$LN1HDR U(01,00,60); # HISTORY LINE 1 HEADER #
  33. ITEM HIS$LN1TXT C(02,00,28); # HISTORY LINE 1 TEXT #
  34. ITEM HIS$LN1END U(04,48,12); # LINE TERMINATOR #
  35. ITEM HIS$LN2HDR U(05,00,60); # HISTORY LINE 2 HEADER #
  36. ITEM HIS$LN2TXT C(06,00,58); # HISTORY LINE 2 TEXT #
  37. ITEM HIS$LN2END U(11,48,12); # LINE TERMINATOR #
  38. END
  39.  
  40. END # HIS$NS #
  41. TERM
cdc/nos2.source/nam5871/his_ns.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator