Share via


SET PROCEDURE Command

Opens a procedure file.

SET PROCEDURE TO [FileName1 [, FileName2, ...]] [ADDITIVE]

Parameters

  • FileName1 [, FileName2, ...]
    Specifies the sequence in which files are to be opened. SET PROCEDURE can take more than one file name, making it possible for you to open several procedure files at once. This option makes it possible for you to create stand-alone libraries of functions and specify them separately.
  • ADDITIVE
    Opens additional procedure files without closing currently open procedure files.

Remarks

Issuing SET PROCEDURE TO without any file names closes all open procedure files. Use RELEASE PROCEDURE to close individual files.

When you execute a procedure, the procedure files are searched if the procedure isn't located in the currently executing program.

For more information about procedure files, see PROCEDURE and DO.

See Also

PROCEDURE | RELEASE PROCEDURE | LIST PROCEDURES Command