EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only

com.ibm.javart.calls.CallOptions vs CSOCallOptions

  • 1.  com.ibm.javart.calls.CallOptions vs CSOCallOptions

    Posted 04/14/16 09:43 AM

    Hi,

     

    In VAGen generated wrapper there was somethin like:

    return new CSOCallOptions(
        CSOCallOptions.CMST_ECI_CM,          // Protocol
        CSOCallOptions.CMLUW_SERVER,         // Unit of work type
        CSOCallOptions.CMLUW_VG,             // Application type
        CSOCallOptions.CMPF_COMMDATA,        // Parameter format
        "CSOE870",                           // Conversion table name
        inProd() ? "CICS2" : "CICS1",        // System Location (CICS1 - TEST, CICS2 - PROD)
        "CPMI",                              // Server ID
        "JAVAWRAPPER.LKG",                   // Linkage table name
        program,                             // Library name
        program,                             // External program name
        user,                                // User ID
        password,                            // Password
        "",                                  // Name server for EJB is defined below
        "",                                  // Package name
        "HL2.xxx.SI",                     // CTG Location
        "2006"                               // CTG Port
        );

     

    where // comments help me what a parameter is.

    In EGL generated wrapper there are no comments and I can't find any documentation about this CallOptions() constructors. Using context help I just see they are different.

     Is there any help available.

     

    EGL:

        return new CallOptions(
            null,
            com.ibm.javart.calls.CallOptions.LINKTYPE_DYNAMIC,
            com.ibm.javart.calls.CallOptions.PARMFORM_COMMDATA,
            "xxx.xxx",
            "CSOE870",
            null,
            null,
            "HL2.xxx.SI",
            "2006",
            null,
            "CICS1",
            com.ibm.javart.calls.CallOptions.LUWCONTROL_SERVER,
            com.ibm.javart.calls.CallOptions.REMOTEPGMTYPE_EGL,
            "CPMI",
            null,
            null,
            "JAVAWRAPPER_LKG",
            null,
            com.ibm.javart.calls.CallOptions.REMOTECOMTYPE_CICSECI
            );
     

    Thanks,

     

    Milan

    Mi1an