IBM Support

HD03388: OUTPUTTING VBSCRIPT, SBCS IS OK,BUT DBCS IS OUTPUTTED ONLY A PART

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ABSTRACT:
    =========
    OUTPUTTING VBSCRIPT, SBCS IS OK,BUT DBCS IS OUTPUTTED ONLY
    A  PART
    .
    SCENARIO:
    =========
    In japanese environment.
     Make directory C:%CATIA_MACRO
      Copy 'test1.CATScript' to the directory C:%CATIA_MACRO
    1.File Open 'test1.CATDrawing'
    2.Tools/Macro/Macros.. ==> Macros panel open.
         Current macro library : C:%CATIA_MACRO
         Available macros : test1.CATScript
    3.Click 'Run'
       ==>VBScript panel open 4 times.
          Text is displayed correctly.
     (Refer to 05696.ppt 1 page)
       ==>output.txt was created at C:%CATIA_MACRO
          Open output.txt  (Refer to 05696.ppt 2 page.)
      SBCS text is outputed correctly.
      DBCS text is outputed only a part. <======= PROBLEM
    .
    

Local fix

Problem summary

  •  INCIDENT DIAGNOSIS:
    The method CATIATextStream.Write did not handle correctly
    MBCS characters
    

Problem conclusion

  • THIS PROBLEM WILL BE FIXED ON
      CATIA VERSION 5 RELEASE 11 GA level.
    
     TECHNICAL EXPLANATION FOR THE CORRECTION:
    It used the Method CATUnicodeString::GetLengthInChar() inste
    ad of
    GetLengthInByte()
    
     ANSWER AND POSSIBLE BY-PASS:
    Corrected
    

Temporary fix

Comments

APAR Information

  • APAR number

    HD03388

  • Reported component name

    CATIA V5/NT/200

  • Reported component ID

    569151000

  • Reported release

    509

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2003-01-29

  • Closed date

    2003-03-06

  • Last modified date

    2003-03-06

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

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

Modules/Macros

  •    FILE
    

Fix information

  • Fixed component name

    CATIA V5/NT/200

  • Fixed component ID

    569151000

Applicable component levels

  • R509 PSN

       UP

  • R510 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA V5"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"509","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
06 March 2003