z/OS Batch Runtime Planning and User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Procedure

z/OS Batch Runtime Planning and User's Guide
SA23-1376-00

  1. Implement the following interface to provide the business logic for the step.
    com.ibm.websphere.batch.devframework.steps.technologyadapters.BatchRecordProcessor

    The xJCL for the step should declare a property BATCHRECORDPROCESSOR with the value set to the implementation of the interface. For example:

    ...
    <props>		        
     <prop name="BATCHRECORDPROCESSOR"  value=
      "com.ibm.websphere.batch.samples.tests.steps.InfrastructureVerificationTest"/>
    </props>
    ...    
  2. Set the BDS input stream logical name to inputStream and a BDS output stream logical name to outputStream.

    The logical names are declared in the xJCL. For example:

    <batch-data-streams>		
       <bds>
    	<logical-name>inputStream</logical-name>
    	<props>
            .... 
       </bds>
        <bds>
    	<logical-name>outputStream</logical-name>
    	<props>
    	...
       </bds>
    </batch-data-streams>
  3. While using the BatchPackager for packaging, jobstepclass for the application must be set to the following value:
    com.ibm.websphere.batch.devframework.steps.technologyadapters.GenericXDBatchStep
    For example:
    ejbname.1=IVTStep1
    jndiname.1=ejb/GenericXDBatchStep
    jobstepclass.1=
       com.ibm.websphere.batch.devframework.steps.technologyadapters.GenericXDBatchStep

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014