Dbexec

From Recital Documentation Wiki
Revision as of 15:27, 24 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Utilities


Purpose

Used to run program files in the background via the Recital Database and Mirage Servers


Syntax

dbexec <program-file> [<_para1> <_para2> ... <_para9>]


See Also

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


Description

The DBEXEC utility is used to run program files in the background via the Recital Database Server or Recital Mirage Server. It gives the ability to run source code directly on the server without any client connection in place. The DBEXEC 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.


Example

# dbexec maint_prog "customers" "contacts"


Products

Recital Database Server, Recital Mirage Server