Rational Developer for System z

Customizing JET2 templates

This is how to customize the JET2 templates.

About this task

Use the following procedure to override the JET2 transformations:

Procedure

  1. Create a JET project. For specific information, see the JET Tutorial.
  2. Define the overrides attribute to the transform extension point. Set the template ID to com.ibm.etools.wdz.uml.transform.templates. For specific information, see the JET Tutorial.
  3. Specify a simple JET Dump command in the control.jet file. Use this as a starting point for your customized template so that you can understand the input model. The control.jet file contents is as follows: <%@taglib prefix="c" id="org.eclipse.jet.controlTags" %> <c:dump select="/ZapgModel"/>
  4. Customize the control.jet template file to generate the output that you want. Remove the <c:dump> tag when you no longer need it.

What to do next

The Dump command outputs the entire model.
Note: If you override any templates, you will not receive standard JCL or COBOL output.

For additional information, see the JET Tutorial.


Feedback