Course ID 00071725
HP product number U4152S
Course format ILT
Course length 5 day(s)
Skill level Expert
Delivery languages English
Related certifications
In preparation for these exams
Selected items from this course are included in these exams:
Register for this course.
Find this course in the Training calendar and click the “Register” link in the last column to begin your registration.

Course description

This course teaches how to use the Guardian API to obtain operating system services: interprocess communication, process creation, Enscribe file access, and more. Hands on lab exercises give you many opportunities to practice the techniques learned in the classroom discussions.

Who should attend

C, TAL and pTAL developers.
• Systems programmers
• Application programmers
• Programmer analysts

Prerequisites

• Concepts and Facilities course
• TAL/pTAL Programming course or C Programming in the Guardian Environment course
For complete prerequisites and requirements to achieve any of the related certifications or upgrade paths, see the certification description on the HP ExpertOne website.

Topics

  • Introduction to guardian API
    • Major functions of the NonStop Kernel operating system
    • Identifying the required header or declaration file for any Guardian procedure
    • The NonStop Kernel’s message-based architecture
    • Lab Exercise: Determine the appropriate procedure to use for a given function
    • Lab Exercise: Identify the parameter types used by a given procedure
    • Lab Exercise: Determine whether a given procedure returns a value or sets the condition code
  • File system concepts
    • Concept of a file and purpose of an I/O process and different types of file names
    • 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 Exercise: Study the different methods of supplying a file name at execution time
    • Lab Exercise: Gain experience with the Inspect debugger
  • Interprocess communication
    • Requester-server application model
    • Coding the procedures for interprocess communication
    • Differences between system and application messages and TACL program startup protocol
    • Lab Exercise: Code a program to use the INITIALIZER or get_startup_msg procedure to handle the TACL program startup protocol
    • Lab Exercise: Code the program to handle system open and close 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 and appropriate error checking
    • Lab Exercise: Code programs to perform Enscribe file accessing including updating
    • Lab Exercise: Apply record locks
  • Terminal input and output
    • Determining the home terminal of a process and describe its use
    • Procedures used to write to and read from a terminal
    • Errors that can occur during I/O
    • Numeric conversions that might need to be performed on input data and use of the FIXSTRING procedure
    • Lab Exercise: Code a program to determine the process home terminal and perform I/O operations to it
    • Lab Exercise: Use interprocess communication to pass data to a server process
  • Nowait I/O processing
    • Coding the procedures for nowait I/O operations
    • One function of the SETMODE procedure and Internal and external request management
    • Lab Exercise: Modify a given program to perform nowait I/O on selected files
  • Process management
    • Calling the procedures used to create a new process
    • Calling the PROCESS_GETINFOLIST_ procedure to obtain information about processes
    • HIGHPIN and HIGHREQUESTERS object file flags and Lab Exercise: Code a procedure to start executing a new process
  • NonStop TS/MP
    • Major components of the NonStop Transaction Services/MP (NonStop TS/MP) environment
    • Capabilities of a Pathsend requester and procedures used by Pathsend requesters
    • Design considerations of NonStop TS/MP servers
    • Lab Exercise: Modify a program to use the Pathsend procedures
  • Data integrity and application availability
    • Components of the NonStop TM/MP subsystem
    • Functions performed by NonStop TM/MP and techniques used to ensure application availability

Objectives

After completing this course, you should be able to do the following:
  • Code for interprocess communication
  • Develope applications that access Enscribe files
  • Handle terminal input and output
  • Understand different types of system messages
  • Create and manage new processes
  • Understand available timing facilities
  • Understand how nowait I/O can be used to improve application performance

How to register

View the HP ExpertOne Global Training Calendar to register for the trainings offering that best meets your needs.

Policies, fees and cancellations

Course fees may vary and are established and collected by the training center delivering the course. Cancellation fees may apply. Contact your HP Authorized Training Partner for their respective policies.