Version control file index
File version control requires that versioned files be represented by entries in a subdirectory of a mounted, explicitly versioned file system known as a version control file index (VCFX). Symbolic links permit files under version control to be handled like they reside in any directory in any file system.
The /sys/tpf_pbfiles target in the system pseudo-file system (SYSFS) provides a symbolic link to the appropriate
z/TPF collection support file system (TFS) subdirectory for program base unique
files. Each file referenced in the VCFX through
the /sys/tpf_pbfiles target is a symbolic link to the corresponding program base
unique file version in TFS.
Load and activate files
The E-type loader provides support for versioned files. Versioned files are files that are loaded and activated with a ZOLDR command. Table 1 lists the commands that you can use to manage loaded files.
| Command | File support |
|---|---|
| The ZOLDR commands. | Process files that are both program base unique and not program base unique to the TFS. |
| ZTPLD | Load program base unique files to the TFS. |
| ZFILE fver | Locate the specific version of a file. |
| ZDFLV | Display file version information. |
| ZMDES command with the LOCATE parameter specified | Manage common deployment descriptors |
Delete files
The E-type loader provides support to delete files. Use the @@DELETE statement in the offline loader input file to delete program base unique files or files that are not program base unique.
When you use the E-type loader to delete files, the files are deleted only for the specified loadset. Any ECB with an activation number that can use the loadset cannot find the deleted files. An ECB with an older activation number can still access the base file or a version of the file that was loaded in an earlier loadset.
If the E-type loader is used to delete a file in a loadset, the file is restored when the loadset is deactivated, and the base version of the file is deleted when the loadset is accepted.
You can use the ZTPLD command to delete base copies of program base unique files. If you want to use the ZTPLD command to delete files that are not program base unique, update the UELK user exit by specifying the files to be deleted. For more information about updating the UELK user exit, see the comments in the user exit (uelk.c).