See how Insoft Services is responding to COVID-19

U8636 – TACL Programming I for Non Stop Servers

X

Student Registration Form

Thank you for being interested in our training! Fill out this form to pre-book or request information about the delivery options.

* Required

Course Schedule

I'd like to receive emails with the latest updates and promotions from Insoft.

Data Protection & Privacy

I hereby allow Insoft Ltd. to contact me on this topic. Further, I authorise Insoft Ltd. processing, using collecting and storing my personal data for the purpose of these activities. All your data will be protected and secured as outlined in our privacy policy.


3 Days Course
Server Infrastructure

Classroom + Online

Course Details

Overview

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.

Objectives

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

Outline

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

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

Target Audience

•System programmers

Prerequisites

Concepts and Facilities or familiarity with NonStop utility