• Home
  • Contact
  • Find a Partner

Contact ACL: 1-888-669-4225
facebook
linkedin
twitter
vimeo
youtube
email

  • SOLUTIONS
    • Products
      • GRC
      • Enterprise Continuous Monitoring
      • Data Analysis
    • Departments
      • Internal Audit
      • External Audit
      • Compliance
      • Finance
      • Shared Services
    • Hot Topics
      • FCPA + UK Bribery Act
      • Fraud
      • Risk
      • SAP® ERP
    • Industry
      • Banking & Finance
      • Business Services
      • Education
      • Government
      • Healthcare
      • Insurance
      • Manufacturing
      • Telecommunications & Utilities
      • Retail
  • SERVICES
    • Training
      • Course Catalog
      • Training Schedule
      • ACDA Certification
    • Services & Support
      • Consulting Services
      • Support Services
  • CUSTOMERS
    • Customer Community
      • Connections Customer Conference
      • User Groups
      • ACL Bootcamp
      • Impact Awards
      • Support Center
      • Social Media
    • Customer Successes
      • Case Studies
      • Customer Reference Program
  • ABOUT ACL
    • Company Overview
      • Contact
      • News Releases
      • Media Coverage
      • Analyst Coverage
      • Careers
      • Management
      • Legal
    • Engage
      • Events
      • ACL Blog
      • Subscribe
      • Education Futures
      • Social Media
    • Partners
      • Find a Partner
      • Associations
  • RESOURCE LIBRARY
    • Case Studies
    • Webinars
    • Videos
    • Podcasts
    • Product Collateral
  • SUPPORT CENTER


Optimizing Script Performance: Part One

November 16, 2012
by Kevin Legere
Extract, GROUP Command, Scripting
0 Comment

Writing efficient and effective scripts in ACL data analytics software requires a combination of knowledge, experience and creativity. This is what makes scripting in ACL data analytics so much fun (and why I love it so much). You can solve extremely complex problems using ACL’s powerful and flexible scripting language, however depending on how you achieve your result; there could be a performance price to pay. Since there is usually more than one way – and often many ways – of getting the same result, it is always important to consider all the possible methods before deciding on a solution.

Script performance has become a hot topic in Support lately and can vary largely depending on the design of your script. I have put together a list of tips and tricks for optimizing script performance and will go over them in a series of posts.

This being my first post, I chose to cover the all-important GROUP command.

Using the GROUP command

You are probably saying to yourself “Using the GROUP command? That sounds pretty simple”. Good news…it is!

People often forget about this command or they use it exclusively for complicated GROUP – IF – ELSE combinations. While you can do some really creative things using the GROUP command (possibly a good topic for another time), where it really shines is running multiple commands on a single table at the same time. This will help save you valuable processing time as you strive to cut down on your scripts run time.

Here is a simple example where I extract different company codes to separate tables.

Since we enclose the EXTRACT commands inside a group, ACL data analytics will only need to read the table a single time and will extract each table as it goes through the records. Without the GROUP command, ACL data analytics would need to read the table six times, once for each extract. This provides significant bonus in processing time.

Another good application of the GROUP command would be to run multiple commands on the same table (Example: CLASSIFY, STRATIFY and SUMMARIZE).

Happy scripting.

Next time we will look at how computed fields can slow down your processing time and what you can do to avoid it.

Powered By DT Author Box

Posted by Kevin Legere

Kevin Legere

Kevin Legere is an Implementation Consultant with ACL Professional Services Group where he has experience providing clients with custom script solutions, technical guidance and data analysis in a variety of business areas. In addition to ACL, Kevin has experience in data analysis and technical design in other roles involving Healthcare, Manufacturing and Software industries. Prior to joining ACL Professional Services Group, Kevin worked in Support Services with the Escalation Team at ACL. During this time he provided support for internal and external clients with regards to technical issues, data connections, architecture design and many other areas. Kevin has a Bachelor of Science in Mathematics and Statistics and is an ACL Certified Data Analyst (ACDA).

Social Share

Leave a Reply Cancel reply

*
*

Categories

  • All Blog Articles
    • Auditing
    • Business Assurance
    • Compliance and Risk
    • Continuous Auditing/Monitoring
    • Fraud Detection and Prevention
    • Internal Audit
    • Management
    • Technology

Contact Us

  • Products
    • Enterprise Continuous Monitoring
    • Data Analysis
    • GRC

Latest Tweets

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

Subscribe

Sign up to receive email updates from ACL.

SUBSCRIBE

Recent Posts

  • Online Documentation – docs.acl.com
  • Top 25 Tests for Every Organization: Test 7, T&E – Rental Cars, Gasoline, Mileage
  • Top 25 Tests for Every Organization: Test 6, T&E – Double Dip

t: 1-888-669-4225 e: info@acl.com | Terms and Conditions
© 2013 Copyright ACL Services Ltd.

mongoose

ACL Analytics