Network Job Entry (NJE) Formats and Protocols
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


String Control Byte (SCB)

Network Job Entry (NJE) Formats and Protocols
SA32-0988-00

In BSC and CTC NJE transmissions, the record segments are first compressed. This compression results in string control bytes (SCBs) interspersed in the stream data with duplicate character strings compressed. The resulting format always begins with an initial SCB and may have additional SCBs interspersed.

The SCB defines how many blanks or repeating non-blank characters are to be inserted by the receiver (up to 31) or the length of strings without any duplicate characters (up to 63 characters). An SCB must appear at least once every 64 bytes, and describe up to 63 bytes of following data. A “stand-alone” SCB with a value of zero, sometimes referred to as an “EOR SCB”, is always placed at the end of each NJE record.

The SCB bit settings specify the compression parameters. SCBs are always used, whether or not the data is actually compressed; that is, even non-compressed data must be interspersed with SCBs that have the two high-order bits set (see Table 1).

Table 1. SCB Definition
2 high-order bits Remaining bits Meaning
00 00 0000 Indicates the end of the NJE record.
01 00 0000 Indicates the transmission of the stream should be terminated.
10 0b bbbb Indicates that ‘bbbbb’ blanks should be inserted after the SCB.
10 1d dddd Indicates that the single character following the SCB should be duplicated ‘ddddd’ times.
11 cc cccc Indicates that ‘cccccc’ non-compressed characters (maximum of 63) follow the SCB. (The record is compressed; these characters are not.)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014