>>-DLURLPATHONLY--(--datalink-expression--)--------------------><
The schema is SYSIBM.
The DLURLPATHONLY function returns the path and file name necessary to access a file within a given server from a DATALINK value with a linktype of URL. The value returned NEVER includes a file access token.
The argument must be an expression that results in a value with data type DATALINK.
The result of the function is VARCHAR(254). If the argument can be null, the result can be null; if the argument is null, the result is the null value.
If the DATALINK value only includes the comment the result returned is a zero length string.
Example:
DLVALUE('http://dlfs.almaden.ibm.com/x/y/a.b','URL','a comment')
then the following function operating on that value:
DLURLPATHONLY(COLA)
will return the value:
/x/y/a.b