Hex low values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can a string be built that contains a field with a hex value of "00" - spaces
give a value of "40".
 
Not sure what you mean, exactly - how did you get your value of "40"?

=DEC2HEX(0,2)

will return "00"
 
When I upload the string from excel to the mainframe and look at the hex
representation of the space I get the value of "40"
 
A space character is 32 or hex 20, not hex 40. Are you sure your
mainframe file is ASCII text (not EBCIDIC)?


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
I believe that it is EBCIDIC.

Chip Pearson said:
A space character is 32 or hex 20, not hex 40. Are you sure your
mainframe file is ASCII text (not EBCIDIC)?


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Hexidecimal lookup 11
hex to decimal convert 4
hex type values 5
Excel 2007 VBA: Convert laaaaarge number to Hex 27
Backcolor value in hex 2
Plot hex values 1
Converting a HEX string 2
IntToHex Error 1

Back
Top