Download A-Shell Command Reference
Transcript
without having to modify the miame.ini file and re-launch the session. These variables accept only on or off
settings.
Note that depending on the operating system you are running, some of the options may not appear. (For
example, signals are only available under UNIX.)
In most cases the output of the traces go to the ashlog.log file (in the same directory as miame.ini, unless
specified elsewhere with the LOGDIR= command in the miame.ini). Traces that go to the screen are noted
specifically in the table below.
Note that any attempt to set any other parameter, even if it is a valid parameter under AMOS, will result in the
same error message ("?Invalid function").
Trace
AMOS
AMSORT
ATE
Logs information related to the use of XCALL AMOS and operations that
involve the launching of another ashell session.
Displays sort information.
Logs details of the GUI commands and responses.
BASERR
Logs all Basic errors, indicating if they were trapped or not.
DEBUG
This is a catch all for logging all kinds of information. It should only be used in
focused circumstances, since the amount of tracing data quickly becomes
overwhelming.
FOPENS
Logs information about file opens (both programs and data). Under Windows,
this also includes how many microseconds it takes to open the file, which can
sometimes be useful in identifying bottlenecks due to network issues.
GDIPRT
(Windows only) Logs information about processing of GDI printing directives.
GUI
(Windows only) Logs information about TAB(-10,x) commands and operations
on GUI objects.
ISAM
LOCKS
LP
MALLOC
RW
Logs all ISAM statements
Logs details of locking operations, and in some cases, displays (on the status
line) when the program is waiting on a lock.
Displays details about printing.
Log details of all memory allocations
Log all random/isam file reads and writes
SIGHUP
Log receipt of SIGHUP (hangup) and SIGTERM (kill).
SIGNAL
(UNIX only) Display received signals on screen (e.g. “[SIGINT]”, “[SIGALRM]”,
etc.)
SOCKS
Log details of socket operations (TCPX.SBR or ATE control socket)
SYSERR
Display details about all errors.
USRMEM
Log details about “user memory” operations – i.e. loading of programs,
subroutines, function key translation files, etc.
XCALL
page 84
Notes
Log all XCALLs (showing subroutine name and parameter list.) Often useful as
a way of tracing what a program is doing or where it was when an unexplained
error occurred.
A-Shell Command Reference