CFanatic

Go Back   CFanatic > Programming > Shell Scripting

Join CFanatic Forum Now

Script for Automation topic posted under Shell Scripting which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2010, 10:03 PM
 
Join Date: Aug 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
vasuv is on a distinguished road
| More
Script for Automation

Hi All,

This is Vasu.I am new to this software field.Now I started learning Unix n Oracle.
Daily we are doing the following job manually.But I am planning to automate it.So any one please help me to write a script for the following requirement.It's very helpful to learn new things.

The job we are doing Manually is :

1.Connect to remote server and use WinSCP to retrive the file "emp.dat" from the above mentioned server in the defined path. This is the EMP file.

2.Open the abc.txt file present in D:\EFG. NOTE: abc.txt is used to process the data in XYZ.mdb file.

3.Place the records in abc.txt and just validate for the number of records with the source file.

4. Delete the RST.xls present in D:\EFG\

5. Once the latest abc.txt is ready, open the D:\EFG\XYZ.mdb access file.

6. Click on Open, then on "Daily Sales Vs. Report".

7.Click on "Import Data" tab. "ALL EXISTING DATA WILL BE LOST !!!" msg will pop up. Just click on "OK" tab.

8.XYZ.mdb will prompt for ODBC connection password. Supply the same to connect to PRODUCTION DB.
Username rod_abc

9. Once data gets imported, "Import Completed" pop-up window appears.

10. Click "OK". Then click on "Output to Excel" tab to export the data to excel sheet.

11.Pop-up window "Export Complete" appears. Click on "OK".

12.This export will generate an RST.xls file in D:\EFG\ path. Open the .xls and run the below macros.
Goto Tools --> Macros --> Macros, to run the Macros from Excel sheet.

13. Run the macro - "PERSONAL.XLS!macNewEFG".

14. Once done, save the RST.xls as Sales vs. Report and send this report throgh mail to the assigned group.

Please help me out for this.

Thanks.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
AES Algorithm in shell script teenybopper Shell Scripting 0 08-28-2010 03:11 AM
Shell script gsureshbabu Shell Scripting 0 08-28-2010 03:11 AM
FTP Script masifahmed Shell Scripting 0 08-28-2010 03:11 AM
Gzip script kubber Shell Scripting 0 08-28-2010 03:11 AM
[JOB] QA/Automation Engineer, Portland, OR | 100k - Relo/H1B OK beaucmp Looking to hire 0 02-27-2009 12:42 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 02:20 AM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board