com.ibm.websphere.batch.devframework.datastreams.patternadapter
Interface RecordOrientedDatasetWriterPattern
- public interface RecordOrientedDatasetWriterPattern
Method Summary
Modifier and Type | Method and Description |
---|---|
|
initialize(java.util.Properties props)
This method is called during the job setup phase allowing
the user to do initialization.
|
|
writeHeader(com.ibm.jzos.ZFile out)
This method should be used to write header information
if any
|
|
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.
|
|
writeRecord(com.ibm.jzos.ZFile out,java.lang.Object record)
This method should be used to write the given
object into the dataset
|
Method Detail
initialize
- void initialize(java.util.Properties props)
This method is called during the job setup phase allowing
the user to do initialization.
The properties are the ones passed in the xJCL
Parameters:
props
- writeRecord
- void writeRecord(com.ibm.jzos.ZFile out,
- java.lang.Object record)
- throws java.io.IOException
This method should be used to write the given
object into the dataset
Parameters:
out
- record
- Throws:
java.io.IOException
writeHeader
- void writeHeader(com.ibm.jzos.ZFile out)
- throws java.io.IOException
This method should be used to write header information
if any
Parameters:
out
- Throws:
java.io.IOException
writeHeader
- 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.
Parameters:
header
-