TACL Programming I for NonStop Servers

U8636X

Course ID

U8636X

Duration

3 days

Format

ILT, VILT

Course ID

U8636X

Duration

3 days

Format

ILT, VILT

HPE NonStop system

  • Overview

    This 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


  • Prerequisites

    Before attending this course, you should known concepts and facilities or familiarity with HPE NonStop utility


  • Course objectives

    After completing this course, you should be able to:

    • Write system management utility programs by learning to use the fundamental features of the TACL language

  • Course outline

Module 0 Overview

  • Course objective
  • Schedule

Module 1 Overview of TACL Features

  • TACL as a command interpreter
  • Productivity tools and information aids

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 7 Writing Functions: #CASE

  • 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

Onsite-Delivery Equipment Requirements

  • NonStop operating system D30 or later for NonStop K-series servers, or any Gxx version for NonStop S-series servers
  • Pathway/TS (version D30 or later), NonStop TMF

5 reasons to choose HPE as your training partner

  1. Learn HPE and in-demand IT industry technologies from expert instructors.
  2. Build career-advancing power skills.
  3. Enjoy personalized learning journeys aligned to your company’s needs.
  4. Choose how you learn: in-person, virtually, or online—anytime, anywhere.
  5. Sharpen your skills with access to real environments in virtual labs.

Explore our simplified purchase options, including HPE Education Learning Credits.

Recommended for you