Specifying global options and substitution variables
In a product options file (POF), you can specify most product options at the global or common level, and specify or override all product options at the SSID level.
The POF is part of the CNTL data set.
After you modify the file, you can set it on the PACLOG Main Menu for online use, or on the EXEC PARM for use with batch programs.
User substitution variables
You can use #USER1 through #USER9 and #VER1 through #VER3 as substitution variables. The variables are optional and have a maximum length of 54 characters. The length represents a data set name of 44 characters and, if it is a PDS, a member name in parens.
If you define the same variable more than once, the system only reads the last value.
Every place where you use a variable in a POF, the specified value replaces the variable.
You cannot use the same #USERx and #VERx substitution variable more than once in the same option.
Global and specific options
Options are valid for all Db2 subsystems, unless you add the SSID to the beginning of the option. SSID represents a specific Db2 subsystem ID.
If you have two options, one that is global and one with the SSID, the option that is specified with the SSID overrides the value for that subsystem. Non-specified subsystems use the global value.
You can specify all options as global, except for the following, which must begin with an ssid:
- ssid.BSDS1=
- ssid.BSDS2=
- ssid.HIST=
Sample POF template
The following sample POF displays all the variables that you can specify.
THE VALUE WILL REPLACE OCCURRENCES OF THE VARIABLE NAMES.
THE MAXIMUM LENGTH OF A SUBSTITUTION VALUE IS 54. THE SAME
SUBSTITUTION VARIABLE CANNOT BE USED MORE THAN ONCE IN A SINGLE
OPTION VALUE.
#USER1=
#USER2=
#USER3=
#USER4=
#USER5=
#USER6=
#USER7=
#USER8=
#USER9=
#VER1=
#VER2=
#VER3=
OPTIONS ARE SPECIFIC TO A DB2 SUBSYSTEM IF PRECEDED BY ssid.
OPTIONS ARE VALID FOR ALL DB2 SUBSYSTEMS IF NOT PRECEDED BY ssid.
OPTIONS PRECEDED BY ssid. WILL OVERRIDE THE SAME OPTION THAT IS
NOT PRECEDED BY ssid.
BSDS1 - required, length 44, valid data set name
BSDS2 - required, length 44, valid data set name
BUFPAGES - not required, numeric range 30-512, default 64
DSNLOAD - required, length 44, valid data set name
HIST - required, length 44, valid History file data set
TSTAMP - required, Y or N, default Y
WORKUNIT - required, length 8, default SYSALLDA
ZIIP - required, length 8, ENABLED or DISABLED
THE FOLLOWING OPTIONS MUST BE PRECEDED BY ssid.
WHERE ssid IS THE DB2 SUBSYSTEM ID.
ssid.BSDS1=
ssid.BSDS2=
ssid.HIST=
Related topic