Starting the PythonLOAD Program
Use
PythonLOAD is an environment programmed in the script language Python that allows load operations to be executed. The system displays information about the execution status of the program as a reply.
With this command, the PythonLOAD program is executed on the current database instance with the user specified in
<userid> <password>. Specify a PythonLOAD script file <file>. If you specify a relative file name, it is used relative to the directory <dependent_path>\env.PythonLOAD options in double quotation marks are transferred uninterpreted to the PythonLOAD program.
Prerequisites
You have the DBM operator authorization
ExecLoad.Syntax
exec_load <userid> <password> <file> ["<option>"]
Reply
OK<NL>
<errcode>,<errdescription><NL>
<pgmcode>,<command><NL>
<pythonload_output_lines><NL>
Values for the individual fields of the reply
<errcode> |
Error number of DBM Server. If successful the error number is 0 |
<errdescription> |
Description of the error |
<pgmcode> |
Return value of the executed program |
<command> |
Command executed by the DBM Server |
<pythonload_output_lines> |
Output text of the program |
<NL> |
Line feed |