12.11.2012 Views

ijpds formats.book - Kodak

ijpds formats.book - Kodak

ijpds formats.book - Kodak

SHOW MORE
SHOW LESS

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 />

Set Fixed File (SFF)<br />

Set Fixed File (SFF)<br />

Byte Position Bytes Field Name Description<br />

4 - 44 IJPDS Formats<br />

The SFF record executes selected records in the fixed file identified in the<br />

record. The SFF record leaves the fixed-file pointer at the next record<br />

after the last record skipped or executed, or at the end of the file.<br />

The fixed file pointer indicates the current position in the file. The pointer<br />

is moved forward by the SFF and GFF records. It can be reset by the RFF<br />

record for a single file. The SOD and SDC records reset the pointers for<br />

all fixed files simultaneously.<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 0D<br />

identifies the SFF 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.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!