SOURCELINE

SOURCELINE() returns a FIXED BINARY(31,0) value that is the line number of the statement where this function is invoked, within the file that contains that statement. If the statement extends over several source lines, the number returned is that of the line on which the statement starts.
Read syntax diagramSkip visual syntax diagram
>>-SOURCELINE--(--)--------------------------------------------><

SOURCELINE() can be used in restricted expressions.






Published: 23 December 2018