EncartaLabs

Pathway application programming

( Duration: 4 Days )

In Pathway application programming training course, delegates will learn to understand how Pathway applications utilize the features of the system architecture and operating system.

By attending Pathway application programming workshop, Participants will learn:

  • Components of the Pathway environment
  • C requester programs with PATHSEND
  • Context-free C server programs that access Enscribe and HP NonStop SQL/MP databases
  • Using HP NonStop Transaction Monitor/MP (TM/MP) to ensure database consistency and integrity in the Pathway application environment
  • Debugging requester and server programs using the Inspect facility
  • Pathway system administration including configuration, starting, stopping, and monitoring components

  • Knowledge of ANSI-standard SQL
  • C Programming on HP NonStop systems

  • C language application programmers who will be developing applications using the Pathway product

COURSE AGENDA

1

Pathway introduction

  • Online transaction processing (OLTP) in the HP NonStop server environment
  • The requester-server approach to online transaction processing
  • Pathway application and its role in online transaction processing
  • Components of a Pathway environment
  • Starting PATHMON and PATHCOM
  • Client/server options available in the Pathway environment
2

Pathway configuration and operation

  • Difference between global and object-specific configuration parameters
  • Configuring global and object-specific parameters
  • Cold starting and cool starting a Pathway system
  • Starting the Pathway objects individually
  • Monitoring and maintaining a Pathway system
  • Shutting down a Pathway system
  • Capturing the current Pathway environment
  • Establish your individual lab environment
  • Start and stop a Pathway application environment
  • Configure Pathway TCP, TERM, PROGRAM, and SERVER objects
  • Display Pathway object attributes and information
  • Shut down a Pathway application environment
  • Use a series of commands to manage and monitor a Pathway application environment
  • Practice the steps to capture the current configuration
3

Server fundamentals

  • Requester-server model
  • Basic function of a server
  • Function of $RECEIVE in interprocess communication
  • Steps that make up the basic structure of a server program
  • Why servers should be context-free
  • Recognizing and addressing the problems with concurrent database access by servers
  • Coding the Guardian procedures for server message processing
  • Differences between application messages and system messages
4

Inspect debugging

  • Basic syntax and use of the more common Inspect commands for debugging C programs
  • Components of the Inspect debugging environment
  • Steps required to debug a stand-alone process
  • Steps necessary to debug a Pathway server
5

Enscribe database access

  • Enscribe file types
  • Coding the Guardian procedures to create and access Enscribe files
  • Coding the Guardian procedures to perform record positioning for Enscribe files
  • Appropriate error checking
  • Gain hands-on experience in coding the Guardian procedure calls to use $RECEIVE properly
  • Code a server to respond to incoming requests
  • Establish an Inspect session in a Pathway environment
  • Use the Inspect debugging tool to examine the message passing that occurs between a requester and a server
  • Become familiar with common Inspect tool commands
  • Enscribe Database Access (second segment)
  • Alternate key access to Enscribe files
  • Identifying and addressing simultaneous update issues
  • File and record locking procedures
  • Modifying Enscribe file characteristics
6

HP NonStop SQL database access

  • Use of HP NonStop SQL statements to insert, update, and delete rows in an SQL database
  • Identifying and defining host variables
  • Operation of a cursor
  • Writing statements to report SQL run-time errors
  • Process involved in building a C program with embedded SQL statements
  • Code a server to access either an Enscribe or an SQL database to fetch records
  • Use Guardian procedures to access an Enscribe database
  • Use SQL statements for cursor handling in SQL database access
  • Code a server to access either an Enscribe or an SQL database to perform updates
  • Use Guardian procedures to perform record positioning and insertion in an Enscribe database
  • Use SQL statements to fetch and insert rows in an SQL database
7

HP NonStop Transaction Services/MP (TS/MP) programming

  • Major components that make up the HP NonStop TS/MP environment
  • Pathsend environment and the capabilities of a Pathsend requester
  • Coding the Pathsend procedures
  • Coding nowait Pathsend operations
  • Design considerations in using the Pathsend facility
  • HP NonStop TS/MP server design considerations
8

Data integrity and application availability threats to data integrity

  • Guardian procedure calls that ensure database integrity through the TM/MP subsystem
  • Writing Guardian procedure calls to invoke services from the TM/MP subsystem
  • Use of the TS/MP subsystem to provide for continuous availability of processes
  • Code the Pathsend procedure to submit a request to a Pathway server class
  • Code the Pathsend procedure to perform error handling

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 4,000 Modules on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting http://encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top