About this course

Course code TPU8636S
Duration 3 Days

This 3-day lecture course teaches you the basics of writing support utilities in the Tandem Advanced Command Language (TACL). Through hands-on exercises, you will gain valuable experience in using the fundamental features of TACL programming. After completing this course, you will be able to write TACL macros and routines, use the TACL debugging facility, and write TACL code to interact with and control NonStop Server processes using the Inline facility.

Audience

  • System programmers

Delegates will learn how to

To be able to write system management utility programs by learning to use the fundamental features of the TACL language.

Outline

Overview

  • Course objective
  • Schedule

Module 1 Overview of TACL Features

  • TACL as a command interpreter
  • Productivity tools and information aids
  • Built-ins

Module 2 TACL VariablesT

  • Obtaining information about variables using either commands or built-ins
  • Using commands or built-in functions to create, initialize, modify, and eliminate variables
  • The use of 'frames' and variable management
  • Lab exercise (30 minutes): Learn and understand how to logon and use defined function keys
  • Practice using TACL interactively

Module 3 Editing Variables

  • Performing variable file I/O
  • Performing global editing of a variable
  • Performing line editing of a variable
  • Performing character editing of a variable
  • Locating the position of a string within a variable
  • Extracting lines and characters from a variable
  • Lab exercise (1 hour): Exercising variable editing

Module 4 Writing Functions: Macros

  • Macro functionality and syntax
  • Parameter substitution
  • Writing macros
  • Using nested macros
  • Lab exercise (30 minutes): Write a simple TACL macro

Module 5 Writing Functions: #IF

  • Write functions that use the TACL #IF |THEN| |ELSE| construct
  • Making string comparisons
  • Using #IF NOT
  • Lab exercise (1 hour): Write a macro that accepts one or more arguments and uses #IF

Module 6 Writing Functions: #LOOP

  • Using the #LOOP |DO| |UNTIL| construct
  • Using the #LOOP |WHILE||DO| construct
  • Lab exercise (1 hour):Write a macro that uses a #LOOP construct

Module 7 Writing Functions: #CASE

  • Syntax and use of the #CASE construct

Module 8 Debugging TACL Functions

  • Using the TACL debugging facility to aid in getting functions to work properly
  • Lab exercise (2 hours):
  • Start and stop the debugger
  • Set and clear breakpoints
  • Display and modify the contents of a variable
  • Single step through functions and resume execution
  • Write a function that makes use of the #CASE built-in

Module 9 Writing Functions: Routines

  • Writing 'Routine' type functions; using #ARGUMENT, #MORE AND #REST
  • Describe the additional capabilities that routines offer that macros do not
  • Describe the use of the built-ins: #MYSYSTEM, #PROCESSORSTATUS, and #PROCESSORTYPE
  • Lab exercise (2 hours):
  • Modify TACL programs to use routine type functions

Module 10 INLINE Processing

  • Performing process I/O using the INLINE facility
  • Controlling the display of process output
  • Describe the use of #INLINEPREFIX, INLPREFIX, #INLINETO, and INLTO
  • Lab exercise (1 hour)
  • Use the INLINE facility to interface with the PERUSE utility

3 Days

Duration

This is a QA approved partner course

Delivery Method

Delivery method

Classroom

Face-to-face learning in the comfort of our quality nationwide centres, with free refreshments and Wi-Fi.

Trusted, awarded and accredited

Fully accredited to ensure we provide the highest possible standards in learning

All third party trademark rights acknowledged.