IBM Support

TestManager TSS API error codes

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.


nameC interface exit codeTSS (command line) error
TSS_NOOP11
TSS_OK00
TSS_FAIL-12
TSS_EOF-23
TSS_NOSERVER-34
TSS_INVALID-45
TSS_SYSERROR-56
TSS_NOTFOUND-67
TSS_ABORT-78
TSS_INIT-89


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.



[{"Product":{"code":"SSSHVH","label":"Rational TestManager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Integrations: IBM","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2002.05.20","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

157416065

Document Information

More support for:
Rational TestManager

Software version:
2002.05.20

Document number:
329023

Modified date:
16 June 2018

UID

swg21132430