Introduction to Perl for AutoSys Users
An introduction to programming in Perl with specific references to optimising Perl programs to work effectively with CA Technologies' Workload Automation AutoSys Edition (also known as CA WAAE or simply AutoSys) product.
Starting with the basics and providing the necessary building blocks for attendees to confidently write useful Perl programs by the end of the course.
We explain how to optimise Perl programs initiated by AutoSys, avoiding duplication of the supplied AutoSys r11.3 job functionality, utilising a modular approach to batch coding, providing appropriate log files and supplying meaningful exit codes.
We also provide example code for monitoring key AutoSys components. This course features classroom sessions and practical exercises.
This course is intended for those who want to write programs in Perl or provide basic support and troubleshooting of Perl programs. This course is tailored to those writing Perl programs that may be initiated by AutoSys or in some way interact with AutoSys modules.
Attendees need no previous knowledge of Perl. An understanding of programming principles is advantageous but not mandatory. A basic understanding of AutoSys is required. Whether you are a sysadmin who wants to use Perl as a glue language, a programmer who wants to use it for data munging, someone who wants to write web applications or somebody that needs to understand and support Perl code written by others, this course will give you the basic knowledge you need.
After attending this course you will be able to:
- Write simple but useful Perl programs
- Use Perl’s built-in operators and functions
- Use loops and subroutines to simplify your programs
- Understand simple regular expressions
- Find and install third-party libraries
- Define meaningful exit return codes
- Write modular supportable programs executed by AutoSys
What is Perl
- Perl’s name
- Typical uses of Perl
- What is Perl like?
- The Perl Philosophy
Creating and running a Perl program
- Hello World
- Running a Perl program
- Command line options
- What is a variable?
- Variable names
- Types of Perl variable – scalars arrays and hashes
- Declaring variables
- Scalars, arrays and hashes in detail
- Perl’s special variables
Input and Output
- The print function
- The file input operator
Operators and Functions
- What are operators and functions?
- Various types of operators
- Some useful functions
- Introduction to Boolean expressions
- if, elsif and else
- while, until, for and foreach
- What are subroutines?
- Defining subroutines
- Calling subroutines
- Subroutine arguments
- Subroutine return values
- What are regular expressions?
- The match, substitution and binding operators
- Metacharacters and quantifiers
- The smart match operator
- What is smart matching?
Finding and Using Modules
- What is a module?
- What is CPAN?
- Installing modules
- Using modules
- Some useful modules
AutoSys best practices
- Schedules from a Support and Operations perspective
- Exit with intelligence, clever streams
- Troubleshooting workshop
- 'Show and Tell'
- AutoSys Q&A
- Web sites
- Mailing lists
- The Perl community
- The AutoSys community
Dave Cross is a well known and much respected Perl author, instructor and consultant.
In 1998 Dave started london.pm which has grown to be one of the largest Perl Mongers groups in the world.
He nominally led the group until September 2001. Between August 2002 and June 2006 he was the Perl Mongers User Groups Co-ordinator for the Perl Foundation.
Dave is a regular speaker at Perl and Open Source conferences and is often invited to present tutorials alongside the main conference.
He is the author of "Data Munging with Perl" (Manning, 2001) and a co-author of "Perl Template Toolkit" (O'Reilly, 2003).
Antony is a CA Certified AutoSys r11.3 expert, a member of the CA Workload Automation Steering Panel, Chairman of the UK AutoSys User Group and Session Speaker at CA World 2012.
Antony managed CA's EMEA support-desk for AutoSys, managed the AutoSys estates of a number of Global Financial Services companies before joining Extra Technology as CA Practice Manager.
Bhupinder Janjuha is a CA Certified AutoSys r11.3 expert. Bhupinder managed The EMEA support-desk for AutoSys vendor (before CA) Platinum Technology and was a key member of the team that sold AutoSys throughout Europe during the mid to late 90s.
Bhups later worked as an AutoSys SME / Architect for many of the world's most prestigious AutoSys customers, before co-founding Extra Technology in 2007.
Bhupinder regularly represents CA Technologies as an AutoSys SME, Architect and Educator.