VMS Help  —  LIBRARY  /CREATE
    Requests the DCL command LIBRARY to create a new library. When
    you specify /CREATE, you can optionally specify a file or a list
    of files that contains modules to be placed in the library.

    On OpenVMS VAX systems, the /CREATE qualifier creates a VAX
    library by default when used to create object and shareable
    image libraries. On OpenVMS Alpha systems, the /CREATE qualifier
    createsan Alpha library by default when used to create object
    and shareable image libraries. (Note that you cannot have
    Alpha modules and VAX modules in the same library.)  On OpenVMS
    I64 systems, the /CREATE qualifier creates an ELF library
    when used to create object and shareable image libraries.

    Format

      /CREATE[=(option[,...])]

 option

    An option that overrides the system defaults to control the size
    or format of the library. You can specify one or more of the
    following options: BLOCKS:n, CASE_SENSITIVE:[YES/NO], GLOBALS:n,
    HISTORY:n, KEEP, KEYSIZE:n, MODULES:n, or VERSION:n.

1  –  Examples

    1.$ LIBRARY/CREATE TESTLIB ERRMSG,STARTUP

      This LIBRARY command creates an object module library named
      TESTLIB.OLB and places the files ERRMSG.OBJ and STARTUP.OBJ as
      modules in the library.

    2.$ LIBRARY/MACRO/CREATE=(BLOCKS:40,MODULES:100) MYMAC TEMP
      $ MACRO MYMAC/LIBRARY,CYGNUS/OBJECT

      This LIBRARY command creates a macro library named MYMAC.MLB
      from the macros in the file TEMP.MAR. The new library has room
      for 100 modules in a 40-block file. If the input file contains
      multiple macros, each macro is entered in the new library.
Close Help