Tacl define commands, Example of creating and using a define, Task 1: ensure defines are enabled – HP NonStop G-Series User Manual
Page 97: Task 2: create the define, Table 6-1, Example of creating and using a, Define
Creating and Using DEFINEs
Guardian User’s Guide — 425266-001
6 -9
TACL DEFINE Commands
TACL DEFINE Commands
You can use the TACL DEFINE commands shown in
when working with
DEFINEs. For command syntax and options, see the TACL Reference Manual.
Example of Creating and Using a DEFINE
This example shows how to create and use a SPOOL DEFINE with FUP to copy a file
from disk to the spooler. The SPOOL DEFINE sets the attributes of the spooler job
before you run FUP.
Task 1: Ensure DEFINEs are Enabled
Ensure that DEFINEs are enabled for your TACL process (DEFMODE setting is ON):
If DEFMODE is set to OFF, enter a SET DEFMODE ON command:
For more information, see
Enabling and Disabling DEFINEs
Task 2: Create the DEFINE
In the ADD DEFINE command, you specify a name and class for the DEFINE, as well
as any other attributes you want to define.
Table 6-1. TACL DEFINE Commands
Command
Function
SET DEFINE
Sets the values for one or more DEFINE attributes in the working
attribute set.
SHOW DEFINE
Displays a value associated with a specific DEFINE attribute, all
attribute values that are currently set or defaulted, or all attributes in the
working attribute set.
ADD DEFINE
Creates one or more DEFINEs in the process file segment (PFS) of the
current TACL process.
RESET DEFINE
Resets one or more attributes in the working attribute set to their initial
default values.
INFO DEFINE
Displays the attributes and values associated with one or more existing
DEFINEs in the PFS of the current TACL process.
ALTER DEFINE
Changes the attribute values of one or more existing DEFINEs in the
PFS of the current TACL process.
DELETE DEFINE
Deletes one or more existing DEFINEs from the PFS of the current
TACL process.
10> SHOW DEFMODE
Defmode ON
11> SET DEFMODE ON