Examining the Contents of a TXTLIB

The MAP function of the TXTLIB command lists information about the members of a TXTLIB. This information includes:
  • Names of the members of the TXTLIB
  • Location of the members in the TXTLIB
  • Number of entries.
You can obtain this information as a:
  • File on your A-disk (the DISK option)

    The DISK option creates a file with the file type MAP. The file name is the same as the TXTLIB being mapped. If a MAP file already exists for the specified TXTLIB, it is erased and a new MAP file is created.

  • Spooled printer file (the PRINT option)
  • Display on your terminal (the TERM option).
Example: To display the information about the members in TESTLIB TXTLIB created earlier, enter the following command:
TXTLIB MAP TESTLIB (TERM
If you created TESTLIB TXTLIB without the FILENAME option, the following is displayed:
  ENTRY          INDEX
  TEST1              2
  TEST2             39
  TEST3             76
             3 ENTRIES IN LIBRARY
TEST1, TEST2, and TEST3 are entry point names of the text files.