Library /sys$common/syshlp/helplib.hlb  —  LGI Routines, LGI$ICR_INIT
    The LGI$ICR_INIT callout routine may perform any required
    initialization functions.

    Format

      LGI$ICR_INIT  arg_vector ,context

1  –  Returns

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

    Returns status indicating whether and how to proceed with the
    login.

2  –  Arguments

 arg_vector

    OpenVMS usage:vector
    type:         vector_longword_unsigned
    access:       modify
    mechanism:    by reference
    Vector containing callbacks and login information.

 context

    OpenVMS usage:context
    type:         longword (unsigned)
    access:       modify
    mechanism:    by reference
    Pointer to site's local context.

3  –  Description

    This routine is called for all job types before opening input
    and output files. If desired, the callout routine may initialize
    the context argument, which LOGINOUT subsequently passes to each
    callout routine with the address of local storage specific to the
    callout image.

4  –  Typical Condition Values

    SS$_NORMAL         Access permitted; continue policy checks.
    LGI$_SKIPRELATED   Access permitted; omit calls to the LGI$ICR_
                       INIT callout routine in subsequent images.
    Other              Disallow the login.

5  –  Associated OpenVMS Policy Function

    None.
Close Help