# FUNCS
> [HTML Version](funcs.htm)
_Written August 2025_
The /FUNCS=program switch facilitates viewing of the FUNCS traces with automatic translation of the @xxxxxx locations into the corresponding function and procedure names. This requires that VIEWASHLOG have access to the [LSX file](lsxfilescompil.htm.md) corresponding to the specified program, either in the current directory, or you can specify another directory via the /LSX=directory switch. Using the FNDATETIME example above and assuming that the FNDATETIME.LSX file is the SRCARC: directory, this command ...
.VIEWASHLOG/FUNCS=FNDATETIME/LSX=SRCARC:
... creates a view similar to this with the @xxxxxx locations replaced by the actual function names...
... -> @Fn'Date'To'MM'DD'CCYY\$( S50\[today+3\],S3\[\] )
... -> @fn'isalpha( S1\[t\] )
... -1 <- @fn'isalpha()
... -> @Fn'Date'Alias'To'MM'DD'CCYY\$( S50\[today+3\],S3\[\] )
... 08/21/2025 <- @Fn'Date'Alias'To'MM'DD'CCYY\$()
... 08/21/2025 <- @Fn'Date'To'MM'DD'CCYY\$()
Note that although the FUNCS TRACE flag applies to all programs and SBX's, VIEWASHLOG can only translate the locations to names for one module at a time. In order to focus on an SBX, append it to the /FUNCS=program switch (separated by a colon), e.g.
.VIEWASHLOG/FUNCS=MYPROG:MYSBX/LSX=SRCARC: