# tibemsAdmin_GetCommandTimeout

Function

## Purpose

Get the command timeout.

## C Declaration

    tibems_status tibemsAdmin_GetCommandTimeout(
        tibemsAdmin admin,
        tibems_long* timeout);

## COBOL Call

    CALL "tibemsAdmin_GetCommandTimeout"
     USING BY VALUE admin,
           BY REFERENCE timeout,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`admin` | Get the command timeout of this administrative connection.
`timeout` | The function stores the timeout in this location.

## Remarks

Get the command timeout in milliseconds. The command timeout determines how long to wait for the server to respond to a command. If the server does not respond within the timeout limit, the command throws an exception. The default timeout is `60000` (60 seconds).

## See Also

`tibemsAdmin_SetCommandTimeout`

Copyright © Cloud Software Group, Inc. All rights reserved.