The LIB command analyzes and prints library information.
Syntax
── LIB ─┬─ AT ──<simple address>─┬─────────────────────────────────────┤ ├─ VIA ──<ASD number>────┤ ├─ MAP ─┬────────────────┤ │ └─<number>───────┤ └─ SL ───────────────────┘
Explanation
The following text describes the meaning of each construct. Refer to “Basic Constructs” earlier in this section for information about the <simple address>, VIA <ASD number>, and the <number> constructs.
LIB AT <simple address>
LIB VIA <ASD number>
Analyze the contents of the indicated location of memory as a library structure.
LIB MAP
Displays the contents of the library map. Empty slots in the map are not displayed.
LIB MAP <number>
Displays the contents of a linked list chain in the library map, starting at the specified index number.
LIB SL
Displays the system library function definitions.
Example 1
The following shows an example of the response to the LIB VIA <ASD number> command.
INPUT: LIB VIA 1746D ---- Header ---- STATUS = 840000 030000, Server Library level = 3, linked, last locked by stack 0ED3. Structure is Active Import Lib @ ASD 009F35 of stack 0ED3; SIRW: Offset=002D (0016+0017) in Stack 0ED3. ---- Useinfo ---- Linked to: Active Export Lib @ ASD 0067E5 of stack 00D4. ---- Areas ---- Free @ 38 for 10, Useinfo @ 36 for 2, Stackref @ 6 for 5, Imports @ 11 for 3, Exports @ 0 for 0, Types @ 14 for 6, Names @ 20 for 5, Attribs @ 25 for 11 ---- Attributes ---- LIBVALUE = 800000 000001 (1), INTNAME = GENERALSUPPORT, LIBACCESS = BYFUNCTION. ---- Import Objects ---- ([V] = by Value, [R] = by Reference, [N] = by Name) DCSYSTEMTABLES is a REAL FUNCTION (2 PARAMETERS); INTEGER[V]; REAL ARRAY[R]; index = 12, object @ (*,0019).
Example 2
The following shows an example of the response to the LIB MAP command.
INPUT: LIB MAP 6 MAP[6] = STK 045, HDR 0017, NEXT = 5 MAP[5] = STK 044, HDR 0019, NEXT = 4 MAP[4] = STK 03F, HDR 001B, NEXT = 3 MAP[3] = STK 03E, HDR 001D, NEXT = 2 MAP[2] = STK 03A, HDR 0020, NEXT = 1 MAP[1] = STK 036, HDR 0024
Example 3
The following shows an example of the response to the LIB SL command.
INPUT: LIB SL SL ADMINCENTER = *SYSTEM/NXSERVICES/ADMINCENTER ON DISK LINKCLASS 1, TRUSTED, HDR 0031 SL ARCHIVESUPPORT = *SYSTEM/ARCHIVESUPPORT ON DISK SL ATTSUPPORT = *SYSTEM/ATTSUPPORT ON DISK HDR 002F SL CCFSUPPORT = *SYSTEM/COMS/CCF ON DISK LINKCLASS 1, TRUSTED, HDR 000A SL LPPSUPPORT = *SYSTEM/LPPSUPPORT ON DISK ONLY 1, LINKCLASS 1, HDR 0019 SL MAKEUSERSUPPORT = *SYSTEM/MAKEUSER ON DISK SL MARCSUPPORT = *SYSTEM/MARC/COMMANDER ON DISK LINKCLASS 1, TRUSTED, HDR 001C SL MCPSUPPORT = ">> CURRENT MCP <<" MCPLIB, HDR 0063 SL MESSAGEFORMATTER = *SYSTEM/MESSAGE/FORMATTER ON DISK HDR 003A SL MESSAGESUPPORT = *SYSTEM/MESSAGESUPPORT ON DISK HDR 004A SL NAMEDPIPEPSH = *SYSTEM/COMS/PCM/PIPES ON DISK HDR 001A