Program configuration file
A program configuration file is a comma-separated values (CSV) file that you can use to specify program configuration values for individual programs.
- An IBM® program configuration file, which is named ibmconfig.csv.
- A user program configuration file, which is named usrconfig.csv.
- UTDF (the z/TPFDF central database routines)
- Unallocated programs that have no base program attribute table (PAT) entries.
You can load a program configuration file by using the image loader or E-type loader.
Whenever a new version of either program configuration file is activated or deactivated by using the E-type loader, configuration information is updated in memory to match the contents of both the IBM and user program configuration files that have the highest activation numbers for new ECBs to use. The IBM program configuration file is processed first, and then the user program configuration file is processed. If an entry exists in both the IBM and user program configuration files, the entry in the user program configuration file takes effect, even if the IBM program configuration file has a higher activation number. The system is not paused while the configuration information is being updated in memory, so a brief timing window exists while the configuration information for some programs matches one version of the file and the configuration information for other programs matches another version of the file.
The z/TPF product includes only an IBM program configuration file, which is stored as base/cntl/ibmconfig.csv. You can create user program configuration files by copying the IBM program configuration file. The loadtpf utility supports subsystem-unique copies of user program configuration files from unique directories. For more information about the location in the file system to create your user program configuration files, see the comment in the base/cntl/tpf_app_usr.loadfile file.
Format
version
prog, owner, fepstatus, collectionstatus, library
.
.
.
prog, owner, fepstatus, collectionstatus, library
Field | Applicability | Description |
---|---|---|
version | Version 1 or later | An integer that indicates the version of the file. |
prog | Version 1 or later | The 4-character program name. The program name is the shared object name, not an entry point name in a shared object. |
owner | Version 1 or later | The 32-character ECB owner name in the form of
high.mid.low, where:
You can use this field to define how the z/TPF system automatically sets ECB owner names for your application. By specifying this field, you do not have to modify your application to issue the EOWNRC macro or tpf_eownrc function to set ECB owner names. Notes:
|
fepstatus | Version 2 or later | One of the following values:
If an E-type loaded program is heavily used or might potentially cause heavy system overhead, you can specify this program as a frequently entered program to reduce overhead and lock contention that are generated by running this program when the program is in an active loadset. For programs other than special linkage libraries, NOFEP is the default value. For special linkage libraries, which are CISO, CTAL, CTIS, CTAD, and CTDF, this field must be omitted because they automatically use frequently entered program linkage.
|
collectionstatus | Version 3 or later | One of the following values:
|
library | Version 4 or later | One of the following values:
The library indicator is used by different system services, such as the z/TPF software profiler, which has special processing for a library program. |
Examples
The following example shows a program configuration file. After the file is loaded to and activated on the z/TPF system, the following conditions occur:
- When an ECB enters the Q000 program, the owner name of the ECB is set to
fare quote A
. - When an ECB enters the QABC program, the high-level qualifier in the owner name is changed to
flight
. - When an ECB enters the QDEF program, the mid-level qualifier in the owner name is changed to
newmid
. - When an ECB enters the QDEF program, the ECB and associated child ECBs are excluded from name-value pair collection and real-time runtime metrics collection results.
- The QABC and QEFG programs are processed as frequently entered programs, and the Q000 and QDEF programs are processed as nonfrequently entered programs.
- The QEFG program is considered a library program.
4
Q000,fare.quote.A,,,
QABC,flight.*.* ,FEP,,NO
QDEF,*.newmid.*,NOFEP,EXCLUDE,NO
QEFG,,FEP,,YES