Open System Services Porting Guide (G06.24+, H06.03+)
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction to Porting
- 2 The Development Environment
- 3 Useful Porting Tools
- 4 Interoperating Between User Environments
- Purpose of Interoperability
- The OSS User Environment
- OSS Commands for the Guardian User
- Guardian Commands for the UNIX User
- OSS Pathname and Guardian Filename Conversions
- Running the OSS Shell and Commands From TACL
- Running Guardian Commands From the OSS Shell
- Running OSS Processes With Guardian Attributes
- Using OSS Commands to Manage Guardian Objects
- 5 Interoperating Between Programming Environments
- 6 OSS Porting Considerations
- 7 Porting UNIX Applications to the OSS Environment
- 8 Migrating Guardian Applications to the OSS Environment
- General Migration Guidelines
- C Compiler Issues for Guardian Programs
- Using New and Extended Guardian Procedures
- Using OSS Functions in a Guardian Program
- Interoperating With OSS Programs
- Starting an OSS Program From the Guardian Environment
- C Compiler Considerations for OSS Programs
- Porting a Guardian Program to the OSS Environment
- How Arguments Are Passed to the C or C++ Program
- Differences in the Two Run-Time Environments
- Which Run-Time Routines Are Available
- Use of Common Run-Time Environment (CRE) Functions
- Replacing Guardian Procedure Calls With Equivalent OSS Functions
- Which IPC Mechanisms Can Be Used
- Interactions Between Guardian and OSS Functions
- 9 Porting From Specific UNIX Systems
- 10 Native Migration Overview
- 11 Porting or Migrating Sockets Applications
- 12 Porting Threaded Applications
- A Equivalent OSS and UNIX Commands for Guardian Users
- B Equivalent Guardian Commands for OSS and UNIX Users
- C Equivalent Inspect Debugging Commands for dbx Commands
- D Equivalent Native Inspect Debugging Commands for dbx Commands
- E Standard POSIX Threads Functions: Differences Between the Previous and Current Standards
- Glossary
- Index
About This Manual
Open System Services Porting Guide—520573-006
xvii
Related Reading
programmers who are embedding SQL statements and directives in a COBOL
program. It provides the information needed for use of an SQL/MP application from
the OSS environment
•
SQL/MX Programming Manual for C and COBOL. This manual documents the
programming interface to HP NonStop SQL/MX for C and COBOL. It is intended
for application programmers who are embedding SQL statements and directives in
a C or COBOL program. It provides the information needed for use of an SQL/MX
application from the OSS environment.
•
ld Manual. This manual describes how to use the ld utility. The ld utility links
TNS/R position-independent code (PIC) object files into a PIC loadfile.
•
nld Manual. This manual describes how to use the nld utility to link TNS/R native
non-PIC object files into executable programs.
•
noft Manual. This manual describes how to use the noft utility. noft is a tool for
displaying TNS/R native non-PIC object files. It is written for application and
system programmers.
•
eld Manual. This manual describes how to use the eld utility to link TNS/E native
object files into executable programs.
•
enoft Manual. This manual describes how to use the enoft utility. enoft is a tool
for displaying TNS/E native object files. It is written for application and system
programmers.
•
rld Manual. This manual describes how to use the rld utility. The rld utility loads
PIC loadfiles into virtual memory for execution on a TNS/R system.
•
Inspect Manual. This manual describes the Inspect debugger, a tool for debugging
C, C++, COBOL, FORTRAN, Pascal, SCREEN COBOL, Transaction Application
Language (TAL), and pTAL (portable Transaction Application Language) programs
in the G-series TNS/R native and TNS environments.
•
Native Inspect Manual. This manual describes the Native Inspect debugger, a tool
for debugging C, C++, and pTAL programs in the TNS/E native environment.
•
Open System Services Programmer’s Guide. This guide provides programmers
the information they need to write application programs for the OSS environment. It
includes information about how the OSS environment differs from a standard UNIX
programming environment, manipulating Guardian objects from the OSS
environment, manipulating OSS objects from the Guardian environment, and which
tasks can be accomplished only from the Guardian or OSS environment. This
guide is intended for application programmers writing programs for the OSS
environment.
•
pTAL Conversion Guide. This manual describes the differences between the TAL
and pTAL programming languages as well as how to use the pTAL compiler. It is
written for experienced TAL programmers.