SOURCEFILE

SOURCEFILE returns a nonvarying character string containing the name of the file that contains the statement where this function is invoked.

Read syntax diagramSkip visual syntax diagramSOURCEFILE()

The SOURCEFILE built-in function can be used in restricted expressions.

The string returned is system dependent and should be used for tracing and debugging purposes only.