Community articleRegistering your packages of custom functions with the Function Call Manager
Added by IBM contributorIBM on May 3, 2012
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.

Use the FunctionCallManager method registerFunctionCall in the function call constructor to register each of your custom functions and corresponding package(s) with the Function Call Manager.
  • The FCI allows you to assign a version number to each function that you create. This allows you to provide upgrades to single functions in extensions you have already distributed to users. For more information see the next section.
  • When registering your package(s) of functions with the Function Call Manager, be aware of the API package naming conventions. For more information see the next section.
  • You must register each of your custom functions separately. So, if you are registering three functions with the Function Call Manager, you must call registerFunctionCall three times.
  • In the following example, the FciFunctionCall constructor uses the registerFunctionCall method to register the convertDate function with the Function Call Manager:
  •       public FciFunctionCall(IFX IFXMan) throws UWIException
          FunctionCallManager theFCM;
             if ((theFCM = IFSSingleton.getFunctionCallManager()) == null) 
                throw new UWIException("Needed Function Call Manager");
                0x01000300, 0, null, theFCM.getDefaultListener( ));
             theFCM.registerFunctionCall(this, "sample_package", 
                "convertDate", FciFunctionCall.CONVERTDATE,
                "S,S", 0x01000300, "Converts a date to a different 

  • Note that the "S,S" parameter in the registerFunctionCall method represents two mandatory strings that you must provide.

Related reference