Skip to Main Content
IBM Data and AI Ideas Portal for Customers


This portal is to open public enhancement requests against products and services offered by the IBM Data & AI organization. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:


Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,


Post your ideas

Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

IBM Employees should enter Ideas at https://ideas.ibm.com


Status Not under consideration
Workspace Db2 for z/OS
Created by Guest
Created on Oct 18, 2012

z/OS sever does not return Arabic data if substr is used for LIKE predicate. String transformation is needed as part of proce

z/OS sever does not return Arabic data if substr is used for LIKE predicate. String transformation is needed as part of processing.

Host: z10 – z/OS V1R11
DB2 for z/OS version 8.xx (PUT level is current as site is in the process of migrating to DB2 version 10). V10 software is already on-site and installation activities are proceeding in a sandbox environment. Following are excerpts from V8 zParm/decp:

Decimal point option (DECIMAL) PERIOD
Default delimiter (DELIM) DEFAULT
Default SQL delimiter (SQLDELI) DEFAULT
Distributed SQL string delimiter APOST
EBCDIC GBCS CCSID (GCCSID) N/A
EBCDIC MBCS CCSID (MCCSID) N/A
EBCDIC SBCS CCSID (SCCSID) 420
ASCII GBCS CCSID (AGCCSID) N/A
ASCII MBCS CCSID (AMCCSID) N/A
ASCII SBCS CCSID (ASCCSID) 1256
UNICODE GBCS CCSID (UGCCSID) 1200
UNICODE MBCS CCSID (UMCCSID) 1208
UNICODE SBCS CCSID (USCCSID) 367
Default character set (CHARSET) ALPHANUM
Default encoding scheme (ENSCHEME) EBCDIC
Locale LC_CTYPE (LC_CTYPE) 'BLANK'
Application encoding default(APPENSCH) EBCDIC

Clients: Microsoft Platform (x86—32/64 BIT)
Gateway or Connect Servers - Windows Server 2008 R2
DB2 connect (app server ed) 9.7 FP5
App Server being used is IIS co-located on the gateways.
App Development Clients Windows XP Professional (v2002) SP3
Microsoft Visual Studio 2008
.NET 2.0, 3.5, 4.0 Frameworks
OLE drivers used are derived from DB2 connect package DS_Client 9.7 FP5.
JDBC drivers (JAVA) are not used in apps.

Connection scenario: devt client  connect gateway  host
90% of the business data is on the HOST server and most business are serviced via legacy CICS applications. However, site is deploying more WEB-based applications

Problem Description :

One of the main requirements of our applications is a simple name search using a substring of an ARABIC name. But, z/OS sever does not return data if substr is used for like predicate.

As a example, let us consider a word mahmoud which translates into Arabic word 'محمود' and substring of it, mahm which translates into Arabic word 'محم'.

There is a difference between the complete word "mahmoud" and the half word "mahm" used in the where clause of the SQL query. Arabic letters have four shaping forms according to the character location
in the word. So, that means the fourth character "m" in the complete word "mahmoud" is different to the fourth character "m" in the half word "mahm" because in the first word the character "m" is located in the middle of the word but in the second word the character "m" is located at the end of the word.

The problem is, we need to reorder and shape the Arabic characters on client side. But the windows code page (cp1256) does not support the Arabic characters shaping which means the windows codepage cp1256 does not understand the shaped Arabic characters of UTF8 and only understand the unshaped Arabic characters in UTF8. There are differences in text processing between the Windows and z/OS environments. So, basically, we need to reorder and shape the Arabic characters on client side.

The possible fix of this problem would be, to have some processing on the text in order to search using part of the word like Character normalization into isolated form. Currently z/OS does not support Arabic transformation.

The proposed fix can be implemented on z/OS.

This is a limitation of product. Workaround to this issue suggests, if string transformation is needed as part of processing and server or client CCSID uses shaped text ( string type 4, 8,9, 7 and 12), application should
use "full word" in like predicate. In other words, it says, do not use substrings.
  • Admin
    Janet Figone
    Reply
    |
    May 26, 2021

    Thank you for submitting this enhancement request. While we view all the enhancement requests we receive as valuable and we would like to implement all of them, in an effort to have maximum transparency we are closing the ones that don’t currently appear on our two year product roadmap. This is not to say that these enhancements may not still be implemented at some point in the future as we do evaluate our requirements on the basis of customer demand and technical impact, to deliver maximum value to our customers.


    We appreciate your input to the Db2 for z/OS development team.  And we hope that you will continue to submit enhancement suggestions for improvements as customer feedback is a key component to shaping the future direction of Db2 for z/OS. 


    Sincerely,

    The Db2 for z/OS Team