This Natural profile parameter can be used to activate a dynamic parameter profile.
Possible settings | Profile-name or special option, see PROFILE Parameter Syntax. | |
---|---|---|
Default setting | ||
Dynamic specification | yes | |
Specification within session | no |
Notes:
FPROF
, which can be used to
specify a system file for parameter profiles (FPROF
).
When you invoke Natural with dynamic profile parameters, instead of having to specify a whole string of individual parameters each time you invoke Natural, you can specify the string of parameters once, store this string under a profile name and then invoke Natural with only one dynamic parameter as follows:
PROFILE=profile-name |
Or:
PROFILE=special-option |
Where:
Syntax Element | Value | Explanation |
---|---|---|
profile-name |
1 - 8 characters | The name of the profile to be activated. |
special-option |
AUTO |
Natural takes the current TP user ID (as contained
in the system variable *INIT-USER )
as profile name, which means that the profile defined under the name
corresponding to that ID is used.
If no such profile is found, a profile named |
TERMINAL |
Natural takes the current terminal ID (as
contained in the system variable *INIT-ID )
as profile name, which means that the profile defined under the name
corresponding to that ID is used.
If no such profile is found, a profile named |
|
PROGRAM |
Natural takes the name of the program currently
executing as Natural (as contained in the system variable
*INIT-PROGRAM )
as profile name, which means that the profile defined under this name is used.
If no such profile is found, a profile named |
By default, the parameter profile is read from the current
FNAT
system file.
To read it from a different system file, you can specify the desired
database ID (dbid
), file number
(fnr
), password
(password
) and cipher key
(cipher-key
) after the
profile-name
, or after one of the above
special options, as follows:
PROFILE=(profile-name,dbid,fnr,password,cipher-key) |
To ensure that all profile parameters are read from the same system file
(other than FNAT
), specify the following in the
Natural
parameter module:
PROFILE=(,dbid,fnr) |
Notes:
PROFILE
parameter is specified within
a parameter module, it is evaluated after the other parameters in the
parameter module, but before any dynamically specified profile
parameters are evaluated; this means that parameters specified within the
profile can be overridden by individually specified dynamic parameters.
USER
.
PROFILE
parameter
specification cannot be overwritten by another PROFILE
.
So you can have multiple parameter profiles which are evaluated all in a
sequence.
PROFILE
parameter cannot be used with
ADARUN MODE=SINGLE
.