Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Translate Unicode to Decimal

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
HameedAli

Active User


Joined: 16 Apr 2009
Posts: 151
Location: India

PostPosted: Wed Dec 09, 2009 1:14 pm    Post subject: Translate Unicode to Decimal
Reply with quote

Hi
Is it possible to translate UNICODE format data to decimal directly in REXX?
Or it should be like UNICODE to ASCII to Decimal

how to differentiate UNICODE from EBCDIC format?

Will Translate command in REXX help?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Wed Dec 09, 2009 1:30 pm    Post subject: Reply to: Translate Unicode to Decimal
Reply with quote

if You post an example of the data You want to convert You might get better help

use the BBcode tags, in order to have the data sample properly aligned
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1059
Location: Oostende, Belgium

PostPosted: Wed Dec 09, 2009 2:42 pm    Post subject: Re: Translate Unicode to Decimal
Reply with quote

HameedAli wrote:
Is it possible to translate UNICODE format data to decimal directly in REXX?


No

HameedAli wrote:
Or it should be like UNICODE to ASCII to Decimal


No

HameedAli wrote:
how to differentiate UNICODE from EBCDIC format?


You cannot, both are made up of bytes with a numerical value 0..255 and there is absolutely no way for a computer to decide whether the data is Unicode, ASCII, EBCDIC or an output file with binary numbers.

HameedAli wrote:
Will Translate command in REXX help?


No.
Back to top
View user's profile Send private message
HameedAli

Active User


Joined: 16 Apr 2009
Posts: 151
Location: India

PostPosted: Wed Dec 23, 2009 4:41 pm    Post subject: Reply to: Translate Unicode to Decimal
Reply with quote

Code:
000001 DBRM   µASDFGH  ZXCVBNM  Äj¦ µQ¬  P                                    4  1  ØLL
000002                                                                         
000003 DBRM           8        ê|<<â ä.                                       


How to convert a desired length of a line to a readable format?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Wed Dec 23, 2009 6:38 pm    Post subject: Reply to: Translate Unicode to Decimal
Reply with quote

if You had posted an hex on cut and paste we would have been able to offer better suggestions
what You posted is just unintelligible garbage

hex on, and show what You are expecting the rexx script to do
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Dec 23, 2009 8:04 pm    Post subject:
Reply with quote

http://ibmsystemsmag.blogs.com/db2utor/2009/02/viewing-a-unicode-dbrm-in-an-ebcdic-browser.html
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts Joinkeys with decimal scdinesh DFSORT/ICETOOL 3 Fri Feb 10, 2017 4:46 am
No new posts Converting decimal to numeric using I... Balaryan DFSORT/ICETOOL 4 Thu Feb 02, 2017 11:27 pm
No new posts Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us