ContentsIndexPreviousNext

A_SYB_PACKETSIZE

A_SYB_PACKETSIZE sets the size of network packets. Setting this variable can affect performance, since fewer and larger network calls can improve performance.

This variable must be set in the configuration file. It has no affect if it is set in a COBOL program via SET CONFIGURATION or SET ENVIRONMENT. The value of this variable is the largest size that the transport layer uses for network packets (although the underlying library may reduce the size specified; this is out of the control of the interface.) The largest value that can be specified is "32767". The default depends on which version of the client libraries are linked into the runtime, although "512" is the most common default.

Use this configuration variable to tune your database performance. To set the packet size to "8192" use:

     A_SYB_PACKETSIZE 8192

Setting this variable to "0" or to a negative value causes the Acu4GL product to use the default value.