FastSort Manual

Using SORT and SUBSORT DEFINEs
FastSort Manual429834-003
7-11
Creating and Modifying DEFINEs Programmatically
For a detailed description, including the syntax, of these procedures, see the
Guardian Procedure Calls Reference Manual.
Creating and Modifying DEFINEs Programmatically
To use TACL DEFINEs programmatically, you must first set the DEFMODE variable to
ON for your application by using one of the following methods:
Before you run your application, issue the SET DEFMODE ON command from
your TACL process.
From your application, call the DEFINEMODE procedure with the new^value
parameter set to 1.
After you enable DEFINEs, you use the DEFINESETATTR procedure to set the values
of attributes, including the CLASS attribute, in the working attribute set. (You can also
issue the SET DEFINE CLASS SORT command from your TACL process before your
Procedure Description
DEFINEADD Creates a DEFINE for the user from the working attribute
set.
DEFINEDELETE Deletes a specific DEFINE for the user.
DEFINEDELETEALL Deletes all DEFINEs for the user.
DEFINEINFO Returns information about a DEFINE.
DEFINEMODE Sets the DEFINE mode (DEFMODE variable) for the user
process.
DEFINENEXTNAME Returns the name of the DEFINE that follows the specified
DEFINE.
DEFINEPOOL Designates part of the user stack or extended data segment
as a pool.
DEFINERADATTR Returns the current value of a specified DEFINE attribute.
DEFINERESTORE Restores a saved DEFINE from a user-specified buffer for
active use.
DEFINERESTOREWORK2 Restores the working set from a background set.
DEFINESAVE Copies an active DEFINE to a user-specified buffer.
DEFINESAVEWORK[2] Saves a first or second DEFINE working set in the
background set.
DEFINESETATTR Modifies an attribute in the working set.
DEFINESETLIKE Initializes the working set with values from an existing
DEFINE.
DEFINEVALIDATEWORK Checks the working set for consistency.
CHECKDEFINE Checkpoints a DEFINE to a backup process.