Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
EBCDIC
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Definitions of non-ASCII EBCDIC controls == Following are the definitions of EBCDIC control characters which either do not map onto the [[C0 and C1 control codes#C0 controls|ASCII control characters]], or have additional uses. When mapped to Unicode, these are mostly mapped to C1 control character codepoints in a manner specified by IBM's Character Data Representation Architecture (CDRA).<ref name="utr16cdra">{{cite web|url=https://www.unicode.org/reports/tr16/tr16-6.html#Step%202 |title=3.3 Step 2: Byte Conversion |work=UTF-EBCDIC |id=Unicode Technical Report #16 |last1=Umamaheswaran |first1=V.S. |publisher=[[Unicode Consortium]] |date=1999-11-08 |quotation=The 64 control characters...the ASCII DELETE character (U+007F)...are mapped respecting EBCDIC conventions, as defined in IBM Character Data Representation Architecture, CDRA, with one exception -- the pairing of EBCDIC Line Feed and New Line control characters are swapped from their CDRA default pairings to ISO/IEC 6429 Line Feed (U+000A) and Next Line (U+0085) control characters}}</ref><ref name="ms037">{{cite web|url=https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/EBCDIC/CP037.TXT |title=cp037_IBMUSCanada to Unicode table |last1=Steele |first1=Shawn |publisher=[[Microsoft]]/[[Unicode Consortium]] |date=1996-04-24}}</ref> Although the default mapping of New Line (NL) corresponds to the ISO/IEC 6429 Next Line (NEL) character (the behaviour of which is also specified, but not required, in Unicode Annex 14),<ref>{{cite web|url=http://www.unicode.org/reports/tr14/tr14-43.html#NL |version=Revision 43 |title=NL: Next Line (A) (Non-tailorable) |work=Unicode Line Breaking Algorithm |id=Unicode Standard Annex #14 |date=2019-02-15 |first1=Andy |last1=Heninger |publisher=[[Unicode Consortium]]}}</ref> most of these C1-mapped controls match neither those in the [[C0 and C1 control codes#C1 control codes for general use|ISO/IEC 6429 C1 set]], nor those in other registered C1 control sets such as [[ISO 6630]].<ref>{{cite iso-ir|number=124 |title=Additional Control Functions for Bibliographic Use according to International Standard ISO 6630 |sponsor=ISO/TC 46 |date=1986-02-01}}</ref> Although this effectively makes the non-ASCII EBCDIC controls a unique C1 control set, they are not among the C1 control sets registered in the [[ISO-IR]] registry,<ref>{{citation|title=ISO/IEC International Register of Coded Character Sets To Be Used With Escape Sequences |id=ISO-IR |publisher=ITSCJ/[[Information Processing Society of Japan|IPSJ]] |url=https://itscj.ipsj.or.jp/english/vbcqpr00000004qn-att/ISO-IR.pdf}}</ref> meaning that they do not have an assigned control set designation sequence (as specified by [[ISO/IEC 2022]], and optionally permitted in [[ISO/IEC 10646]] (Unicode)).<ref>{{citation|mode=cs1 |id=ISO/IEC 10646 |title=Information technology — Universal Coded Character Set (UCS) |author=ISO/IEC JTC 1/SC 2 |author-link=ISO/IEC JTC 1/SC 2 |publisher=[[ISO]] |edition=5th |year=2017 |url=https://standards.iso.org/ittf/PubliclyAvailableStandards/c069119_ISO_IEC_10646_2017.zip |section=12.4: Identification of control function set |pages=19–20 |quotation=For other C0 or C1 sets, the final octet F shall be obtained from the International Register of Coded Character Sets....If such an escape sequence appears within a code unit sequence conforming to this International Standard, it shall be padded in accordance with Clause 11.}}</ref> Besides U+0085 (Next Line), the Unicode Standard does not prescribe an interpretation of C1 control characters, leaving their interpretation to higher level protocols (it suggests, but does not require, their ISO/IEC 6429 interpretations in the absence of use for other purposes),<ref>{{cite book|url=https://www.unicode.org/versions/Unicode12.0.0/ch23.pdf#page=3 |chapter=23.1: Control Codes |title=The Unicode Standard |edition=12.0.0 |date=2019 |author=Unicode Consortium |author-link=Unicode Consortium |isbn=978-1-936213-22-1 |pages=868–870}}</ref> so this mapping is permissible in, but not specified by, Unicode. {|class="wikitable sortable" |- ! Mnemonic !! EBCDIC !! CDRA pairing<ref name="utr16cdra" /><ref name="ms037"/> !!class="unsortable"| Name !!class="unsortable"| Description<ref name="IBM_G-1"/> |- id = "SEL" | SEL ||data-sort-value="4" rowspan=2| 04 ||data-sort-value="156" rowspan=2| 009C || Select || Device control character taking a single-byte parameter. |- id = "PF" | PF || Punch Off || Listed in this location by [[DKOI|GOST 19768-93]].<ref name="gost19768"/> |- id = "RNL" | RNL ||data-sort-value="6" rowspan=2| 06 ||data-sort-value="134" rowspan=2| 0086 || Required New Line || Line-break resetting {{Control code link|internal=1|IT|Indent Tab}} mode |- id = "LC" | LC || Lower Case || Listed in this location by [[DKOI|GOST 19768-93]].<ref name="gost19768"/> |- id = "GE" | GE ||data-sort-value="8"| 08 ||data-sort-value="151"| 0097 || Graphic Escape || Non-locking shift that changes the interpretation of the following character (see e.g. [[Code page 310]]). Compare ISO/IEC 6429's {{Control code link|SS2}} (008E). |- id = "SPS" | SPS ||data-sort-value="9"| 09 ||data-sort-value="141"| 008D || Superscript || Begin superscript or undo subscript. Compare ISO/IEC 6429's {{Control code link|PLU}} (008C). |- id = "RPT" | RPT ||data-sort-value="10" rowspan=2| 0A ||data-sort-value="142" rowspan=2| 008E || Repeat || Switch to an operation mode repeating a print buffer |- id = "SMM" | SMM || Start of Manual Message || Listed in this location by [[DKOI|GOST 19768-93]].<ref name="gost19768"/> |- id = "RES/ENP" | RES/ENP ||data-sort-value="20"| 14 ||data-sort-value="157"| 009D || Restore, Enable Presentation || Resume output (after {{Control code link|internal=1|BYP/INP}}) |- id = "NL" | NL ||data-sort-value="21"| 15 ||data-sort-value="133"| 0085 (000A) || [[Newline|New Line]] || Line break. Default mapping (0085) matches ISO/IEC 6429's {{Control code link|NEL}}. Mappings sometimes swapped with Line Feed (EBCDIC 0x25) in accordance with UNIX line breaking convention.<ref name="utr16cdra" /> |- id = "POC" | POC ||data-sort-value="23" rowspan=2| 17 ||data-sort-value="135" rowspan=2| 0087 || Program Operator Communication || Followed by two one-byte operators that identify the specific function, for example a light or function key. Contrast with ISO/IEC 6429's {{Control code link|CSI}} (009B), {{Control code link|ANSI:OSC}} (009D) and {{Control code link|APC}} (009F). |- id = "IL" | IL || Idle || Listed in this location by [[DKOI|GOST 19768-93]].<ref name="gost19768"/> |- id = "UBS" | UBS ||data-sort-value="26" rowspan=2| 1A ||data-sort-value="146" rowspan=2| 0092 || Unit Backspace || A fractional backspace. |- id = "CC" | CC || Cursor Control || Listed in this location by [[DKOI|GOST 19768-93]].<ref name="gost19768"/> |- id = "CU1" | CU1 ||data-sort-value="27"| 1B ||data-sort-value="143"| 008F || Customer Use One || Not used by IBM; for customer use. |- id = "IUS/ITB" | IUS/ITB ||data-sort-value="31"| 1F ||data-sort-value="31"| 001F || Interchange Unit Separator, Intermediate Transmission Block || Either used as an information separator to terminate a block called a "unit" (as [[Unit Separator|in ASCII]]; see also {{Control code link|internal=1|IR}}), or used as a transmission control code to delimit the end of an intermediate block. |- id = "DS" | DS ||data-sort-value="32"| 20 ||data-sort-value="128"| 0080 || Digit Select || Used by S/360 CPU edit (ED) instruction |- id = "SOS" | SOS ||data-sort-value="33"| 21 ||data-sort-value="129"| 0081 || Start of Significance || Used by S/360 CPU edit (ED) instruction. (Note: different from ISO/IEC 6429's {{Control code link|ANSI:SOS}}; where distinguishing them is necessary, IBM abbreviates Start of Significance as {{code|SOS.}} (with a dot) and Start of String as {{code|SOS}}, otherwise they are abbreviated the same.)<ref>{{cite web |url=https://www.ibm.com/downloads/cas/G01BQVRV#page=327 |page=327 |title=Character Data Representation Architecture (CDRA) |author=IBM |website=[[IBM]] |author-link=IBM |quotation=The mnemonic for the Start of Significance control character in EBCDIC has been modified to include a dot (.) at the end (SOS.). This has been done to distinguish it from the SOS mnemonic used in ISO-8 for the Start of String control character. The dot does not alter the property of the control in any way.}}</ref> |- id = "FS" | FS,<ref name="IBM_G-1"/> FDS<ref name="gost19768"/> ||data-sort-value="34"| 22 ||data-sort-value="130"| 0082 || Field Separator || Used by S/360 CPU edit (ED) instruction. (Note: {{Control code link|IFS|(Interchange) File Separator}}, as abbreviated FS in ASCII, is at 0x1C and abbreviated IFS.)<ref name="IBM_G-1"/> |- id = "WUS" | WUS ||data-sort-value="35"| 23 ||data-sort-value="131"| 0083 || Word Underscore || Underscores the immediately preceding word. Contrast with ISO/IEC 6429's [[ANSI escape code#SGR parameters|SGR]]. |- id = "BYP/INP" | BYP/INP ||data-sort-value="36"| 24 ||data-sort-value="132"| 0084 || Bypass, Inhibit Presentation || De-activates output, i.e. ignores all graphical characters and control characters besides transmission control codes and RES/ENP, until the next {{Control code link|internal=1|RES/ENP}}. |- id = "SA" | SA ||data-sort-value="40"| 28 ||data-sort-value="136"| 0088 || Set Attribute || Marks the beginning of a fixed-length device specific control sequence. Deprecated in favour of {{Control code link|internal=1|CSP}}. |- id = "SFE" | SFE ||data-sort-value="41"| 29 ||data-sort-value="137"| 0089 || Start Field Extended || Marks the beginning of a variable-length device specific control sequence. Deprecated in favour of {{Control code link|internal=1|CSP}}. |- id = "SM/SW" | SM/SW ||data-sort-value="42"| 2A ||data-sort-value="138"| 008A || Set Mode, Switch || Device specific control that sets a mode of operation, such as a buffer switch. |- id = "CU2" | CU2 ||data-sort-value="43" rowspan=2| 2B ||data-sort-value="139" rowspan=2| 008B || Customer Use Two || This appears in some specifications, such as [[DKOI|GOST 19768-93]];<ref name="gost19768">{{cite web |language=ru |id=GOST 19768-93 |date=1993 |author=[[GOST]] |url=http://docs.cntd.ru/document/gost-19768-93 |title=Информационная технология. Наборы 8-битных кодированных символов. Двоичный код обработки информации|trans-title=Information technology. 8-bit coded character sets. Binary code for information processing}}</ref> newer IBM specifications for EBCDIC control codes list only CU1 and CU3 as customer-use, and use this position for {{ctrl|CSP|internal=1}}.<ref name="IBM_G-1"/> |- id = "CSP" | CSP || Control Sequence Prefix || Marks the beginning of a variable-length device specific control sequence. Followed by a class byte specifying a category of control function, a count byte giving the sequence length (including count and type bytes, but not the class byte or initial CSP), a type byte identifying a control function within that category, and zero or more parameter bytes. Contrast with ISO/IEC 6429's {{Control code link|DCS}} (0090) and {{Control code link|CSI}} (009B). |- id = "MFA" | MFA ||data-sort-value="44"| 2C ||data-sort-value="140"| 008C || Modify Field Attribute || Marks the beginning of a variable-length device specific control sequence. Deprecated in favour of {{Control code link|internal=1|CSP}}. |- | ||data-sort-value="48"| 30 ||data-sort-value="144"| 0090 || ''(reserved)'' || Reserved for future use by IBM |- | ||data-sort-value="49"| 31 ||data-sort-value="145"| 0091 || ''(reserved)'' || Reserved for future use by IBM |- id = "IR" | IR ||data-sort-value="51"| 33 ||data-sort-value="147"| 0093 || Index Return || Either move to start of next line (see also {{Control code link|internal=1|NL}}), or terminate an information unit (see also {{Control code link|internal=1|IUS/ITB}}). |- id = "PP" | PP ||data-sort-value="52" rowspan=2| 34 ||data-sort-value="148" rowspan=2| 0094 || Presentation Position || Followed by two one-byte parameters (firstly function, secondly number of either column or line) to set the current position.<!-- Is there any publicly available documentation, or at least source code, giving more detail on this parameter format? --> Contrast with ISO/IEC 6429's [[ANSI escape code#Terminal output sequences|CUP and HVP]]. |- id = "PN" | PN || Punch On || Listed in this location by [[DKOI|GOST 19768-93]].<ref name="gost19768"/> |- id = "TRN" | TRN ||data-sort-value="53" rowspan=2| 35 ||data-sort-value="149" rowspan=2| 0095 || Transparent || Followed by one byte parameter that indicates the number of bytes of transparent data that follow. |- id = "RST" | RST || Reader Stop || Listed in this location by [[DKOI|GOST 19768-93]].<ref name="gost19768"/> |- id = "NBS" | NBS ||data-sort-value="54" rowspan=2| 36 ||data-sort-value="150" rowspan=2| 0096 || Numeric Backspace || Move backward the width of one digit. |- id = "UC" | UC || Upper Case || Listed in this location by [[DKOI|GOST 19768-93]].<ref name="gost19768"/> |- id = "SBS" | SBS ||data-sort-value="56"| 38 ||data-sort-value="152"| 0098 || Subscript || Begin subscript or undo superscript. Compare ISO/IEC 6429's {{Control code link|PLD}} (008B). |- id = "IT" | IT ||data-sort-value="57"| 39 ||data-sort-value="153"| 0099 || Indent Tab || Indents the current and all following lines, until {{Control code link|internal=1|RNL}} or {{Control code link|internal=1|RFF}} is encountered. |- id = "RFF" | RFF ||data-sort-value="58"| 3A ||data-sort-value="154"| 009A || Required Form Feed || Page-break resetting {{Control code link|internal=1|IT|Indent Tab}} mode. |- id = "CU3" | CU3 ||data-sort-value="59"| 3B ||data-sort-value="155"| 009B || Customer Use Three || Not used by IBM; for customer use. |- | ||data-sort-value="62"| 3E ||data-sort-value="158"| 009E || ''(reserved)'' || Reserved for future use by IBM |- id = "EO" | EO ||data-sort-value="255"| FF ||data-sort-value="159"| 009F || [[Eight Ones]] || All ones character used as filler |}
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
EBCDIC
(section)
Add topic