User Tools

Site Tools


cdc:nos2.source:nam5871:dtsb_ns

DTSB$NS

Table Of Contents

  • [00002] PROC DTSB$NS
  • [00004] DTSB$NS - DUMP TSB TEXT.
  • [00008] DUMP TSB TEXT.

Source Code

DTSB$NS.txt
  1. *DECK DTSB$NS
  2. PROC DTSB$NS;
  3.  
  4. # TITLE DTSB$NS - DUMP TSB TEXT. #
  5.  
  6. BEGIN # DTSB$NS #
  7. #
  8. ** DTSB$NS - DUMP TSB TEXT.
  9. *
  10. * J.C. LEE 1981
  11. *
  12. * THIS SYMPL TEXT CONTAINS DEFS AND COMMON BLOCK
  13. * FOR DUMP TSB.
  14. *
  15. #
  16.  
  17. CONTROL STEXT;
  18.  
  19. DEF DTSB$IDENT # 10 #; # DUMP TSB IDENTIFIER #
  20. DEF L$DTSBHDR # 1 #; # DTSB HEADER SIZE #
  21. DEF L$DFET # 6 #; # NPU DUMP FILE FET SIZE #
  22. DEF L$DBUF # O"1001" #; # CIO BUFFER LENGTH #
  23. DEF L$DTSB # L$DTSBHDR + L$DFET + L$DBUF #; # DUMP TSB SIZE #
  24.  
  25. COMMON DTSB$COM;
  26. BEGIN # DTSB$COM #
  27.  
  28. BASED ARRAY DTSB$HDR [0:0] S(L$DTSBHDR);
  29. BEGIN
  30. ITEM DTSB$HDRWD U(00,00,60); # DTSB HEADER WORD #
  31. ITEM DTSB$ID U(00,00,06); # DTSB IDENTIFIER #
  32. ITEM DTSB$BS U(00,06,12); # DTSB SIZE #
  33. ITEM DTSB$PDATE U(00,24,36); # PACKED BINARY DUMP DATE/TIME #
  34. ITEM DTSB$DDATE U(00,24,18); # PACKED BINARY DUMP DATE #
  35. ITEM DTSB$DTIME U(00,42,18); # PACKED BINARY DUMP TIME #
  36. END
  37.  
  38. BASED ARRAY DTSB$FET [0:0] S(L$DFET);
  39. BEGIN # FET FOR SEQUENTIAL FILE NDF #
  40. ITEM DFET$LFN C(00,00,07); # LOGICAL FILE NAME #
  41. ITEM DFET$CODE U(00,51,09); # REQUEST/RETURN CODE #
  42. ITEM DFET$FM B(00,58,01); # ?ILE MODE BIT, SET IF BINARY #
  43. ITEM DFET$COMP B(00,59,01); # COMPLETION BIT #
  44. ITEM DFET$DT U(01,00,12); # DEVICE TYPE #
  45. ITEM DFET$RAN B(01,12,01); # RANDOM ACCESS BIT #
  46. ITEM DFET$UP B(01,14,01); # USER PROCESSING BIT #
  47. ITEM DFET$EP B(01,15,01); # ERROR PROCESSING BIT #
  48. ITEM DFET$LEN U(01,36,06); # FET LENGTH - 5 #
  49. ITEM DFET$FIRST I(01,42,18); # FIRST PTR #
  50. ITEM DFET$IN I(02,42,18); # IN PTR #
  51. ITEM DFET$OUT I(03,42,18); # OUT PTR #
  52. ITEM DFET$LIMIT I(04,42,18); # LIMIT PTR #
  53. END
  54.  
  55. BASED ARRAY DTSB$BUF [1:L$DBUF] S(1);
  56. BEGIN # CIO BUFFER FOR NDF I/O #
  57. ITEM DTSB$BUFWD U(00,00,60); # CIO BUFFER WORD #
  58. END
  59.  
  60. END # DTSB$COM #
  61.  
  62. END # DTSB$NS #
  63. TERM
cdc/nos2.source/nam5871/dtsb_ns.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator