z/OS MVS Programming: Sysplex Services Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Examples of Message Data Element Formats for Multi-Buffer Messages

z/OS MVS Programming: Sysplex Services Guide
SA23-1400-00

The figures at topics Figure 1 through Figure 4 show examples of various message data element formats. Fields within each element need not be in any particular order. The examples show only a few of the possibilities.

Figure 1 shows a queue of message data elements in which each element contains a buffer address and a pointer to the next element in the queue. All buffers reside in the same address space and are to be accessed using the ALET specified by the PARTALET parameter. All buffers are of the length specified by the PARTLEN parameter.

Figure 1. Example of Queue of Message Data Elements. Each element contains a buffer address. The length of each buffer is specified by PARTLEN and the ALET to qualify each buffer address is specified by PARTALET.
Example of Queue of Message Data Elements
Figure 2 shows a table of message data elements in which each element includes the following information relating to the buffer it describes:
  • The ALET to qualify the buffer address
  • The length of the buffer
  • The address of the buffer.
Figure 2. First Example of Table of Message Data Elements. Each element contains the ALET to qualify the buffer address, the buffer length, and the buffer address.
First Example of Table of Message Data Elements

Figure 3 shows a table of message elements in which each element contains a buffer. No ALETs are specified because the buffers reside in the table itself. A separate table, specified by PARTLENTBL, contains the length of each buffer.

Figure 3. Second Example of Table of Message Data Elements. Each element contains a buffer. The length of each buffer is contained in the table specified by PARTLENTBL.
Second Example of Table of Message Data Elements

Figure 4 shows a table of message elements in which each element contains a buffer address. A separate table, specified by PARTALETTBL, contains the ALETs to be used with each buffer address. A separate table, specified by PARTLENTBL, contains the length of each buffer.

Figure 4. Third Example of Table of Message Data Elements. Each element contains a buffer address. The length of each buffer is contained in the table specified by PARTLENTBL. The ALET to qualify each buffer address is contained in the table specified by PARTALETTBL.
Third Example of Table of Message Data Elements

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014