Product Documentation

FairCom RTG COBOL User Guide

Previous Topic

Next Topic

<relative>

Sub-option of <normalize>. Specifies if the relative file paths will be normalized to always begin with a "./" or ".\". Defaults to "no", meaning nothing is automatically added to the start of relative file paths.

Examples

<normalize><relative>no</relative></normalize> (default) does not normalize the file path passed by the application to RTG, so the file path is used as is.

<normalize><relative>yes</relative></normalize> cause all relative file paths to be prefixed with . and the platform path separator.

For instance, the following ctutil -info command opens the file with file path "custmast" (which is a relative file path), and the ctutil -info output shows that the file path used to open the file is ".\custmast":

>ctutil -info custmast |findstr path

File path               : .\custmast.dat

The file path is not normalized for absolute file paths like D:\data\custmast and \data\custmast:

>ctutil -info D:\data\custmast |findstr path

File path               : D:\data\custmast.dat

>ctutil -info \data\custmast |findstr path

File path               : \data\custmast.dat

TOCIndex