User Tools

Site Tools


ibm:vm370-lib:macro:aft.macro_src

AFT Source

References

Source Listing

AFT.MACRO.txt
  1. MACRO 00001000
  2. AFT 00002000
  3. PUSH PRINT 00002200
  4. AIF ('&SYSPARM' NE 'SUP').ACC01 00002400
  5. PRINT OFF,NOGEN 00002600
  6. .ACC01 ANOP 00002800
  7. * 00003000
  8. * ACTIVE FILE TABLE BLOCK 00004000
  9. * 00005000
  10. AFTSECT DSECT 00006000
  11. AFTCLD DS H DISK ADDRESS OF CURRENT CHAIN LINK - 0 00007000
  12. AFTCLN DS H NUMBER OF CURRENT CHAIN LINK - 2 00008000
  13. AFTCLA DS F CORE ADDRESS OF CHAIN LINK BUFFER - 4 00009000
  14. AFTDBD DS H DISK ADDRESS OF CURRENT DATA BLOCK - 8 00010000
  15. AFTDBN DS H NUMBER OF CURRENT DATA BLOCK - 10 00011000
  16. AFTDBA DS F CORE ADDRESS OF CURRENT DATA BLOCK - 12 00012000
  17. AFTCLB DS XL80 CHAIN LINK BUFFER FROM 1ST CHAIN LINK - 16 00013000
  18. AFTFLG DS X FLAG BYTE - 96 00014000
  19. AFTPFST DS 3X POINTER TO (STATIC) FST-ENTRY - 97 00015000
  20. AFTIN DS H CURRENT ITEM NUMBER - 100 00016000
  21. AFTID DS H DISPLACEMENT OF CURRENT ITEM IN DATA BLK - 102 00017000
  22. AFTFCLA DS F CORE ADDRESS OF FIRST CHAIN LINK 00018000
  23. AFTFCLX DS H DISK ADDRESS OF SWAPPED FCL 00019000
  24. AFTCLDX DS H DISK ADDRESS OF SWAPPED CHAIN LINK 00020000
  25. AFTFLG2 DS X SECOND FLAG-BYTE 00021000
  26. DS 1X -RESERVED FOR FUTURE USE- 00022100
  27. AFTOCLDX DS 1H OLD VALUE (IF ANY) OF AFTCLDX 00022200
  28. * 00023000
  29. * FLAG BYTE (AFTFLG) DEFINITIONS 00024000
  30. * 00025000
  31. AFTUSED EQU X'80' ACTIVE FILE TABLE BLOCK IN USE 00026000
  32. *** EQU X'40' 00027000
  33. AFTICF EQU X'20' FIRST CHAIN LINK IN CORE FLAG 00028000
  34. AFTFBA EQU X'10' FULL BUFFER ASSIGNED 00029000
  35. AFTDBF EQU X'08' DATA BLOCK IN CORE FLAG 00030000
  36. AFTWRT EQU X'04' ACTIVE WRITE 00031000
  37. AFTRD EQU X'02' ACTIVE READ 00032000
  38. AFTFULD EQU X'01' FULL-DISK SPECIAL CASE 00033000
  39. * 00034000
  40. * SECOND FLAG-BYTE (AFTFLG2) DEFINITIONS 00035000
  41. * 00036000
  42. AFTNEW EQU X'80' BRAND NEW FILE 00037000
  43. AFTOLDCL EQU X'40' CURRENT CHAIN LINK EXISTED PREVIOUSLY 00038000
  44. AFTCLX EQU X'20' ALTERNATE CHAIN-LINK ASSIGNED/IMPLIED 00039000
  45. SAMELEN EQU X'01' FORCE SAME LENGTH UPDATE 00039500
  46. * 00040000
  47. * COPY OF FST BLOCK IMBEDDED IN AFT BLOCK 00041000
  48. * 00042000
  49. AFTFST DS 0D - 120 00043000
  50. AFTN DS D FILE NAME 00044000
  51. AFTT DS D FILE TYPE 00045000
  52. AFTD DS F DATE/TIME LAST WRITTEN 00046000
  53. AFTWP DS H WRITE POINTER (ITEM NO.) 00047000
  54. AFTRP DS H READ POINTER (ITEM NO.) 00048000
  55. AFTM DS H FILE MODE 00049000
  56. AFTIC DS H ITEM COUNT 00050000
  57. AFTFCL DS H FIRST CHAIN LINK 00051000
  58. AFTFV DS C FIXED(F)/VARIABLE(V) FLAG 00052000
  59. AFTFB DS X FST FLAG BYTE 00053000
  60. AFTIL DS F (MAXIMUM) ITEM LENGTH 00054000
  61. AFTDBC DS H 800-BYTE DATA BLOCK COUNT 00055000
  62. AFTYR DS H YEAR 00056000
  63. AFTADT DS F POINTER TO ACTIVE DISK TABLE - 160 00057000
  64. AFTPTR DS F POINTER TO NEXT AFT BLOCK IN CHAIN - 164 00058000
  65. * 00059000
  66. AFTFSF EQU X'40' BIT IN AFTPTR INDICATES IN FREE STORAGE 00060000
  67. * 00061000
  68. DS 0D END OF DSECT 00062000
  69. AFTLB EQU *-AFTSECT LENGTH OF AFT BLOCK IN BYTES 00063000
  70. AFTLD EQU AFTLB/8 LENGTH OF AFT BLOCK IN DOUBLE WORDS 00064000
  71. POP PRINT 00064100
  72. MEND 00065000
ibm/vm370-lib/macro/aft.macro_src.txt ยท Last modified: 2023/08/06 13:37 by Site Administrator