Defining Third-Party CM Tool Interfaces : CM Script Reference : init

init
Initiates the CM tool.
Syntax:
CM_USER_FUNC_init
 
Example:
#!/usr/bin/perl -w
#initialize variables
($working_dir , $bank_dir , $tmp_result_file) = @ARGV;
#echo command
$func = "init";
$echo = "$func : $working_dir , $bank_dir , $tmp_result_file\n";
print $echo;
#perform operation
#update result file
open(RESULT_FILE , "> $tmp_result_file");
print RESULT_FILE "1\n";