public interface RecordOrientedDatasetWriterPattern
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(java.util.Properties props)
This method is called during the job setup phase allowing
the user to do initialization.
|
void |
writeHeader(com.ibm.jzos.ZFile out)
This method should be used to write header information
if any
|
void |
writeHeader(com.ibm.jzos.ZFile out,
java.lang.Object header)
This method can be optionally called during process step to explicity
initialize and write the header.
|
void |
writeRecord(com.ibm.jzos.ZFile out,
java.lang.Object record)
This method should be used to write the given
object into the dataset
|
void initialize(java.util.Properties props)
props - void writeRecord(com.ibm.jzos.ZFile out,
java.lang.Object record)
throws java.io.IOException
out - record - java.io.IOExceptionvoid writeHeader(com.ibm.jzos.ZFile out)
throws java.io.IOException
out - java.io.IOExceptionvoid writeHeader(com.ibm.jzos.ZFile out,
java.lang.Object header)
header -