!ABSPATH() |
![]() ![]() ![]() |
The !ABSPATH() subroutine forms an absolute pathname from a directory and file path.
Format
CALL !ABSPATH(path, dir, file)
where
The !ABSPATH() subroutine uses the supplied directory and file path to construct an absolute pathname.
If file commences with @QMSYS, path is returned as the file value with the @QMSYS token replaced by the QMSYS account pathname.
If file commences with a directory separator character, path is returned as file.
If file commences with a Windows drive specification, path is returned as file.
Otherwise, path is formed by concatenating dir and file, inserting a directory separator character if required.
Examples
|