Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Other Uses for Models z/OS MVS IPCS Customization SA23-1383-00 |
|
Format models and the format model processor can be used for purposes other than formatting control blocks. They can be used for decoding flag bytes where each bit has a unique significance. You can construct a model of subheaders, where each one of the subheaders has a unique general view definition that corresponds to the bit position in the flag byte. To perform the decoding, take the contents of the flag byte and use it for the view control in field ADPLPFMT. Put the address of the model in field ADPLPPTR and call the format model processor service. A nonzero buffer address should be provided to prevent any storage access attempt by the format model processor service. Another use of models is to present summarized dump data. This is done by moving the data into a locally defined structure and creating a model with labels, offsets and lengths corresponding to the structure. Still another use is to obtain a hexadecimal dump representation
of storage that contains variable length fields. Construct a model
with one field entry that specifies the hexadecimal dump view (X'0400'),
data offset 0, and a field length of the maximum size expected. Then
do the following:
|
Copyright IBM Corporation 1990, 2014
|