Application Programming Interface Guide > Built-in Procedures > Procedures Reference > TestAllDataSourceConnections
 
TestAllDataSourceConnections
Test all data sources to see if they are operational.
Location
/lib/resource/
Inputs
N/A
Outputs
status: If SUCCESS, all enabled data sources are operational. If FAIL, at least one test failed. These values are available on the Constants tab of the /lib/util/System SQL definition set.
messages: A list of the messages generated during the test. Messages may be present in both SUCCESS and FAIL conditions. Messages are separated by newline characters.
Exceptions
SecurityException: If the user is not an administrator.