IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

EntireX Error: 20020000: Internal error in CallInformationBlock

  • 1.  EntireX Error: 20020000: Internal error in CallInformationBlock

    Posted Thu August 07, 2014 04:08 AM

    Hi Everyone

    I am experiencing a problem with EntireX.

    I am calling a subprogram via service written in C#.
    The subprogram uses 3 PDA’s.

    When I call the subprogram using the 3 PDA’s, I get the error in the subject.
    If I remove 1 PDA I do not get the error.

    The first PDA exists out of 14 fields mainly containing security information and messages passed between the web and mainframe.

    The second PDA contains 3 array of 10 occurrences of 30 characters each.

    The 2 arrays of 999 occurrences. One with 3 characters and one of 60 characters.

    Any suggestions or help will be appreciated.

    Thank you
    Ivan


    #Mainframe-Integration
    #EntireX
    #webMethods


  • 2.  RE: EntireX Error: 20020000: Internal error in CallInformationBlock

    Posted Thu August 07, 2014 04:46 AM

    Might look like a exx vs .NET version issue !?
    Which versions are you on ?
    Finn


    #webMethods
    #EntireX
    #Mainframe-Integration


  • 3.  RE: EntireX Error: 20020000: Internal error in CallInformationBlock

    Posted Thu August 07, 2014 05:19 AM

    Hi

    I am using .net version 4.
    The entireX.dll is version 8.1.3.0
    Natural version 8.2.3.9
    And the entrireX version is 8.1.3


    #webMethods
    #Mainframe-Integration
    #EntireX


  • 4.  RE: EntireX Error: 20020000: Internal error in CallInformationBlock

    Posted Thu August 07, 2014 05:30 AM

    Hi

    It seem the problem is in the second parameter, because if I remove the first parameter. I still get the error.
    But there is no difference between how the PDA was declared on the web and mainframe.
    They are identical.


    #Mainframe-Integration
    #webMethods
    #EntireX


  • 5.  RE: EntireX Error: 20020000: Internal error in CallInformationBlock

    Posted Thu August 07, 2014 05:34 AM

    Could you post the second pda ?
    Finn
    PS perhaps you should consider upgrading to a supported version :wink:


    #Mainframe-Integration
    #EntireX
    #webMethods


  • 6.  RE: EntireX Error: 20020000: Internal error in CallInformationBlock

    Posted Thu August 07, 2014 06:03 AM

    I just checked the documentation - and it looks like you might run into problems with the version mix you have:

    version 8.1.2
    Windows prereqs:
    http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite9-6/EntireX/9-6_EntireX/relnotes/previousPdfs/rn_812.pdf
    ? .NET Wrapper
    ? .NET Framework 2.0.
    ? C# Compiler from Microsoft Visual Studio 2005 or 2008.

    version 9.6
    http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite9-6/EntireX/9-6_EntireX/print/relnotes.pdf
    ? .NET Wrapper
    ? .NET Framework 4.0.
    ? C# Compiler from Microsoft Visual Studio 2010.


    #EntireX
    #webMethods
    #Mainframe-Integration


  • 7.  RE: EntireX Error: 20020000: Internal error in CallInformationBlock

    Posted Thu August 07, 2014 06:05 AM

    Hi

    Here is the PDA in question.

    I T L Name F Length Miscellaneous
    All – -------------------------------- - ---------- ------------------------->
    1 EXGEN1P1
    2 PARAMETER-LIST (1:10)
    3 KEY-DESCRIPTION A 30
    3 KEY-VALUE A 30
    3 OPERATOR A 30

    C# declaration:
    [SendAs(IdlType.A, Length = 30f, Dim = 10 ,Trim = true)]
    public string keyDescription;
    [SendAs(IdlType.A, Length = 30f, Dim = 10, Trim = true)]
    public string keyValue;
    [SendAs(IdlType.A, Length = 30f, Dim = 10, Trim = true)]
    public string searchOperator;


    #EntireX
    #Mainframe-Integration
    #webMethods


  • 8.  RE: EntireX Error: 20020000: Internal error in CallInformationBlock

    Posted Thu August 07, 2014 06:23 AM

    I noticed that the variable OPERATOR is called searchOperator ???
    Finn

    BTW I tried to generate in exx9.6 which gives a somewhat different structure :wink:

    namespace SoftwareAG.EntireX.NETWrapper.Generated.IVAN.Groups
    {
    #region Groups for LIBRARY ‘IVAN’, PROGRAM ‘IVAN’

    public class Ivan
    {
    public class Exgen1p1
    {
    [SendAs(IdlType.Group, Id=0, Dim=10f)]public ParameterList parameterList = (ParameterList)Construction.GroupArray(typeof(ParameterList), 10 , 0 , 0 );
    public class ParameterList
    {
    [SendAs(IdlType.A, Length=30f, Id=0, Trim=true)]public string keyDescription ;
    [SendAs(IdlType.A, Length=30f, Id=1, Trim=true)]public string keyValue ;
    [SendAs(IdlType.A, Length=30f, Id=2, Trim=true)]public string operator ;
    }
    }
    }

    #endregion


    #Mainframe-Integration
    #webMethods
    #EntireX


  • 9.  RE: EntireX Error: 20020000: Internal error in CallInformationBlock

    Posted Thu August 07, 2014 06:42 AM

    Usually this error occurs if you modify the generated code.


    #webMethods
    #Mainframe-Integration
    #EntireX


  • 10.  RE: EntireX Error: 20020000: Internal error in CallInformationBlock

    Posted Thu August 07, 2014 07:31 AM

    Hi All

    Found the problem, which is actually very simple. :oops:

    I missed the f in the dim=10f when I declared the array in C#.

    Stupid mistake, but kept me busy for a while.

    Hopefully the next person who encounters this problem can learn from my mistake.

    Thank you for the assistance.


    #Mainframe-Integration
    #webMethods
    #EntireX