Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example of an FMH-5 z/OS Communications Server: SNA Programmer's LU 6.2 Guide SC27-3669-00 |
|
As an example, suppose that an FMH-5 header needs to be built for a transaction program named TP1. This FMH-5 includes access security subfields specifying an identifier of PROG1, a password of SAMPLPW, and appended PIP data of TEST. The conversation type is basic and the synchronization level is confirm. There is no LUW or conversation correlator. In EBCDIC, TP1, PROG1, SAMPLPW, and TEST have the following
values:
Therefore, the access security subfield information is
a hex string of:
The PIP parameter is a hex string of:
The length of the entire FMH-5, including the access information,
but not including the PIP data, is 32 bytes (X'20'). The
entire FMH-5, including appended PIP data, is a hex string of:
Figure 1 shows the final FMH-5 broken down into its various fields. The FMH-5 length field does not include the PIP data, but byte 4 must be set to X'08' to indicate that the PIP data is there. Figure 1. Sample FMH-5 divided
into its component fields
|
Copyright IBM Corporation 1990, 2014
|