Copyright © TIBCO Software Inc. All Rights Reserved

> tibemsAdmin_SetCommandTimeout
> Function
> Purpose
> Sets the command timeout.
> C Declaration
> tibems_status tibemsAdmin_SetCommandTimeout(
> tibemsAdmin admin,
> tibems_long timeout);
> COBOL Call
> CALL "tibemsAdmin_SetCommandTimeout"
> USING BY VALUE admin,
> BY VALUE timeout,
> RETURNING tibems-status
> END-CALL.
> Parameters

> Parameter | Description
> admin | Set the command timeout on this administrative connection.
> timeout | The length of time, in milliseconds, to wait for the server to respond to a command. When not specified, the default command timeout is 60000 (60 seconds).

> Remarks
> Sets the command timeout. The command timeout determines how long, in milliseconds, the command waits for the server to respond. 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_GetCommandTimeout on page 420

Copyright © TIBCO Software Inc. All Rights Reserved