/AWS1/CL_TRNTESTCONNRESPONSE¶
TestConnectionResponse
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_connectorid
TYPE /AWS1/TRNCONNECTORID
/AWS1/TRNCONNECTORID
¶
Returns the identifier of the connector object that you are testing.
iv_status
TYPE /AWS1/TRNSTATUS
/AWS1/TRNSTATUS
¶
Returns
OK
for successful test, orERROR
if the test fails.
iv_statusmessage
TYPE /AWS1/TRNMESSAGE
/AWS1/TRNMESSAGE
¶
Returns
Connection succeeded
if the test is successful. Or, returns a descriptive error message if the test fails. The following list provides troubleshooting details, depending on the error message that you receive.
Verify that your secret name aligns with the one in Transfer Role permissions.
Verify the server URL in the connector configuration , and verify that the login credentials work successfully outside of the connector.
Verify that the secret exists and is formatted correctly.
Verify that the trusted host key in the connector configuration matches the
ssh-keyscan
output.
io_sftpconnectiondetails
TYPE REF TO /AWS1/CL_TRNSFTPCNCTORCONNDETS
/AWS1/CL_TRNSFTPCNCTORCONNDETS
¶
Structure that contains the SFTP connector host key.
Queryable Attributes¶
ConnectorId¶
Returns the identifier of the connector object that you are testing.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CONNECTORID() |
Getter for CONNECTORID, with configurable default |
ASK_CONNECTORID() |
Getter for CONNECTORID w/ exceptions if field has no value |
HAS_CONNECTORID() |
Determine if CONNECTORID has a value |
Status¶
Returns
OK
for successful test, orERROR
if the test fails.
Accessible with the following methods¶
Method | Description |
---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
StatusMessage¶
Returns
Connection succeeded
if the test is successful. Or, returns a descriptive error message if the test fails. The following list provides troubleshooting details, depending on the error message that you receive.
Verify that your secret name aligns with the one in Transfer Role permissions.
Verify the server URL in the connector configuration , and verify that the login credentials work successfully outside of the connector.
Verify that the secret exists and is formatted correctly.
Verify that the trusted host key in the connector configuration matches the
ssh-keyscan
output.
Accessible with the following methods¶
Method | Description |
---|---|
GET_STATUSMESSAGE() |
Getter for STATUSMESSAGE, with configurable default |
ASK_STATUSMESSAGE() |
Getter for STATUSMESSAGE w/ exceptions if field has no value |
HAS_STATUSMESSAGE() |
Determine if STATUSMESSAGE has a value |
SftpConnectionDetails¶
Structure that contains the SFTP connector host key.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SFTPCONNECTIONDETAILS() |
Getter for SFTPCONNECTIONDETAILS |