Overview

Through a series of lectures and labs, you are taught how to use both the C compiler and the native mode C compiler used with HPE NonStop™ servers, how to take advantage of various extensions, and how 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. Prior C knowledge is essential.

Read more

Prerequisites

• Concepts and Facilities for HPE NonStop Systems (U4147S)

• ANSI/ISO C Programming experience

• Recommended: Experience withthe Inspect or Native Inspect symbolic debugger

• Recommended: TAL programming experience

Read more

Outline

Module 1: Compiling and Linking TNSC 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

• Lab Exercise: Compile a complete C program

• Lab Exercise: Separate compilation and binding

Module 2: Native Mode Considerations

• Native mode

• Benefits and constraints of native mode and the native mode development tolls

• Process attributes and organization

Module 3: 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

• Lab Exercise: Use the CCOMP compiler to build runnable programs from separately compiled units

Module 4: 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

• Lab Exercise: Gain hands-on experience in fetching process startup information

Module 5: 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

Module 6: 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

• Lab Exercise: Use Inspect and Native Inspect on a C program

Module 7: 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

• Lab Exercise: Make calls to Guardian procedures needed for various terminal display options

Module 8: 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

• Lab Exercise: Gain hands-on experience with interface between NonStop C and other languages such as TAL

Onsite-delivery equipment requirements: • One NonStop server with NonStop operating system, version H06 or later

• 6530 terminals or equivalent PC/workstation for instructor demonstrations

• 6530 terminal or equivalent PC/workstation per student

• C, NMC, nld, noft, TAL and pTAL software

• Printer for compilation listings

Read more

Why choose QA

Dates & Locations

Frequently asked questions

See all of our FAQs

How can I create an account on myQA.com?

There are a number of ways to create an account. If you are a self-funder, simply select the "Create account" option on the login page.

If you have been booked onto a course by your company, you will receive a confirmation email. From this email, select "Sign into myQA" and you will be taken to the "Create account" page. Complete all of the details and select "Create account".

If you have the booking number you can also go here and select the "I have a booking number" option. Enter the booking reference and your surname. If the details match, you will be taken to the "Create account" page from where you can enter your details and confirm your account.

Find more answers to frequently asked questions in our FAQs: Bookings & Cancellations page.

How do QA’s virtual classroom courses work?

Our virtual classroom courses allow you to access award-winning classroom training, without leaving your home or office. Our learning professionals are specially trained on how to interact with remote attendees and our remote labs ensure all participants can take part in hands-on exercises wherever they are.

We use the WebEx video conferencing platform by Cisco. Before you book, check that you meet the WebEx system requirements and run a test meeting (more details in the link below) to ensure the software is compatible with your firewall settings. If it doesn’t work, try adjusting your settings or contact your IT department about permitting the website.

Learn more about our Virtual Classrooms.

How do QA’s online courses work?

QA online courses, also commonly known as distance learning courses or elearning courses, take the form of interactive software designed for individual learning, but you will also have access to full support from our subject-matter experts for the duration of your course. When you book a QA online learning course you will receive immediate access to it through our e-learning platform and you can start to learn straight away, from any compatible device. Access to the online learning platform is valid for one year from the booking date.

All courses are built around case studies and presented in an engaging format, which includes storytelling elements, video, audio and humour. Every case study is supported by sample documents and a collection of Knowledge Nuggets that provide more in-depth detail on the wider processes.

Learn more about QA’s online courses.

When will I receive my joining instructions?

Joining instructions for QA courses are sent two weeks prior to the course start date, or immediately if the booking is confirmed within this timeframe. For course bookings made via QA but delivered by a third-party supplier, joining instructions are sent to attendees prior to the training course, but timescales vary depending on each supplier’s terms. Read more FAQs.

When will I receive my certificate?

Certificates of Achievement are issued at the end the course, either as a hard copy or via email. Read more here.

Contact Us

Please contact us for more information