public interface RecordOrientedDatasetReaderPattern
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
fetchHeader()
Returns the header data that was obtained during the processHeader
call
|
java.lang.Object |
fetchRecord(com.ibm.jzos.ZFile reader)
This method should read the next record from the Zfile
and return it in an appropriate form (as an intermediate object)
|
void |
initialize(java.util.Properties props)
This method is invoked during the job setup phase.
|
void |
processHeader(com.ibm.jzos.ZFile reader)
This method is invoked only once immediately after
the Zfile is opened.
|
void initialize(java.util.Properties props)
props
- void processHeader(com.ibm.jzos.ZFile reader) throws java.io.IOException
reader
- java.io.IOException
java.lang.Object fetchRecord(com.ibm.jzos.ZFile reader) throws java.io.IOException
reader
- java.io.IOException
java.lang.Object fetchHeader()