All defined keys are represented by either:
  • A 1-byte ASCII value that is part of the 256-element ASCII character set, or
  • A 2-, 4-, or 6-byte ASCII mnemonic

To represent a key defined as an ASCII character, a 1-byte ASCII value that corresponds to that character is used.

To represent a key defined as a function, a 2-, 4-, or 6-byte ASCII mnemonic that corresponds to that function is used. For example, to represent the backtab key, @B is used. To represent PF1, @1 is used. To represent Erase Input, @A@F is used. See the following lists:

@B Left Tab @0 Home @h PF17
@C Clear @1 PF1/F1 @i PF18
@D Delete @2 PF2/F2 @j PF19
@E Enter @3 PF3/F3 @k PF20
@F Erase EOF @4 PF4/F4 @l PF21
@H Help (PC400) @5 PF5/F5 @m PF22
@I Insert @6 PF6/F6 @n PF23
@J Jump @7 PF7/F7 @o PF24
@L Cursor Left @8 PF8/F8 @q End
@N New Line @9 PF9/F9 @u Page UP (PC400)
@O Space @a PF10/F10 @v Page Down (PC400)
@P Print @b PF11/F11 @x PA1
@R Reset @c PF12/F12 @y PA2
@T Right Tab @d PF13 @z PA3
@U Cursor Up @e PF14 @@ @ (at) symbol
@V Cursor Down @f PF15 @$ Alternate Cursor
@Z Cursor Right        
@A@C Test (PC400) @A@e Pink (PC/3270)
@A@D Word Delete @A@f Green (PC/3270)
@A@E Field Exit @A@g Yellow (PC/3270)
@A@F Erase Input @A@h Blue (PC/3270)
@A@H System Request @A@i Turquoise (PC/3270)
@A@I Insert Toggle @A@j White (PC/3270)
@A@J Cursor Select @A@l Reset Host Color (PC/3270)
@A@L Cursor Left Fast @A@t Print (Personal Computer)
@A@Q Attention @A@u Rollup (PC400)
@A@R Device Cancel @A@v Rolldown (PC400)
@A@T Print Presentation Space @A@y Forward Word Tab
@A@U Cursor Up Fast @A@z Backward Word Tab
@A@V Cursor Down Fast @A@- Field - (PC400)
@A@Z Cursor Right Fast @A@+ Field + (PC400)
@A@9 Reverse Video @A@< Record Backspace (PC400)
@A@b Underscore (PC/3270) @S@E Print Presentation Space on Host (PC400)
@A@c Reset Reverse Video (PC/3270) @S@x Dup
@A@d Red (PC/3270) @S@y Field Mark
  1. The first @ symbol in the first table represents the escape character. The first and second @ symbol in the second table is the escape character. The @ symbol is the default escape character. You can change the value of the escape character using the ESC=c option of the Set Session Parameters (9) function.

    If you change the escape character to #, the literal sequences used to represent the Backtab, Home, and Erase Input keys become #B, #0, and #A#F, respectively.

    Also, the literal sequence used to represent the @ symbol becomes #@.

  2. If you send the mnemonic for print screen (that is, either @P or @A@T), place it at the end of the calling data string.
  3. If you send the mnemonic for device cancel (that is, @A@R), it is passed through with no error message; however, local copy is not stopped.