You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Chapter 4. Record Formats<br />
Reset Fixed File (RFF)<br />
Reset Fixed File (RFF)<br />
Byte Position Bytes Field Name Description<br />
4 - 46 IJPDS Formats<br />
The RFF record performs the same function as the SFF record except<br />
that the fixed-file pointer is first reset to the start of the file. Resetting the<br />
pointer to the start of the file allows the file to be used in random order.<br />
1-2 2 Record Length The length of this record, in binary, including the record length<br />
field. For example, hex 00 08 specifies a record length of 8 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 0E<br />
identifies the RFF record.<br />
5 1 Record Displacement The number, in binary, of records in the fixed file to be skipped. For<br />
example, hex 06 specifies that 6 records are to be skipped. The<br />
number can be zero (hex 00). The records specified in this field are<br />
skipped before the records specified in the next field are executed.<br />
6 1 Records Executed The number, in binary, of records to be executed. For example,<br />
hex 0A specifies that 10 records are to be executed. The number<br />
can be zero (hex 00). The records specified in this field are<br />
executed after the records specified in the previous field are<br />
skipped.<br />
7 1 Reserved This field is not used and must contain all binary zeroes.<br />
8 1 Fixed File Number The number, in binary, of the fixed file to be used. For example,<br />
hex 1D specifies a file number of 29. This becomes the current<br />
fixed file and is used in subsequent fixed file operations that do not<br />
specify a file number.