Library /sys$common/syshlp/helplib.hlb  —  LBR Routines, LBR$PUT_END
    The LBR$PUT_END routine marks the end of a sequence of records
    written to a library by the LBR$PUT_RECORD routine.

    Format

      LBR$PUT_END  library_index

1  –  Returns

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       write only
    mechanism:    by value

    Longword condition value. Most utility routines return a
    condition value in R0. Condition values that this routine can
    return are listed under Condition Values Returned.

2  –  Argument

 library_index

    OpenVMS usage:longword_unsigned
    type:         longword (unsigned)
    access:       read only
    mechanism:    by reference
    Library control index returned by the LBR$INI_CONTROL routine.
    The library_index argument is the address of a longword
    containing the index.

3  –  Description

    Call LBR$PUT_END after you write data records to the library
    with the LBR$PUT_RECORD routine. LBR$PUT_END terminates a module
    by attaching a 3-byte logical end-of-file record (hexadecimal
    77,00,77) to the data.

4  –  Condition Values Returned

    LBR$_ILLCTL        Specified library control index not valid.
    LBR$_LIBNOTOPN     Specified library not open.
Close Help