Dbexec

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Used to run program files in the background


Syntax

recitaladmin [--]execute <program-file> [<_para1> <_para2> ... <_para9>]


See Also

COMPILE, DO, FUNCTION, PROCEDURE, Recital Linker, SET MAXDBO, SET PROCEDURE, SET PSHARE


Description

The execute utility is used to run program files in the background. It gives the ability to run source code directly on the server without any client connection in place. The command should be issued from the Operating System prompt and followed by the name of the program file to be run. Parameters can be passed to the program by specifying them after the program name. When specifying more than one parameter, white space should separate each parameter. A maximum of nine parameters can be passed. The parameters are stored in predefined variables _para1 to _para9 and no parameters statement is required in the program itself.

Note: The earlier dbexec syntax has been deprecated in Recital 10, to be replaced with recitaladmin execute | --execute.


Example

# recitaladmin execute maint_prog "customers" "contacts"


Products

Recital, Recital Server