HP3000-L Archives

July 2002, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tom Emerson <[log in to unmask]>
Reply To:
Tom Emerson <[log in to unmask]>
Date:
Tue, 23 Jul 2002 15:18:25 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
A quick google search on the term "ebcdic" turned up this page:
http://www.natural-innovations.com/boo/asciiebcdic.html

And from within that:
Dec Hex ASCII                         EBCDIC
  0  00 NUL Null                      NUL  Null
 10  0A LF  Line Feed (FE)            SMM  Start of Manual Message
 23  17 ETB End of Trans. block       IL   Idle
 21  15 NAK Negative Acknowledge (CC) NL   New Line
 38  26 &   Ampersand                 ETB  End of Transmission Block

in other words, ASCII 0x17 (ETB) == EBCDIC 0x26 (ETB)
There isn't a specific ASCII "new line" character -- by convention it is
either CR, LF, or CR&LF depending upon which OS you are working with... :)

> -----Original Message-----
> From: Born, Ken
> I need to populate an ASCII string that I will convert later
> to an EBCDIC ... The problem is that I  need this
> conversion to generate an EBCDIC HEX(26) and HEX(15).
> I can't find the equivalent in ASCII. I think the EBCDIC
> HEX(15) would be ASCII HEX(0a), but not sure about the
> EBCDIC HEX(26).  The EBCDIC HEX(26) is an End of
> transmission block. ...

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2