LBR$Put_Module

LBR ››
Parent Previous Next

LBR$Put_Module

Create new library module


LBR$Put_Module creates a new module in the library or overwrites an existing one with the same name.


Format:

LBR_Put_Module context name module


Returns:

Returns a condition code.


Arguments:

context

The context value returned by LBR$INI_CONTROL that indicates the library to modify.


name

The address of a TSRB structure which points to the name of the module to write. This must not be null and must be a valid UOS filename (without wildcards).


module

The address of a TSRB structure which points to the data to be written to the module.


Description

LBR_Put_Module writes a memory image of a module to the library.


Condition Codes Returned:

Code

Meaning

LBR_ILLCTL

Specified library control index is not valid.

LBR_LIBNOTOPN

Specified library is not open.

LBR_INVNAME

The name is null or does not conform to a valid UOS filename. SS_NORMAL Normal completion.