Executing External Programs or Commands
Use
You are logged on to the Database Manager CLI and start external programs or commands from this program on the server on which DBM Server is running.
Prerequisites
You have the DBM operator authorization
SystemCmd.When you called the Database Manager CLI you logged on with a
DBM operator that is registered as an operating system user.Syntax
exec_command <command>
Successful Reply
The output from the program or command is supplied by the Database Manager CLI.
OK<NL>
0,<err_description><NL>
<pgm_code>,<command><NL>
<command_output_lines><NL>
Error Message
ERR<NL>
<err_code>,<err_description><NL>
<pgm_code>,<command><NL>
<command_output_lines><NL>
Values for the individual fields of the reply
<err_code> |
Error number of DBM Server. If successful the error number is 0 |
<err_description> |
Description of the error |
<pgm_code> |
Return value of the executed program |
<command> |
Command line executed by the DBM Server |
<command_output_lines> |
Output text of the program |
<NL> |
Line feed |