z/OS MVS Program Management: Advanced Facilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Text encoding and compression

z/OS MVS Program Management: Advanced Facilities
SA23-1392-00

In those cases where some value is gained by a translator's encoding, compressing, or encrypting some or all of the text, the following structures appear in the "Data" portion of the record described in Table 1, depending on the "Text Encoding Type". Only one method of encoding is supported.

Note: Run-time decoding and/or decryption is the responsibility of the loaded program, which should place its encoded text into a special class that can be loaded (on demand) at run time.
Table 1. Text encoding types
Text Encoding Data Field
X'0001' The data field of the text record contains one or more instances of the following three sub-fields, as determined by the "Data Length" field:ieab2g02
  • A nonzero unsigned repeat count R (Binary(2))
  • A nonzero unsigned string length L (Binary(2))
  • A string of bytes (Char(L)) whose length is specified by the preceding string length sub-field.

The expanded text will be R×L bytes long and will contain R copies of the L bytes.

X'0002'- X'FFFF' Reserved.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014