The DLURLSERVER function returns the file server from a DataLink value with a linktype of URL. The value will always be in upper case.
If the argument can be null, the result can be null; if the argument is null, the result is the null value.
The result of the function is a varying-length string with a length attribute of that is equal to the length attribute of the argument.
If the DataLink value only includes the comment, the result returned is a zero length string.
The CCSID of the character string is the same as that of DataLink-expression.
INSERT INTO TABLA VALUES( DLVALUE('http://dlfs.almaden.ibm.com/x/y/a.b','URL','A comment') )then the following function operating on that value:
SELECT DLURLSERVER(COLA) FROM TBLAReturns the value 'DLFS.ALMADEN.IBM.COM'.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.