IBM Support

PM54022: SYNTAX GENERATOR IBM SPSS STATISTICS 19.0 OR 20.0 NOT HANDLING VARIABLE LABELS WITH EMBEDDED CHARACTERS PROPERLY ON FIRST PASS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You are using IBM SPSS Statistics 19.0 or 20.0 to work with a
    dataset that was created by a third-party appliation, possibly a
    web-generated survey service such as SurveyMonkey.  As a result,
    there may be html tags or embedding control characters present
    in the metadata -- variable labels, value labels, etc.  You are
    trying to generate a chart using the Chart Builder and when you
    click OK, you receive an error such as this:
    
    ______________________________________________________________
    Warnings
    GPL error: labelLiteral("Label info label info label info label
    info <i>inserted html tag</i>, label info label info label info
    label info label info label info label info label info label
    info label info <i>inserted html tag</i> label info label
    info","label info
    ")
    
    Not a quoted string: "label info
    
    _____________________________________________________
    
    Where the "label info, etc." is actually the variable label for
    the variable on which you are creating the chart.
    
    You also notice that in the echoed command syntax in the log
    item in the output viewer there is a "\n" present in the quoted
    variable label string and a blank line inserted before a final
    quote -- that you don't see present in the Variable Label for
    that variable in your data editor.
    

Local fix

  • The "\n" is an embedded control character present in the
    metadata/data dictionary created by the third-party application.
    The workaround is to either paste the command out of the Chart
    Builder and then run it in the syntax editor (i.e., instead of
    just clicking OK), or to simply re-run the Chrat from the Chart
    Builder -- for some reason Statistics is failing to create the
    syntax propperly on the first attempt, but does work in
    subsequent attempts.
    
    You may also wish to contact the third party responsible for
    creating the .sav file, and request that they clean out all such
    embedded characters as part of the file creation process.
    
    This is expected to be addressed in a future release of
    Statistics.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM SPSS Statistics 19.x or 20.x                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * You are using IBM SPSS Statistics 19.0 or 20.0 to work with  *
    * a                                                            *
    * dataset that was created by a third-party appliation,        *
    * possibly a                                                   *
    * web-generated survey service such as SurveyMonkey.  As a     *
    * result,                                                      *
    * there may be html tags or embedding control characters       *
    * present                                                      *
    * in the metadata -- variable labels, value labels, etc.  You  *
    * are                                                          *
    * trying to generate a chart using the Chart Builder and when  *
    * you                                                          *
    * click OK, you receive an error such as this:                 *
    *                                                              *
    * ____________________________________________________________ *
    * __                                                           *
    * Warnings                                                     *
    * GPL error: labelLiteral("Label info label info label info    *
    * label                                                        *
    * info <i>inserted html tag</i>, label info label info label   *
    * info                                                         *
    * label info label info label info label info label info label *
    * info label info <i>inserted html tag</i> label info label    *
    * info","label info                                            *
    * ")                                                           *
    *                                                              *
    * Not a quoted string: "label info                             *
    *                                                              *
    * _____________________________________________________        *
    *                                                              *
    * Where the "label info, etc." is actually the variable label  *
    * for                                                          *
    * the variable on which you are creating the chart.            *
    *                                                              *
    * You also notice that in the echoed command syntax in the log *
    * item in the output viewer there is a "\n" present in the     *
    * quoted                                                       *
    * variable label string and a blank line inserted before a     *
    * final                                                        *
    * quote -- that you don't see present in the Variable Label    *
    * for                                                          *
    * that variable in your data editor.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM SPSS Statistics 21.0                          *
    ****************************************************************
    The "\n" is an embedded control character present in the
    metadata/data dictionary created by the third-party application.
    Until you can upgrade, the workaround is to either paste the
    command out of the Chart
    Builder and then run it in the syntax editor (i.e., instead of
    just clicking OK), or to simply re-run the Chart from the Chart
    Builder -- for some reason Statistics is failing to create the
    syntax propperly on the first attempt, but does work in
    subsequent attempts.
    
    You may also wish to contact the third party responsible for
    creating the .sav file, and request that they clean out all such
    embedded characters as part of the file creation process.
    

Problem conclusion

  • IBM SPSS Statistics 21.0 will generate the chart properly on the
    first execution from the dialog.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM54022

  • Reported component name

    SPSS STATISTICS

  • Reported component ID

    5725A54ST

  • Reported release

    K00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-12-09

  • Closed date

    2012-09-05

  • Last modified date

    2012-09-05

  • 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 STATISTICS

  • Fixed component ID

    5725A54ST

Applicable component levels

  • RL00 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCQ88K","label":"Statistics Desktop"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"20.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
05 September 2012