os.Path.islink

The os.Path.rwx method is used to check whether a file is a UNIX symbolic link. The syntax of the function is as follows:

CALL os.Path.islink(f_name) RETURNING result

 

where:

·         f_name = a string variable standing for the file name,

·         result = TRUE if the file is a symbolic link or FALSE otherwise.