Troubleshooting
Problem
When working with the command-line version of Rational® TestManager's "TSS" API, many error codes are not documented. We have listed them all and briefly explained those that are missing in the documentation.
Resolving The Problem
This table presents TSS C interface exit codes, and their command line equivalent respectively.
name | C interface exit code | TSS (command line) error |
TSS_NOOP | 1 | 1 |
TSS_OK | 0 | 0 |
TSS_FAIL | -1 | 2 |
TSS_EOF | -2 | 3 |
TSS_NOSERVER | -3 | 4 |
TSS_INVALID | -4 | 5 |
TSS_SYSERROR | -5 | 6 |
TSS_NOTFOUND | -6 | 7 |
TSS_ABORT | -7 | 8 |
TSS_INIT | -8 | 9 |
The following errors are missing in the documentation:
- 1 (TSS_NOOP).
It is returned when a function can not be executed a second time (i.e. TSSServerStart when already started).
This can happen when the function is disallowed by the runtime environment (TM vs. standalone), or by option settings (eg. environment variable TSSDisable). There are 9 classes of functions that can be disabled: datapools, timers, commands, think, delay, sync points, shared variables, monitor, and log.
- 2 (TSS_FAIL)
is returned for: zero length file, no rows in file, error reading file, no columns defined, inconsistent number of columns, bad .spc file, bad offset file (multi-user collision), or inconsistent record count.
- 3 (TSS_EOF)
simply means end of file is reached.
Historical Number
157416065
Was this topic helpful?
Document Information
More support for:
Rational TestManager
Software version:
2002.05.20
Document number:
329023
Modified date:
16 June 2018
UID
swg21132430