Creating a TIP RA Project

You can perform a TIP transaction by mapping the underlying COBOL record which is used for the transaction into a Java object using Eclipse. Import TIP Records wizard generates a set of Java helper classes based on the information provided in the COBOL or View file.

TIP RA implementation is based on the DTP RA for Java platform. For more information on DTP RA, refer to the following documents:

Prerequisite

You must have the following information for configuring a TIP transaction using the TIP RA configuration wizard:

To create a TIP RA project

  1. From the OS 2200 menu, select OS 2200 Resource Adapters, and then click Add TIP RA ().

    The Import TIP Records wizard appears.

  2. In the Computer Name/IP Address box, enter the address of the OS 2200 host.

  3. In the CITA Port Number box, enter the configured CITA port number.

  4. In the Transaction Name box, enter the configured transaction name for executing the transaction.

  5. Under Record Source Type, select any one of the following options:

    The OS 2200 Eclipse IDE generates Java objects for the specified record type.

  6. Under Record Source Location, do any one of the following:

  7. Browse and specify the source file containing the COBOL or View records.

  8. Click Next.

    A list displays the records that can be imported.

  9. Select the check boxes corresponding to the records to be imported.

    The details of the selected record is displayed in the right pane.

  10. Click Next.

    The list of the imported records appears.

  11. Edit the imported records, if required and then click Next. You can also add the following validations for a String variable in this step.

Note: You cannot edit the records of a View file.

  1. Enter the details required to generate the Java custom record(s) and then click Next.

Note: The COBOL variable names are not validated for Java Keywords while generating the Java files from the COBOL or View files. If you use the Java keywords as variable names, the compilation error appears.

  1. Click Finish.

    The following tasks are done by OS 2200 IDE for Eclipse: