Control codes

The control codes have an EBCDIC value in the range of X'00' through X'3F'. Table 1 describes the code points that are supported for 3270 data streams and also explains if it is fully supported.
Table 1. 3270 data stream control codes. Yes=The control code is supported; Ignore=NetSpool removes the control code from the data stream and does not report an error; Error=NetSpool returns an SNA sense code X'1003000'.
Control code EBCDIC Name Line support PCL support
CR X'0D' Carriage Return Yes Yes
EM X'19' End of Message Yes Yes
EUA X'12' Erase Unprotected to Address Yes Yes
FF X'0C' Form Feed Yes1 Yes1
GE X'08' Graphic Escape2 Yes Yes
IC X'13' Insert Cursor Yes Yes
MF X'2C' Modify Field (see Table 1) Yes Yes
NL X'15' New Line Yes Yes
PT X'05' Program Tab Yes Yes
RA X'3C' Repeat to Address Yes Yes
SA X'28' Set Attribute (see Table 1) Yes Yes
SBA X'11' Set Buffer Address Yes Yes
SF X'1D' Start Field Yes Yes
SFE X'29' Start Field Extended (see Table 1) Yes Yes
SI X'0F' Shift in Yes Error
SO X'0E' Shift out Yes Error
SYN X'32' SYN Character Ignore Ignore
Other control codes     Error Error
  1. The form feed (FF) control must occupy the first print position on a line. To put the FF control in the first position, place X'0C' after a Write Control Character, an NL control, or a CR control. The FF is printed as a space character.
  2. The NetSpool Graphic Escape exit replaces Graphic Escape characters with other printable characters.