VMS Help  —  RTL Routines, LIB$  LIB$RUN_PROGRAM
    The Run New Program routine causes the current program to stop
    running and begins execution of another program.

    Format

      LIB$RUN_PROGRAM  program-name

1  –  Returns

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

2  –  Argument

 program-name

    OpenVMS usage:char_string
    type:         character string
    access:       read only
    mechanism:    by descriptor

    File name of the program to be run in place of the current
    program. The program-name argument contains the address of a
    descriptor pointing to this file name string.

    The maximum length of the file name is 255 characters. The
    default file type is .EXE.
Close Help