Chapter Contents

Previous

Next
MAXI

MAXI



Specifies the maximum packet length for data sent from the local host to the remote host

TELNET


Syntax
Syntax Description

Syntax

MAXI bytes;

Syntax Description

bytes
is an integer from 72 through 4100. The default value is 512.

Details

The MAXI statement specifies the maximum packet length for data sent from the local host to the remote host (an inbound packet).

This statement is typically used in conjunction with the MAXO statement. The MAXI and MAXO statements can be used to restrict packet lengths when the length of the packet is limited by the hardware connections or maximum message sizes.

You can also indirectly control the transmission time between the local host and the remote host with the MAXI and MAXO statements. For example, suppose you specify 600 bytes for both the MAXI and MAXO statements and the baud rate is 1200. With 600-byte packets at 1200 baud, it takes about 6 seconds to transmit one packet between the local host and the remote host. If you specify a packet length less than 600 in the MAXI and MAXO statements, the packets are smaller and more of them are necessary to send the same data, but the transmission time for each packet is less. However, the total time may increase because of the overhead required to process the extra packets.

You may want to change the default value to smaller values when there is interference in the communication line. The advantage is that fewer errors can occur with smaller data packets, which means fewer repeat transmissions are needed.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.