Unix Diff File not generate!!

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
sorrapob
New Member
Posts: 5
Joined: Thu Jan 12, 2012 1:48 am

Unix Diff File not generate!!

Post 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).
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Unix Diff File not generate!!

Post 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.
psguru
PrestoSoft
sorrapob
New Member
Posts: 5
Joined: Thu Jan 12, 2012 1:48 am

Re: Unix Diff File not generate!!

Post by sorrapob »

Already remove option /no , and still be the same result !! :shock:
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Unix Diff File not generate!!

Post by psguru »

You need to show your production command line window wrapped so that we can see your exact command line args.
psguru
PrestoSoft
sorrapob
New Member
Posts: 5
Joined: Thu Jan 12, 2012 1:48 am

Re: Unix Diff File not generate!!

Post 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
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Unix Diff File not generate!!

Post 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"
psguru
PrestoSoft
sorrapob
New Member
Posts: 5
Joined: Thu Jan 12, 2012 1:48 am

Re: Unix Diff File not generate!!

Post 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
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Unix Diff File not generate!!

Post by psguru »

No, I'm not familiar with AutoSys.
psguru
PrestoSoft
sorrapob
New Member
Posts: 5
Joined: Thu Jan 12, 2012 1:48 am

Re: Unix Diff File not generate!!

Post by sorrapob »

Very appreciate, Thanks.
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Unix Diff File not generate!!

Post 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.
psguru
PrestoSoft
Post Reply