User Tools

Site Tools


ibm:vm370-lib:macro:fstb.macro_src

FSTB Source

References

Source Listing

FSTB.MACRO.txt
  1. MACRO 00001000
  2. FSTB 00002000
  3. PUSH PRINT 00002200
  4. AIF ('&SYSPARM' NE 'SUP').ACC01 00002400
  5. PRINT OFF,NOGEN 00002600
  6. .ACC01 ANOP 00002800
  7. * 00003000
  8. * FILE STATUS TABLE (FILE DIRECTORY) BLOCK 00004000
  9. * 00005000
  10. FSTSECT DSECT 00006000
  11. FSTN DS 1D FILE NAME - 0 00007000
  12. FSTT DS 1D FILE TYPE - 8 00008000
  13. FSTD DS 1F DATE/TIME LAST WRITTEN - 16 00009000
  14. FSTWP DS 1H WRITE POINTER (ITEM NO.) - 20 00010000
  15. FSTRP DS 1H READ POINTER (ITEM NO.) - 22 00011000
  16. FSTM DS 1H FILE MODE - 24 00012000
  17. FSTIC DS 1H ITEM COUNT - 26 00013000
  18. FSTFCL DS 1H FIRST CHAIN LINK - 28 00014000
  19. FSTFV DS 1C FIXED(F)/VARIABLE(V) FLAG - 30 00015000
  20. FSTFB DS 1C FLAG BYTE (IF USED) - 31 00016000
  21. FSTIL DS 1F (MAXIMUM) ITEM LENGTH - 32 00017000
  22. FSTDBC DS 1H 800-BYTE DATA BLOCK COUNT - 36 00018000
  23. FSTYR DS 1H YEAR - 38 00019000
  24. FSTL EQU *-FSTSECT 00020000
  25. * 00021000
  26. * "FSTFB" FLAG-BYTE DEFINITIONS 00022000
  27. * 00023000
  28. * (APPLICABLE ONLY TO "STATEFST" COPY OF FST-ENTRY 00024000
  29. * AFTER SUCCESSFUL "STATE" OR "STATEW" CALL.) 00025000
  30. * 00026000
  31. FSTFRO EQU X'00' READ-ONLY DISK 00027000
  32. FSTFROX EQU X'40' READ-ONLY EXTENSION OF READ-ONLY DISK 00028000
  33. FSTFRW EQU X'80' READ-WRITE DISK 00029000
  34. FSTFRWX EQU X'C0' READ-ONLY EXTENSION OF READ-WRITE DISK 00030000
  35. * 00031000
  36. FSTFACT EQU X'07' FILE "ACTIVE" - ONE OF THE FOLLOWING: 00032000
  37. FSTFAR EQU X'04' FILE ACTIVE FOR READING 00033000
  38. FSTFAW EQU X'02' FILE ACTIVE FOR WRITING 00034000
  39. FSTFAP EQU X'01' FILE ACTIVE FROM A "POINT" 00035000
  40. * 00036000
  41. * APPLICABLE TO RDBUF 00036100
  42. FSTITAV EQU X'40' ITEM AVAILABLE 00036200
  43. FSTRECAV EQU X'01' PREVIOUS RECORD NULL 00036300
  44. FSTNOIT EQU X'00' NULL RECORD 00036400
  45. * 00037000
  46. * FST HYPER-BLOCK PARAMETERS 00038000
  47. * 00039000
  48. FSTFWDP EQU 800 FORWARD POINTER (TO NEXT HYPERBLOCK IN CORE) 00040000
  49. FSTBKWD EQU 804 BACKWARD POINTER (TO PREVIOUS HYPERBLOCK IN CORE) 00041000
  50. * 00042000
  51. EJECT 00043000
  52. POP PRINT 00043100
  53. MEND 00044000
ibm/vm370-lib/macro/fstb.macro_src.txt ยท Last modified: 2023/08/06 13:38 by Site Administrator