Build a Perl module with reference to the SAP DB Perl Libraries,
parse the call arguments:
#
Reference to SAP DB Perl Library# -------------------------------
use SAP::DBTECH::repman;
#
Parse the call arguments# --------------------------
$user = $ARGV[0];
$pwd = $ARGV[1];
$dbname = $ARGV[2];
$data_path = $ARGV[3];
$host = "localhost";