Difference between revisions of "Dbexec"
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
− | Used to run program files in the background | + | Used to run program files in the background |
==Syntax== | ==Syntax== | ||
− | + | recitaladmin [--]execute <program-file> [<_para1> <_para2> ... <_para9>] | |
Line 16: | Line 12: | ||
==Description== | ==Description== | ||
− | The | + | 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== | ==Example== | ||
<pre> | <pre> | ||
− | # | + | # recitaladmin execute maint_prog "customers" "contacts" |
</pre> | </pre> | ||
==Products== | ==Products== | ||
− | Recital | + | Recital, Recital Server |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Reference]] | [[Category:Reference]] |
Latest revision as of 13:55, 1 December 2009
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