IBM Support

PM64747: TM1 9.5.2 VB API FUNCTION N_DISCONNECT ISSUE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • TM1 9.5.2 VB API FUNCTION N_DISCONNECT ISSUE????PROBLEM
    DESCRIPTION:????Using the following API code in an Execl Macro
    works as expected the first time it is run.????==
                           ???Public Sub test()   ??
                                  ?? ?  Dim result As String??
                                           ?? ?  result  =
    Run("N_CONNECT", "Planning Sample", "admin", "apple")        ??
    
    ?? ?  MsgBox "Element=" & Run("DIMNM", "Planning
    Sample:plan_time", 1)                  ??
                                               ?? ?
    Run("N_DISCONNECT")??
       ??        End Sub         ??==????EG - it returns
    Element=ELEMENT_NAME????Running the Macro a second time in the
    same session will not return the expected result.????Instead it
    will only return:?????Element=????This Issue was reported by a
    customer who is upgrading from 9.4.1 to 9.5.2??The problem is
    not present in a 9.4.1 environment.????This is possibly the same
    as COGCQ00278768 ????WORK AROUND:??Removing the N_DISCONNECT
    from the script will allow the Macro to be run sucessfully??more
    than once.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See error description.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please upgrade to IBM Cognos TM1 10.2                        *
    ****************************************************************
    

Problem conclusion

  • Code Fix
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM64747

  • Reported component name

    TM1 API

  • Reported component ID

    5724W49AP

  • Reported release

    952

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-16

  • Closed date

    2013-09-12

  • Last modified date

    2013-09-12

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TM1 API

  • Fixed component ID

    5724W49AP

Applicable component levels

  • RA20 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS9RXT","label":"Cognos TM1"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.5.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
21 September 2021