Hi Goti,Thanks for suggestion..But I already tried this but for both fail or suceess I got only this after running the command.Usage: iwsubmit [-h] [-v] [-s] [-w|-x] [-u] [-r] [-c global_comment] [-i info_comment] {vpath file_comment}+Usage: iwsubmit [-h] [-v] [-s] [-w|-x] [-u] [-r] [-c global_comment] [-i info_comment] -f file_name -h displays this usage information. -v displays this command's version number. -s skip conflicts and locked files -w overwrite all files. Files in STAGING but not in src_area will be deleted -x overwrite conflicts -u unlock locked files -r report on submitted files -c global_comment comment to attach to submit event -i info_comment second comment to attach to submit event -f file_name file from which to read the vpath and file_comment (use newline to separate vpath and file_comment) (if file_name is -, stdin will be read) vpath path to a file, directory, or workarea. file_comment comment to attach to the fileSo not able to find out from where to get status.ThanksAnu
Hi,Now I am able to get the status of Command.But if I am not updating html file and run this command then its give me error mesg every time.Command Run:/opt/Interwoven/TeamSite/bin/iwsubmit -x /default/main/Test/COMMON/WORKAREA/general_wa/Test_COMMON/html/general/en/content/without_sec_25.html commentError mesg:/default/main/MYCUMMINS/EP_COMMON/WORKAREA/general_wa/MYCUMMINS_EP_COMMON/html/general/en/content/without_sec_25.html: ERROR:02401: File or directory is the same as the other versionI want the submission of file from workarea to staging area according to file wise not as a directorywise.Please suggest.ThanksAnu
...my $cmd = qq($iwhome/bin/iwsubmit $file "$comment");my $results = qx($cmd 2>&1);my $status = $?;if ($status && $results !~ /ERROR:02401:/){ # An actual error occurred - handle it}...