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 

Hexadecmial to Text Conversion

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
jayram99
Beginner


Joined: 16 Aug 2004
Posts: 52
Topics: 21
Location: falls church.va,usa

PostPosted: Thu Jun 24, 2010 2:30 pm    Post subject: Hexadecmial to Text Conversion Reply with quote

Hi,

We have a column in Table stores values as Hexadecimal.

The Data is as below.

PART 1 VALUES (X'1600FFFFFFFFFFFFFFFFFFFFFFFFFFFF'),
PART 2 VALUES (X'3200FFFFFFFFFFFFFFFFFFFFFFFFFFFF')

Is there any way to read the above hexadecimal charectors in text format or covert to text format.

Appreciate your Help.

Jayaram
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Thu Jun 24, 2010 3:03 pm    Post subject: Reply with quote

x'FF' is not a valid "text" value.

Quote:

The Data is as below.

PART 1 VALUES (X'1600FFFFFFFFFFFFFFFFFFFFFFFFFFFF'),
PART 2 VALUES (X'3200FFFFFFFFFFFFFFFFFFFFFFFFFFFF')
Assuming this is the "input", what do you want for output?
_________________
All the best,

di
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Jun 24, 2010 3:48 pm    Post subject: Reply with quote

jayram99,

Did you check the 3rd solution in this post?

http://www.mvsforums.com/helpboards/viewtopic.php?p=11074#11074

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jayram99
Beginner


Joined: 16 Aug 2004
Posts: 52
Topics: 21
Location: falls church.va,usa

PostPosted: Thu Jun 24, 2010 4:29 pm    Post subject: Reply with quote

Thanks Kolusu.

The table is having more than million records.

Can i do it using SORT utility after downloading the records from Table to a Seq File.

Regards,
Jayaram
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Jun 24, 2010 5:42 pm    Post subject: Reply with quote

jayram99,

Sort Products do NOT have any built-in functions to unhex. You need to write a program to do it. Search the application forum for cobol examples.

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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