com.ibm.websphere.batch.devframework.datastreams.patternadapter

Interface RecordOrientedDatasetWriterPattern


  1. public interface RecordOrientedDatasetWriterPattern

Method Summary

Modifier and Type Method and Description
  1. void
initialize(java.util.Properties props)
This method is called during the job setup phase allowing the user to do initialization.
  1. void
writeHeader(com.ibm.jzos.ZFile out)
This method should be used to write header information if any
  1. 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.
  1. void
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

  1. 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

  1. void writeRecord(com.ibm.jzos.ZFile out,
  2. java.lang.Object record)
  3. 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

  1. void writeHeader(com.ibm.jzos.ZFile out)
  2. throws java.io.IOException
This method should be used to write header information if any
Parameters:
out -
Throws:
java.io.IOException

writeHeader

  1. void writeHeader(com.ibm.jzos.ZFile out,
  2. java.lang.Object header)
This method can be optionally called during process step to explicity initialize and write the header.
Parameters:
header -