Please enable JavaScript to view this site.

A-Shell Reference

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 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...

...<FNDATETIME:62e>     -> @Fn'Date'To'MM'DD'CCYY$( S50[today+3],S3[] )

...<FNDATETIME:1a3e>      -> @fn'isalpha( S1[t] )

...<FNDATETIME:101>       -1 <- @fn'isalpha()

...<FNDATETIME:1a50>      -> @Fn'Date'Alias'To'MM'DD'CCYY$( S50[today+3],S3[] )

...<FNDATETIME:3ad6>      08/21/2025 <- @Fn'Date'Alias'To'MM'DD'CCYY$()

...<FNDATETIME:1a66>    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: