Logo Hewlett Packard Enterprise

Guardian API Programming for HPE NonStop Systems


Inhalt des Trainings

This course is for C, TAL, and pTAL developers. Learn how to use the Guardian Application Program Interface (API) to obtain operating system services including interprocess communication, process creation, Enscribe file access, and more. This course is 60 percent lecture and 40 percent handson labs using HPE NonStop servers.

After you successfully complete this course, expect to be able to:
  • Code for interprocess communication
  • Develop applications that access Enscribe files
  • Handle terminal input and output
  • Identify different types of system messages
  • Create and manage new processes
  • Available timing facilities
  • Know how nowait I/O can be used to improve application performance


  • Systems programmers
  • Application programmers
  • Programmer analysts


  • Concepts and Facilities for NonStop Systems (U4147S) and
  • TAL/pTAL Programming (U4198S)
  • or C Programming in the Guardian Environment (U4143S)


Introduction to the Guardian API
  • Major functions of the NonStop operating system
  • Components of an executing process
  • The required function prototype or declaration file for any Guardian procedure
  • The NonStop operating system’s message-based architecture
  • Lab: determine the appropriate procedure to use for a given function, identify the parameter types used by specific procedures and if the procedures return a value or set the condition code 

File-System Concepts
  • Concept of a file, purpose of an I/O process, and different file name types
  • Coding the procedure calls that are common to all file accesses
  • Using the DEFINE and ASSIGN functions to equate physical and logical file names 
  • Coding the procedure calls to perform file-name conversion
  •  Lab: coding Guardian procedures using the DEFINE capability and the Inspect debugger

Interprocess Communication
  • Requester-server model
  • Coding the procedures for interprocess communication 
  • Differences between system and application messages
  • TACL startup protocol
  • Lab: use $RECEIVE for message handling and the INITIALIZER or get_startup_msg to handle the TACL startup protocol messages

Enscribe Database Access
  • Enscribe file types and coding the procedures to create Enscribe files 
  • Coding the procedures to access and manage access of any Enscribe file 
  • Appropriate error checking 
  • Lab: access an Enscribe key-sequenced data file
  • Lab: code programs to perform Enscribe file accessing including adding, updating, and deleting records

Terminal Input and Output
  • Determining the home terminal of a process
  • Procedures used to write to and read from a terminal in conversation mode 
  • Errors that can occur during I/O
  • Numeric conversions from ASCII to binary and vice versa
  • Using the FIXSTRING procedure to support command alteration
  • Lab: code a program to determine the process home terminal, perform I/O operations from the home terminal, and send application messages to server processes

Timing Facilities
  • Coding the procedures to determine the date and time
  • Coding the procedures to schedule events for future execution
  • Coding the procedures to measure time intervals

Nowait I/O Processing
  • Coding the procedures for nowait I/O operations 
  • One function of the SETMODE procedure
  • Internal and external request management

Process Management
  • Calling the procedures to start and manage a process
  • Calling the PROCESS_GETINFOLIST_ procedure to obtain information about processes
  • HIGHPIN and HIGHREQUESTERS object file flags 
  • Lab: code a procedure to execute a new process
  • Lab (optional): modify a given program to perform nowait I/O on selected files

TS/MP Programming
  • Major components of the HPE NonStop TS/MP environment 
  • Pathsend environment and capabilities of a Pathsend requester 
  • Code calls to the Pathsend procedures
  • Code nowait Pathsend operations 
  • Pathsend error handling
  • Design considerations for creating applications using Pathsend 
  • Design considerations of HPE NonStop TS/MP servers

Data Integrity and Application Availability
  • Guardian procedure calls to invoke the HPE NonStop TMF subsystem
  • Using HPE NonStop TS/MP subsystem to provide for continuous process availability 
  • Lab (optional): using Pathsend



Ab  3.360,-*

*Preis pro Teilnehmer*in ohne Zusatzoptionen, exkl. MwSt.

Sie haben Fragen?

Ihr ETC Support

Kontaktieren Sie uns!

+43 1 533 1777-99


Lernformen im Überblick

Mehr darüber