12.11.2012 Views

ijpds formats.book - Kodak

ijpds formats.book - Kodak

ijpds formats.book - Kodak

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix D. Indexing and Multi-File IJPDS<br />

Multiple-File Job index Files<br />

Multiple-File Job index Files<br />

D - 4 IJPDS Formats<br />

Index File Structure<br />

The first index file is the same as a normal .ndx file in a single file job:<br />

pointers to blocks containing 1st document, every multiple-of-100<br />

document, and last document, with the last-document pointer being a<br />

duplicate of the last “every-100 pointer” in the case where the last<br />

document number is a multiple of 100. In the case of the 2nd through last<br />

index files of a multi-file job, the pointers are first, every multiple-of-100<br />

and last (with last duplicating next-to-last if last is a multiple of 100, same<br />

as the first file) but in the special case of the 2nd or subsequent files<br />

starting with a multiple of 100 the index file does not have an extra first<br />

entry as you might suspect, but is in fact made with just the one first entry.<br />

Therefore your routines making index files do not need to treat 2nd or<br />

subsequent files beginning with a multiple of 100 as a special case.<br />

Simply index the first document, every multiple-of-100 document after the<br />

first, and then the last document (even if the last is a 100-multiple and<br />

was indexed by the next-to-last index pointer).<br />

Index File Naming and Location<br />

Old Scheme (Prior to MPC4RUN.EXE Version 1.56)<br />

If a job is named “ralph” and the multiple files are named ralph.a01,<br />

ralph.a02, ralph.a03, etc., the index files are named a01.ndx, a02.ndx,<br />

a03.ndx, etc. and should be placed in a sub-directory named “ralph” in the<br />

system's spool directory (usually on the E: drive on the system). This is<br />

regardless of the location of the IJPDS files.<br />

New Scheme (MPC4RUN.EXE Version 1.56 and Newer)<br />

If a job is named “ralph” and the multiple files are named ralph.a01,<br />

ralph.a02, ralph.a03, etc., the index files are named ralphA01.ndx,<br />

ralphA02.ndx, ralphA03.ndx, etc. and should be placed in the same<br />

location as the IJPDS files unless otherwise specified by the optional<br />

"/IndexPath=" command line parameter for the controller. The index<br />

directory must support long filenames for this scheme (unless the job<br />

filenames are 5 characters or less). The E: drive on the CS220 is<br />

formatted as an HPFS partition and supports long filenames. The D: drive<br />

is formatted as FAT16 and does not support long filenames. Note that we<br />

always recommend that jobs not be placed on D: as that is the OS/2<br />

system drive, is only 500MB in capacity, and is mostly filled with OS/2<br />

system files.

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

Saved successfully!

Ooh no, something went wrong!