Page 1 of 1

Unix Diff File not generate!!

Posted: Thu Jan 12, 2012 2:07 am
by sorrapob
Hi,
I use examdiff pro to diff text file and save the unix diff file output.
Let's see the below picture.

Image

From picture everything seems OK.
You'll see the the status which examDiff echo out to standard output during process.
Reading files...
Comparing files...
Processing comparison data...

Finally i found the unix diff file in the output folder and it's pretty complete.

But, when i deploy on the production environment.
It seems examDiff cannot process the output.
Please see the picture below,

Image

The status missing about the line of "Processing comparison data..." and
I'm not found the unix diff file in the output folder.!!!

I already checked about the write privilege to output folder and the user have privilege.
What is the cause of this problem? Please help.

Note - I use examDiff pro version 64X on Windows 2008 R2 server(same both test and production environment).

Re: Unix Diff File not generate!!

Posted: Thu Jan 12, 2012 11:27 am
by psguru
I noticed that you used the /no option in your test cases, which means that if files are identical, no output is generated. I can't see what options you used in your production scenarios but if you used /no, and the files are identical, no diff files are created.

Re: Unix Diff File not generate!!

Posted: Fri Jan 13, 2012 12:48 am
by sorrapob
Already remove option /no , and still be the same result !! :shock:

Re: Unix Diff File not generate!!

Posted: Fri Jan 13, 2012 6:59 am
by psguru
You need to show your production command line window wrapped so that we can see your exact command line args.

Re: Unix Diff File not generate!!

Posted: Mon Jan 16, 2012 1:19 am
by sorrapob
ExamDiff "D:\BWM\Server\Import File\NAS\CBS\History\Master_Latest\pwm_cbs_casa_master_20120114.txt" "D:\BWM\Server\Import File\NAS\CBS\pwm_cbs_casa_master_20120115.txt" /o:"D:\BWM\Server\Import File\NAS\CBS\pwm_cbs_casa_master_20120115_.txt"

Above is my command, Thanks

Re: Unix Diff File not generate!!

Posted: Mon Jan 16, 2012 7:30 am
by psguru
Try running the same command with the GUI:

ExamDiff "D:\BWM\Server\Import File\NAS\CBS\History\Master_Latest\pwm_cbs_casa_master_20120114.txt" "D:\BWM\Server\Import File\NAS\CBS\pwm_cbs_casa_master_20120115.txt"

Re: Unix Diff File not generate!!

Posted: Wed Jan 18, 2012 11:17 pm
by sorrapob
Generate report output with GUI is perfectly complete .

Additional information, I create batch file which contain ExamDiff command line like previous post,then i call batch file by 'AutoSys' workload automation tool.
The problem will occur only when i call batch by AutoSys. But if i call manually it's fine.
Do you have some advice ?

Thanks

Re: Unix Diff File not generate!!

Posted: Thu Jan 19, 2012 7:01 am
by psguru
No, I'm not familiar with AutoSys.

Re: Unix Diff File not generate!!

Posted: Thu Jan 26, 2012 10:44 pm
by sorrapob
Very appreciate, Thanks.

Re: Unix Diff File not generate!!

Posted: Fri Jan 27, 2012 7:08 am
by psguru
For those wondering what a solution might be: as a workaround, you can wrap ExamDiff Pro execution in a batch file, and then return ERRORLEVEL 0 from it (e.g. http://stackoverflow.com/questions/3960 ... to-autosys). You will then call that batch script from AutoSys instead of examdiff.exe.