Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

EBCDIC to Binary conversion

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

Active User


Joined: 02 May 2005
Posts: 126
Location: UK

PostPosted: Wed Sep 09, 2009 3:33 pm    Post subject: EBCDIC to Binary conversion
Reply with quote

Hello All,

Do we have any module in REXX which converts EBCDIC to Binary format . As we have X2C for HEx to Binary conversion .

Regards
Back to top
View user's profile Send private message

prino

Senior Member


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

PostPosted: Wed Sep 09, 2009 3:44 pm    Post subject:
Reply with quote

Ignorance is bliss...

X2C converts hex to character
C2X converts character to hex
X2B converts hex to bits

Next time, RTFM!
Back to top
View user's profile Send private message
shr_amar
Warnings : 2

Active User


Joined: 02 May 2005
Posts: 126
Location: UK

PostPosted: Wed Sep 09, 2009 3:48 pm    Post subject:
Reply with quote

Prino ,

I am intrested in direct conversion from Charecter to BInary

Thanks
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Wed Sep 09, 2009 4:02 pm    Post subject: Reply to: EBCDIC to Binary conversion
Reply with quote

Quote:
Do we have any module in REXX which converts EBCDIC to Binary format . As we have X2C for HEx to Binary conversion .


after 73 posts You should know better how to ask

also x2c does not do any binary conversion

moreover EBCDIC does not exist as a item itself,
one byte can have a value between 0 and 255 / x'00' and x'ff'

the distinction of EBCDIC/<ome_other_convention> comes out only when trying to display/print the byte itself

for some bit configuration You can tell if it is a valid EBCDIC or ASCII char
but there some overlaps and from that You cannot tell what representation or convention is being implied

post an example of the input chars and what Yo expect from output

did you care to look at the REXX reference manual ??
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4A370/CCONTENTS?SHELF=IKJ4BK80&DN=SA22-7790-07&DT=20060626210253
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 Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts resume binary ftp in z/os meykh2014 All Other Mainframe Topics 6 Sun Jan 22, 2017 10:01 am
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts Conversion of a VB file to FB. isssal DFSORT/ICETOOL 1 Mon Oct 31, 2016 10:23 pm
No new posts EBCDIC to ASCII conversion using OCOPY mistah kurtz All Other Mainframe Topics 5 Tue Sep 06, 2016 2:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us