Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. READ MORE

Qlik Replicate: Replicating special characters from Sysbase ASE to SQL server 2017

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
HOX
Former Employee
Former Employee

Qlik Replicate: Replicating special characters from Sysbase ASE to SQL server 2017

Last Update:

Sep 14, 2023 3:27:46 AM

Updated By:

Sonja_Bauernfeind

Created date:

Apr 6, 2022 2:51:40 PM

During the replication from Sybase ASE 16.x to SQL server 2017, the conversion on the columns that contain special characters is incorrect; i.e.: if the Source has “Denial – no auth” the Target is getting “Denial ? no auth”

Environment

Qlik replicate 7.0.0.856
Source endpoint Sybase ASE version 16
Target Endpoint SQL Server 2017

Resolution

Use the Character Substitution option to convert the Special Characters with the values supported by the Target location, in this case, the hexadecimal value.

Steps followed to determine the issue:

  1. Testing the transformation, STRING to WSTRING
    1. Search and choose WSTRING

      HOX_4-1649270027967.png

    2. Change the WSTRING value from 50 to 500

      HOX_5-1649270046755.png

    3. Reload the Target and check the SQL SERVER Table

      Note: The error persists using this option.

  2. Testing the Character Substitution
    1. Generate the varbinary for the column MCTR_DESC for all the records that contain hyphen (-)

      HOX_7-1649270174825.png

       

    2. Copy the result to notepad

    3.  

      Generate the varbinary for the column MCTR_DESC for all the records that contain APOSTROPHE  (‘)

      HOX_17-1649271045375.png

       

    4. Copy the result to  notepad

      HOX_10-1649270402840.png

       

    5. Applying character substitution

      Add Source Character 96&92
      Add Substitute Character 2d&27

       

How to identify the correct Source Character and Substitute Character values?

  1.  For the Source Character:

    HOX_14-1649270708907.png

    HOX_15-1649270729000.png

    Notes:

    • As we know in the binary system, a letter, number, space or sign is equivalent to two hexadecimal characters.
    • The counting starts after the letter “x”
  2. For Substitute Character

    Identify the respective hexadecimal value for the special character.

    HOX_16-1649270809038.png

 

 

Labels (1)
Version history
Last update:
‎2023-09-14 03:27 AM
Updated by: