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 

Conversion of Hexadecimal to Charater in COBOL

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


Joined: 24 Mar 2006
Posts: 25
Topics: 10

PostPosted: Wed Nov 01, 2006 3:59 am    Post subject: Conversion of Hexadecimal to Charater in COBOL Reply with quote

Hi,

I have a situation where there is a 4 byte character string which is a string representation of the Hexadecimal format. say for example
'F1F2' . My requirement is to convert this string into a string representation EBCDIC format ('12') thru a series of REDEFINES CLAUSES and MOVE CLAUSES . Can anyone help out

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


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

PostPosted: Wed Nov 01, 2006 8:22 am    Post subject: Reply with quote

ssd,

Please search before posting. check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=2564

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
ssd
Beginner


Joined: 24 Mar 2006
Posts: 25
Topics: 10

PostPosted: Wed Nov 01, 2006 10:44 am    Post subject: Reply with quote

Kolusu,
I guess I was not clear in explaining my problem.

I went through the link you provided. It gives how to represent a given EBCDIC charcter(displayable and non-displayable) in its hex format.
on the other hand I have the hex format and I need the corresponding character. its the reverse of what was provided in the link. How can I do that ?

Thanks
SSD
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 -> Application Programming 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