Skip to main content

IC88121: INCORRECT OUTPUT FROM CLPPLUS WHEN SUBSTITUTION CHARACTER "&" PRECEDED BY "O"


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • CLPPlus may behave erratically when the substitution character
    "&" immediately follows a capital "O". Depending upon the usage
    it may report a syntax error, or generate incorrect output. For
    example:
    
    SQL> DEFINE SYS_DATE=20121012
    
    SQL> show escape
    escape OFF
    
    SQL> spool SERVICEINFO&&SYS_DATE..txt
    
    SQL> select 1 from dual;
    
              1
    -----------
              1
    
    SQL> spool off;
    
    SQL> host dir SERVICE*
     Volume in drive D is Data
     Volume Serial Number is 18D0-8D0B
    
     Directory of D:\
    
    10/30/2012  01:09 PM                51 SERVICEINF&20121012.txt
    
    
    Note the above filename. The commands should create
    'SERVICEINFO20121012.txt'
    

Local fix

  • Modify your CLPPlus commands so that '&' does not immediately
    follow 'O'
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * CLPPlus users                                                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply DB29.7 Fix Pack 8                                      *
    ****************************************************************
    

Problem conclusion

  • Problem first fixed in DB2 9.7 FP8
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC88121

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-09

  • Closed date

    2013-04-15

  • Last modified date

    2013-04-15

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

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

    IC91292

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

DB2 for Linux, UNIX and Windows


Software version:
9.7


Reference #:
IC88121


Modified date:
2013-04-15

Translate my page

Content navigation