C Programming in the Guardian Environment

( Duration: 4 Days )

This C Programming in the Guardian Environment training course provides skills to use both the C compiler and the native mode C compiler used with HPE NonStop servers to take advantage of various extensions, and to interface with Guardian system procedures. In learning to use those compilers, you will become familiar with various aspects of the unique C run-time environment such as memory model issues, diagnostics, special debugging issues, and the retrieval of specific run-time and environment information.

By attending C Programming in the Guardian Environment workshop, delegates will learn to:

  • Perform C Programming within the Guardian system procedures
  • Understand the unique aspects of the C run-time environment such as memory model issues, diagnostics, special debugging issues, and the retrieval of specific run-time and environment information

  • Attend a training on Concepts and Facilities for HPE NonStop Systems or equivalent practical experience
  • ANSI/ISO C Programming experience
  • Recommended: Experience with the Inspect or Native Inspect symbolic debugger
  • Recommended: TAL programming experience

The C Programming in the Guardian Environment class is ideal for:

  • System analysts
  • System programmers
  • Programmers
  • Programmer analysts



Compiling and Linking TNS C programs

  • Basic operation of the TNS C compiler
  • Compiler syntax and the analysis of a compiler listing
  • Binder commands needed to combine multiple object files to build a single executable program

Native Mode Considerations

  • Native mode
  • Benefits and constraints of native mode and the native mode development tolls
  • Process attributes and organization

Native Mode Compilation

  • Various native mode migration issues particular to C programming
  • Using the TNS/E native compiler (CCOMP)
  • Usage of the eld utility for linking separately compiled modules

Run-time Environment NonStop server run-time environment for C programs

  • Obtaining and processing environment and startup protocol messages
  • Essentials of memory models available for NonStop C and show the four basic areas of heap, RTL, global and stack
  • 32 bit pointers and access to system procedures that require 16 bits
  • Large and wide memory models

Tandem C Compiler Operation and Diagnostics

  • Subset of the available compiler pragmas for Tandem C
  • Compiler pragmas for the native C compiler
  • Compile-time and run-time diagnostic facilities
  • Demonstrating, with examples, various aspects of compiler operations

Debugging C Programs

  • Basic framework of Inspect and Native Inspect commands which can be used for debugging NonStop server C programs
  • Information regarding Inspect and Native Inspect commands specifically helpful for the NonStop server C environment
  • Demonstrating a debugging session

Interfacing to Guardian Procedures

  • Specifics of interfacing to Guardian procedures from a C program
  • Interface declarations for non-C functions
  • Usage of the Guardian procedure calls reference manual and special/problem Guardian procedures

Mixed-Language Programming

  • Mixed language programming as it relates to NonStop C
  • Interface declarations, common run-time environment (CRE), specific alignment rules, data storage requirements, and global data sharing

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.