You can call the Loader by processing a Perl script.
Perl is installed on the host.
The following Perl modules are delivered with the Loader program, and allow you to create Perl scripts that can be processed by the Loader:
· Windows: loaderaperl.dll, loader.pm, instperl.pl
· UNIX: loadercperl.so, loader.pm, instperl.pl
· HP : loadercperl.sl, loader.pm, instperl.pl
Open the instperl.pl file. When you do this, the files are copied to the relevant directories.
perl <perl_script_file> [<argument> ...]
You have the option of specifying arguments <argument>.
Frequently used arguments:
<user_name> |
User name (Database User) |
<database_name> |
|
<data_path> |
Directory in which the data file is stored |
<server_node> |
Name of the server on which the Loader is located |
perl sample samplename secret TST C:\data\sapdb
The Perl script sample is called. The logon to the Loader is performed for the user samplenameon the database instance TST. The data file is in the directory C:\data\sapdb.
The following section contains examples of background files in Perl. Their equivalents in the Python script language are also provided for comparison.
Example 1 |
||
Example. 2 |
||
Example no. 3 |
||
Example no. 4 |
||
Example no. 5 |