Your location:Home>开发控件 版本控制 >开发控件

UNICOM AUTOMON/VTAM - OS390

AUTOMON®/VTAM - OS390

 

Enterprise-Wide VTAM Level Compression Utility

 

AUTOMON/VTAM is a terminal datastream compression product which runs at the VTAM level. Its function is to eliminate, as much as possible, superfluous characters in datastreams that are transmitted to and from the host CPU and the terminals. Since the number of characters in a datastream is the major factor in determining the response time for an on-line transaction, the elimination of extra characters can significantly reduce that time. Most users experience a 55 to 80% reduction in terminal traffic with AUTOMON/VTAM, which results in dramatic savings both in time and cost of the computer installation usage.

 

FEATURES

The average outbound terminal data stream contains from 20 to 25 percent repetitive characters; elimination of: Strings, spaces, nulls, asterisks, dashes, etc. are common in almost all output displays.

Most application programs and map generators handle a string of repetitive characters as a single field, which may or may not be preceded by a START-BUFFER-ADDRESS (SBA) sequence.

Thus, a row of 30 asterisks starting somewhere on the screen would appear in hexadecimal form as:
5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5C 5C 5C 5C 5C 5C 5C 5C 5C 5C 5C 5C
for a total field length of 30 bytes.

This same field of 30 asterisks can be sent to the terminal and displayed properly in only four bytes by taking advantage of the buffer display logic that is present in all 3270-mode devices. To do this, we can use the REPEAT-TO-ADDRESS (RA) sequence instead of the SBA sequence. With an RA sequence use of, you tell the device what character you want to repeat, and the ending buffer address of the field. Thus, the following sequence would display exactly the same on the terminal, but only needs to transmit four bytes:
3C xx xx 5C (The xx xx is the buffer address of the end of the stream).

AUTOMON/VTAM examines the outgoing data streams and looks for fields of repetitive characters: elimination of that excess four bytes. When one is found, the ending address of the field is calculated and an RA sequence is inserted into the data stream. The extra characters in the original field are no longer needed and are discarded.

Outbound image saving

It is very often the case in day-to-day terminal operation that an operator will use the same transaction continuously over a period of time. This usually involves the same basic display with only the data fields changing from one display to the next. That is, the screen titles and text fields remain the same.

The problem with this technique is that it requires more sophisticated programming effort. The application program needs to know that the display in question is the same display (except for the data fields) that was sent last time. This can involve quite a bit more program logic, and most application programs just don't go to that much trouble. It's far easier to erase and re-send all data.

AUTOMON/VTAM imposes this programming technique on all output data streams; outbound without placing the burden on the application programs.

An image in outbound compression of each terminal buffer is maintained in memory. This image is always an exact replica of what is displayed on the terminal at any given time. Now, when an output data stream is sent to the terminal, AUTOMON/VTAM compares the outgoing image with the image of the buffer.

If it determines that the outgoing data stream is an entirely different screen display, the repetitive characters-elimination of elimination logic is performed on this data stream, then it is sent to the terminal, leaving the ERASE command undisturbed.

If, however, the outgoing data stream contains many of the same title and text fields as currently in the image of the terminal buffer, AUTOMON/VTAM will remove the ERASE command, making it a data-only write, and also remove all fields in the outgoing data stream that are already present on the terminal screen. Even the data fields are examined, and removed if the same data is being sent again.

The result is a tremendous reduction, system-wide, in the amount of data that is transmitted to the terminals.

Inbound image saving

On the input side, that is, the data being transmitted from the terminal to the host system, there is nothing that can be done to reduce the amount of data that is keyed by the operator. There is, however, something that can be done to reduce the total amount of data transmitted from the terminal in many cases.

When an operator enters data into any field on the screen, the logic contained in the terminal causes a flag to be turned on in the attribute byte of that field, indicating that the field was modified. This flag is called the modified-data-tag:use of, or MDT.

The MDT can also be turned on by an application program when the data stream is transmitted to the terminal. If this is done, the field will be transmitted back from the terminal, whether the operator enters anything in that field or not. It is a very common programming technique, to turn on the MDT for many (in some cases all) of the fields prior to sending the data stream to the terminal. This eliminates the necessity in the application program of determining which fields the operator modified.

Since AUTOMON/VTAM keeps an image: in inbound compression in memory of the current state of the terminal screen, it knows which fields had MDT on, and therefore would normally have been re-transmitted. If these fields do not come back in, they are inserted into the data stream prior to sending it on to the application system. Thus, when the application program receives the input data, it looks just as it would normally appear. The application program never knows the difference, but the actual amount of data transmitted is significantly reduced.

北京哲想软件有限公司