public interface RecordOrientedDatasetReaderPattern {
/**
* This method is invoked during the job setup phase.
* The properties are the ones specified in the xJCL.
* @param props
*/
public void initialize(Properties props);
/**
* This method is invoked only once immediately after
* the Zfile is opened. It should be used to process
* header information if any.
* @param reader
* @throws IOException
*/
public void processHeader(ZFile reader) throws IOException;
/**
* This method should read the next record from the Zfile
* and return it in an appropriate form (as an intermediate object)
* @param reader
* @return
* @throws IOException
*/
public Object fetchRecord(ZFile reader) throws IOException;
}