Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 4. Record Formats<br />
Set Origin (SOR)<br />
Set Origin (SOR)<br />
Byte Position Bytes Field Name Description<br />
4 - 34 IJPDS Formats<br />
The SOR record sets the origin for subsequent SPO and SPX records to<br />
the current cursor position. The origin is set to 0,0 at the start of each new<br />
page buffer by the SOD, SDC, SOP, and WFC records.<br />
An SPO or SPX record sets the current cursor relative to the origin.<br />
Following an SOR record, the SPO or SPX record sets the current cursor<br />
relative to the new origin.<br />
1-2 2 Record Length The length of this record, in binary, including the record length<br />
field. For example, hex 00 04 specifies a record length of 4 bytes.<br />
3 1 Cyclic Record Count A binary cyclic record count using modulo 256. Each record in the<br />
job is counted, starting with hex 01 for the first record. The 255th<br />
record is hex FF and the 256th record is hex 00. This count is used<br />
to verify record sequence.<br />
4 1 Control Code A binary code that identifies the record type. A value of hex 34<br />
identifies the SOR record.<br />
Refer to the Glossary at the back of this manual for definitions of origin,<br />
starting position, cursor position, and other related terms.