Difference between revisions of "Dbexec"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
Line 1: Line 1:
==Class==
 
Utilities
 
 
 
 
==Purpose==
 
==Purpose==
Used to run program files in the background via the Recital Database and Mirage Servers
+
Used to run program files in the background
  
  
 
==Syntax==
 
==Syntax==
dbexec <program-file> [<_para1> <_para2> ... <_para9>]
+
recitaladmin [--]execute <program-file> [<_para1> <_para2> ... <_para9>]
  
  
Line 16: Line 12:
  
 
==Description==
 
==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.
+
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>
# dbexec maint_prog "customers" "contacts"
+
# recitaladmin execute maint_prog "customers" "contacts"
 
</pre>
 
</pre>
  
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server
+
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