Examples

All the following examples instruct LIB to:

Suppress the creation of an extended dictionary of cross-references.

Delete the module HEAP from the library.

Move the module STUFF from the library FIRST.LIB to an object file called STUFF.OBJ; the module STUFF is deleted from the library.

Copy the module MORE from the library to an object file called MORE.OBJ; the module MORE remains in the library.

Name the revised library SECOND.LIB. The new library contains all the modules in FIRST.LIB except STUFF and HEAP.

Leave the original library, FIRST.LIB, unchanged.

Create a cross-listing file called CROSSLST.

Command-Line Example

LIB FIRST /NOE -*STUFF *MORE &

—HEAP, CROSSLST, SECOND

LIB Prompt Example

Library Name: FIRST /NOE

Operations: -*STUFF *MORE &

Operations: -HEAP

List File: CROSSLST

Output file: SECOND

Response-File Example

FIRST /NOE

-*STUFF *MORE &

-HEAP

CROSSLST

SECOND