All,
I'm trying to get the following to work:
=======================
#!/opt/iw-home/iw-perl/bin/perl
# submit stuff
$fileToSubmit = "main/dir/path/WORKAREA/emuller/pub/path/xml";
submitFile ($fileToSubmit);
sub submitFile {
my ($fileToSubmit) =
@_;
my $command = "/opt/iw-home/bin/iwsubmit -w -u " . $fileToSubmit . " \'Auto Submit\'";
system($command);
}
====================
What is happening is the first file in the directory is being submitted, but not the rest of the files. However, when I type it directly from the command line, all is good. Any suggestions as to where to look for a solution?
Thanks,
Eric