.FILE SPLIT PATHNAME
This subroutine is called to break down a pathname into it's path and filename parts.
Usage:
PASS <path_part> FIELD SHARE? Y
PASS <file_part> FIELD SHARE? Y
PASS <full_pathname> FIELD SHARE? N
GOSUB --- .FILE SPLIT PATHNAME
* check for errors
IF --- .FILE SPLIT PATHNAME NE
Description:
This subroutine must be passed three fields. One to return path part, one to return the filename part, and one with the full pathname to break apart.
<path_part> identifies the field to return the path part. Passing this parameter is required.
<file_part> identifies the field to return the filename part. Passing this parameter is required.
<full_pathname> identifies the field that identifies the full pathname to break apart. Passing this parameter is required.
This subroutine sets a result value in the corresponding results Token field.
Comments:
Read what other users have said about this page or add your own comments.
--
PeteBrower - 2011-08-12