Automation SoftwareAutomation Anywhere
  Home > Product > Solutions > Data Integration / Data Automation > T16  

T16 - Import csv file

Task Description

Import csv file and insert values in database.

atmn file T16.atmn   excel file myCSV.csv    excess file myDB.mdb
Solution
To see how the task runs in Automation Anywhere, download the files.
1 Open Task Editor to create a new task

  • Click on New->Task Editor
Task Editor
Screenshot 1


Import CSV File
Screenshot 2


Process CSV File
Screenshot 3


Run Task
Screenshot 4


String Manipulation
Screenshot 5


Systems Logs
Screenshot 6

Task Editor
Screenshot 7
2 Connect to the database
  • Using 'Database' command, specify the connection string to connect Access database with Session Name, 'database'. Screenshot0
3 Import the csv file
  • Double Click the 'Read From CSV/Text' command found under ‘Applications’ command category.
  • Select CSV option and specify the path of CSV file that you want to import. Screenshot1
  • Use Default session. You can also specify any other session name here.
4 Process CSV File
  • Let's process the values of CSV file one by one.
  • All the values of the CSV file in one line will be read in ‘Loop for Each row in a CSV.Text File’.
  • In the loop we have insert SQL statement which inserts each read value into the database, Screenshot 2.
5 How to run the task:
  • In case you do not have Automation Anywhere installed, please download and install it from, http://www.automationanywhere.com/download/freeTrial.htm
  • Save T16.atmn under location, My Documents\Automation Anywhere\Automation Anywhere\My Tasks
  • Save MyCSV.csv and MyDB.mdb under C:\.
  • Launch Automation Anywhere and from Task List select T16.atmn and click on RUN button to run the task.
 
When you run this task, it will extract the required data (unstructured) from the web page into CSV file.
Buy Now Free Trial

Next Steps
Compare versions Compare versions
Watch a flash demo Watch a flash demo
Contact me Contact me
Ask the Expert Ask the Expert
Request live demo Request live demo
Our Customers
Automation Anywhere Customers
Customer list | Case Studies

Wow! This program is fantastic. I was given the task to figure out how to get a list of over 1000 contacts off of a website and into Excel. I was trying to write some kind of macro for days through Excel's VB extension and was making no progress. So I went online and found Automation Anywhere, it took me only minutes to write a macro to copy the addresses. I owe Tethys Solutions hours of my life that I was prepared to spend copying and pasting. Thank you so much Tethys"
- Ben Kinney, Monterey media

Read Customer Testimonies >>
  Products     Download     Purchase     Services     Support     Customers     Company     Sitemap     Trademark FacebookTwitterAutomation Anywhere BlogLinkedIn © Automation Anywhere, Inc. 2013 Privacy Policy
Automation Anywhere   

Automation Software - Free Trial Automation Software - Buy Now