IBM Support

Client timeout values in milliseconds

News


Abstract

Specify connect and I/O timeout values in milliseconds

Content

You are in: IBM i Technology Updates > Welcome to IBM Integrated Web Services for i Technology Updates >  Client timeout values in milliseconds

What is it?

The client transport API supports the setting of the connect timeout and the I/O timeout values in milliseconds.
The following new properties are now available to use:
  • AXISC_PROPERTY_CONNECT_TIMEOUT_MILLI
    The next parameter must be a pointer to an integer.  The integer value is used as the connect timeout value. A value less than one results in the system default connect timeout to be used. The specified value is in milliseconds.
  • AXISC_PROPERTY_IO_TIMEOUT_MILLI
    The next parameter must be a pointer to an integer.  The integer value is used as the I/O timeout value. A value less than one results in an indefinite wait. The specified value is in milliseconds.
RPG Example:
// Set connect timeout value to 500 milliseconds                                                      
propInt = 500;                                                                            
rc = axiscTransportSetProperty(tHandle: AXISC_PROPERTY_CONNECT_TIMEOUT_MILLI : %addr(propInt)); 

Why use it?

Users who want a more granular timeout value than what was previously provided, which required values to be specified in seconds.
 

Availability

The support is enabled in the following PTFs:

V7R5M0 SI81063, SI81698                   
V7R4M0 SI81064, SI81700
V7R3M0 SI81065, SI81701

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"HW1A1","label":"IBM Power Systems"},"Component":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
08 November 2022

UID

ibm16619189