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

Interface RecordOrientedDatasetWriterPattern



  • public interface RecordOrientedDatasetWriterPattern
    • Method Summary

      Methods 
      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
    • 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 -
IBM WebSphere Application ServerTM
Release 9.0