Entering content frame

 Starting the PythonLOAD Program 

Use

PythonLOAD is an environment programmed in the script language Python that allows load operations to be executed. As a response to the execution of this script, 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 the DBM server program.
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 program

<pythonload output lines>

Output text of the program

<NL>

Line feed

 

 

Leaving content frame