Nithin
September 14, 2010, 3:15am
1
I am getting an xls file in the dir errorpath. I would like to zip it. Kindly help me on this.
The code is as below.
sqllst=$errorpath/$run_pgm.${date_stamp}".xls" sqlstatus=$errorpath/$run_pgm"."${date_stamp}".sqlstatus" sqlscript=$binpath"/im_rpt.sql"
rdcwayx
September 14, 2010, 7:23am
2
You paste the code with wrong format.
sqllst=$errorpath/$run_pgm.${date_stamp}".xls"
sqlstatus=$errorpath/$run_pgm"."${date_stamp}".sqlstatus"
sqlscript=$binpath"/im_rpt.sql"
What's the relationship with zip ?
Nithin
September 14, 2010, 9:02am
3
In the above code i am getting an excel (xls) file in the error directory . I want to zip(Compress) that perticualr excel there. Kindly suggest how to go further.