COM Constants
The following constants are used by the AMT-COBOL COM module. Please refer to the names instead of the numbers. The names will not change, but the numbers may.LogLevelCode
Name | Number | Description |
LogNone |
0 |
No logging is performed |
LogError |
1 |
Only error messages will be logged |
LogAll |
2 |
All COM messages will be logged |
ResponseCode
Name | Number | Description |
HIFailed |
0 |
Failed to create a connection with the Transaction server |
OK |
1 |
Command succeeded |
OKLogin |
2 |
Connection to Transaction server succeeded |
TimedOut |
3 |
Command timed out |
ServerError |
4 |
An error occurred in the Transaction server |
SystemNotResponding |
5 |
The Transaction Server is not responding |
ProtocolError |
6 |
A protocol error occurred |
Disconnected |
7 |
The connection to the Transaction Server was terminated |
Exception |
8 |
A general exception occurred when executing a command |
Waiting |
9 |
The system is waiting |
Error |
10 |
A general error occurred when executing a command |
OKBye |
11 |
The connection was successfully terminated |
NoappServer |
12 |
No Transaction Server found |
NoActiveForm |
13 |
There is no active form when executing a Transmit |