TNS/E Native Application Conversion Guide

Introduction to Native Mode
TNS/E Native Application Conversion Guide529659-003
1-12
Native Inspect
Native Inspect
Native Inspect is a command-line symbolic debugging tool that can be used for
debugging TNS/E native processes and snapshot files. It can be used for source
statement level debugging as well as machine-level debugging. Native Inspect is
intended as a replacement for the G-series Debug facility and the G-series Inspect
debugger for native mode debugging. The command name for Native Inspect is
eInspect.
Native Inspect provides most of the functionality of Inspect and Debug. However, the
Native Inspect command syntax differs from that of Inspect and Debug. The Native
Inspect syntax is based on the Open Source Foundation GDB debugger, a tool that is
widely used throughout the industry and is familiar to many application developers. In
most cases, you are encouraged to use Visual Inspect as your primary application
debugger. The primary advantage of Native Inspect is that it provides enhanced
scripting support in the form of the Tool Command Language (TCL), a widely used
scripting language, which enables you to automate many debugging tasks.
Note that any Inspect command files that you are currently using to automate
debugging operations must be converted to Native Inspect syntax.
See the
Native Inspect Manual
for details.
SQL Compiler
The HP NonStop SQL/MP compiler supports embedded SQL in TNS and native C and
COBOL programs. The HP NonStop SQL/MX compiler, available in the OSS and PC
environments, supports embedded SQL in native C, C++, and COBOL programs. You
cannot use embedded SQL in pTAL source code. For more information, see the
NonStop SQL/MP and NonStop SQL/MX manual sets.
Data Definition Language (DDL)
The H-series product version of the DDL compiler generates host-language source
files that can be used with both TNS and native programs. The DDL compiler inserts
pragmas in C and directives in pTAL and COBOL host-language source files to ensure
that the same data alignment is generated, regardless of whether a TNS or native
compiler is used. For details, see Section 7, Converting Data Definition Language
(DDL).
Note. Native Inspect cannot currently be used to debug COBOL programs. The only debugger
available to H-series COBOL programs is Visual Inspect.