Using Tacl Defines In The Oss Environment - HP NonStop SQL/MP Programming Manual

For c
Table of Contents

Advertisement

Explicit Program Compilation
For information on how to compile and link programs in the OSS environment, see the
c89 (1) reference pages online or in the Open Systems Services Shell and Utilities
Reference Manual. If you are migrating a program from the TNS environment to the
TNS/R or the TNS/E environment, see the TNS/R Native Application Migration Guide
and the H-Series Application Migration Guide.

Using TACL DEFINEs in the OSS Environment

In the OSS environment, a C program can contain class MAP and class CATALOG
DEFINEs. Use these OSS utilities to create and manipulate these DEFINEs:
OSS Utility
add_define
del_define
info_define
set_define
show_define
Although you run these utilities in the OSS environment, each utility uses Guardian
conventions for its DEFINE attributes and the associated values. For a detailed
description, including the syntax of these utilities, see the Open System Services Shell
and Utilities Reference Manual or the appropriate reference pages.
Considerations for using TACL DEFINEs in the OSS environment:
The add_define utility implicitly sets the DEFMODE attribute to ON before it
creates the new DEFINE.
Before you run the C compiler using the c89 utility, add these DEFINEs:
Class MAP DEFINEs specified in INVOKE directives
Class MAP or class CATALOG DEFINEs specified in SQL statements
If you specify a class CATALOG DEFINE for the SQLCOMP CATALOG option
when you run the SQL compiler using the c89 utility, add the DEFINE before you
issue the c89 command.
You must precede a backslash (\) in a system name or a dollar sign ($) in a catalog
or subvolume name with the OSS shell escape character (\). For example, these
add_define commands create a class MAP DEFINE and a class CATALOG
DEFINE:
add_define =emptab class=map file=\\ny.\$dsk2.fy94.empfile
add_define =sqlcat class=catalog subvol=\$sql.sqlcat
System names or the names of volumes where OSS objects reside must be seven
characters or fewer.
HP NonStop SQL/MP Programming Manual for C—429847-008
Description
Creates a new class MAP, CATALOG, SPOOL, SORT, SUBSORT,
SEARCH, or TAPE DEFINE
Deletes one or more DEFINEs
Displays the attributes and values of existing DEFINEs
Sets the values for one or more DEFINE attributes in the current
working attribute set
Displays the values for one or more DEFINE attributes in the
current working attribute set
6-29
Using TACL DEFINEs in the OSS Environment

Advertisement

Table of Contents
loading

Table of Contents