IBM Support

IC87385: MACRO EDITOR DOES NOT PROCESS TWO SEQUENCED APOSTROPHES CORRECTLY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Macro Editor does not process two sequenced apostrophes
    correctly.
    
    The user needs to assign a value to string variable, and the
    value ends with apostrophe.
    
    According to Macro Programming Guide, the string should be
    correct. Moreover, no syntax error are shown.
    There appear to be two problems:
    
    1. If userr closes the Code Editor and re-opens it, the
    statement changes from
    <varupdate name="$myvar$" value="&apos; Insert
    values(\&apos;&apos;" /> to
    <varupdate name="$myvar$" value="&apos; Insert
    values(\&apos;" />  (with one &apos; instead of two).
    
    2. If user presses Save And Exit, the Macro editor fails with
    wrong syntax.
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    To make the macro work, Customer can insert a space character
    between these two
    &apos; entities.  The macro works, but the result is wrong: an
    unnecessary leading space is inserted in the Customer's DB
    table. For
    some cases that does not matter; for other cases that will cause
    a failure.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Host On-Demand users who use macros          *
    ****************************************************************
    * PROBLEM DESCRIPTION: If a macro variable value had           *
    *                      continuous apostrophes, for example,    *
    *                      the escape char in a macro variable     *
    *                      value, it is interpretted as only one   *
    *                      apostrophe and the others are discarded *
    *                      by the macro parser.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This problem was happening because of the current macro
    variable parser if a variable value had continuous apostrophes,
    it was considered as only one apostrophe and all others are
    discarded.
    

Problem conclusion

  • Design was modified to accept continuous apostrophes in Macro
    variable value.
    
    Fix scheduled for HOD 11.0.7 Refresh Pack
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC87385

  • Reported component name

    HOD

  • Reported component ID

    5733A5901

  • Reported release

    B00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-21

  • Closed date

    2013-01-11

  • Last modified date

    2013-01-11

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

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

    IP23484 IP23485

Fix information

  • Fixed component name

    HOD

  • Fixed component ID

    5733A5901

Applicable component levels

  • RB00 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSS9FA","label":"IBM Host On-Demand"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B.0","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
19 April 2021