IBM Support

PI12957: USING THE STATISTICS API EXTENSION AND BUILDING A JAVA PROGRAM TO CONNECT TO STATISTICS FAILS WITH EXCEPTION.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Using IBM SPSS Statistics 21 FP2 and 22 GA to use the Statistics
    API Extension and build a Java program which accesses SPSS
    Statistics and Server fails.
    
    After successfully executing a simple syntax to a Statistics
    Server backend problems occur when reading and writing to a
    Statistics Server environment using the
    'openSocketForOutputData' method.
    
    When executing, the following exception is returned by SPSS
    Statistics:
    com.spss.statistics.api.StatisticsApiException:
    openSocketForOuputData method not found!
     at
    com.spss.statistics.api.StatisticsApiProxy.openSocketForOutputDa
    ta
    (Unknown Source)
     at TestReadData.openSocket(TestReadData.java:12)
     at TestServer2.test2_TestReadData(TestServer2.java:50)
     at TestServer2.main(TestServer2.java:97)
    
    It is expected that the program executes without any exception
    messages.
    

Local fix

  • This issue has been reported to the IBM SPSS Statistics
    development team and will be addressed in a future Fix Pack.
    Please refer to the Fix Pack schedule at
    http://www.ibm.com/support/docview.wss?uid=swg21599157 for
    information on upcoming Fix Packs.
    
    Unfortunately, there are no known workarounds for this problem.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * This affects all users of IBM SPSS Statistics using Java API *
    * to connect to Statistics Server                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * USING THE STATISTICS API EXTENSION AND BUILDING A JAVA       *
    * PROGRAM TO CONNECT TO STATISTICS FAILS WITH EXCEPTION.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please upgrade to IBM SPSS Statistics 23 in order to resolve *
    * this problem.                                                *
    ****************************************************************
    

Problem conclusion

  • This issue has been addressed in IBM SPSS Statistics 23 and the
    next Fix Pack of IBM SPSS Statistics 22.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI12957

  • Reported component name

    SPSS STATS SVR

  • Reported component ID

    5725A56SS

  • Reported release

    L00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-04

  • Closed date

    2015-03-09

  • Last modified date

    2015-03-09

  • 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

    SPSS STATS SVR

  • Fixed component ID

    5725A56SS

Applicable component levels

  • RL00 PSY

       UP

  • RM00 PSY

       UP



Document information

More support for: SPSS Statistics
Statistics Server

Software version: 21.0

Reference #: PI12957

Modified date: 09 March 2015