Natural provides the option to customize the default settings of your current Object Handler utility environment. For this purpose, Natural provides the text member PROFILE in the Natural system library SYSOBJH. PROFILE is used to specify environment-specific default values for flags and options that appear when entering the corresponding Object Handler screens.
To activate individual profile settings
Save the text object PROFILE under the name PROFILES
in
the library SYSOBJH.
In the text object PROFILES, set the parameters required and save the modifications.
Invoke the Object Handler to activate PROFILES.
If activated, the following Natural confirmation message appears:
Defaults from SYSOBJH profile (PROFILES) read.
To deactivate individual profile settings
Delete the text object PROFILES from the library SYSOBJH.
This section covers the following topics:
The following section provides general instructions for editing the text object PROFILES.
Empty lines or lines that start with an asterisk (*) or /*
are considered comments and therefore ignored.
Each line is limited to 250 bytes.
This section covers the following topic:
You can specify general profile settings that apply to all users, and individual profile settings that apply only to single users.
Parameters used for general settings are entered within the general
block delimited by [General-Start]
and
[General-End]
.
Parameters used for individual settings are entered within any number
of user-specific blocks, each of which is delimited by [User-Start
UID-EXAM]
and [User-End
UID-EXAM]
where
UID-EXAM represents the user ID as assigned by the
Natural system variable *USER
(see the System Variables documentation). Each
user-specific block only applies to the user whose ID is entered within the
block delimiters.
Parameter settings made in a user-specific block override respective parameter settings made in the general block.
[User-Start SAG] Advanced-Mode Y Option-Write-Report N [User-End SAG]
In the example above, regardless of the corresponding settings made in the general block, for User SAG, the field Advanced mode appears activated (selected) in the Main Menu and the field Write report appears deactivated (not selected) on the Object Handler Options screen.
The table below lists the parameters contained in PROFILE, the possible values that can be entered and the Object Handler functions to which the parameters apply. In addition, the table provides a brief description of the parameters or a reference to the corresponding Object Handler documentation section. Default parameter values are underlined.
Parameter | Possible Values | Function |
Description/ |
---|---|---|---|
Advanced-Mode |
|
Unload |
Advanced User in Functions |
Display-Cmd-in-Advanced-Mode |
|
Unload |
Displays the Object Handler command generated for a function executed in advanced-user mode. |
Display-ExecutionMsg |
|
Unload |
Activates a window that displays the processing status. |
Workplan-Library |
|
Unload |
Workplans and |
Workplan-Library-DBID |
|
Unload |
|
Workplan-Library-FNR |
|
Unload |
|
TRACE |
|
Unload |
Traces in
Tools |
TRACE-TARGET |
|
Unload |
|
Option-Replace |
|
Load |
Replace Options in Settings |
Option-TRANSFER-FORMAT |
|
Unload |
Work File Format in Work Files |
Option-TR-INCLUDE-LINE-NUMBERS |
|
Unload |
Include line numbers in Transfer Options |
Option-TR-SUBSTITUTE |
|
Unload |
Substitute line numbers in Transfer Options |
Option-TR-TRANSLATE-TO-UPPER |
|
Load |
Translate to upper case in Set Additional Options |
Option-TR-USE-CONVERSION-TABLE |
|
Unload |
Use conversion table in Transfer Options |
Option-TR-CONV-TABLE-NAME-LOAD |
|
Load | Use conversion table |
Option-TR-CONV-TABLE-NAME-UNLD |
|
Unload | Use conversion table |
Option-Write-Report |
|
Unload |
Reports in Tools Write report in Work File and Report Options |
Option-Write-Restart-Info |
|
Load |
Write restart information in Work File and Report Options |
USE-OPTION-WORKPLAN |
|
Unload |
Workplans |
OPTION-WORKPLAN-Name |
|
Unload |
Workplans |
USE-PARAMETER-WORKPLAN |
|
Unload |
Workplans |
PARAMETER-WORKPLAN-Name |
|
Unload |
Workplans |
WORK-FILE-1-Name |
The complete path name assigned to Work File 1. |
Unload |
Work Files |
Report-File-Name |
The complete path name assigned to Work File 4. |
Unload |
Write report in Work File and Report Options |
Restart-File-Name |
The complete path name assigned to Work File 6. | Load |
Write restart information in Work File and Report Options |
Trace-File-Name |
The complete path name assigned to Work File 10. | All functions |
Traces in Tools |