MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The NOT symbol

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Thu Jan 27, 2005 12:12 pm    Post subject: The NOT symbol Reply with quote

Hi,
One of our screens allows users to enter the NOT symbol. Now, I do not know, whether the user entered lazy-L (X'5F') or the caret (X'B0'). But, in the database, it appears as the Greek letter alpha.

I queried the table with HEX(COLUMN_NAME). The result has X'B0'. But, in a mainframe dataset, when I type in the same with HEX ON, I am shown the caret symbol.

What can be the reason for this difference? It is probably because of some keyboard mapping. But, I do not know for sure.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Jan 27, 2005 12:29 pm    Post subject: Reply with quote

Cogito-Ergo-Sum,

I guess it depends on the CCSID encoding defined on the table. check this link for CCSID

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNSQH11/1.16?DT=20010718164132

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Thu Jan 27, 2005 12:45 pm    Post subject: Reply with quote

Hi Kolusu,
Thank you for the response.

Actually, I had checked the catalog (from E.D; I do not know if this is available to you) and found the Encoding scheme to E (EBCIDIC). However, I would like to know about this part in the manual:
Quote:
In a local environment, character conversion can occur when:

An overriding CCSID is specified in the SQLDA (see "SQL descriptor area (SQLDA)" in topic C.2). For languages other than REXX, the CCSID is in the SQLNAME field. For REXX, the CCSID is in the SQLCCSID field.

A mixed character string is assigned to an SBCS column or host variable.


I am quite sure, it is not the first one. But, what does the second one actually mean? Especially, the "mixed character string..." part.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group