This appendix contains the BMS-related standard attribute and printer control characters, a bit map for attributes, MSR control value constants, and attention identifier constants.
The standard list DFHBMSCA makes it simpler to provide field attributes and printer control characters. Table 1 lists the symbolic names for the various combinations of attributes and control characters. If you need combinations other than the ones shown, you must generate them separately. To help you do this, see Table 2 for a bit map of attributes. To find the value of an attribute constant, see the 3274 Control Unit Reference Summary.
#include "dfhbmsca.h"
You must use the symbolic name DFHDFT in the application structure to override a map attribute with the default. You can use a high value, such as X'FF', to reset the COLOR, HILIGHT, OUTLINE, PS, SOSI, or VALIDN attributes to their default values. On the other hand, to specify default values in a set attribute (SA) sequence in text build, you should use the symbolic names DFHDFCOL, DFHBASE, or DFHDFHI.
Constant | Meaning |
---|---|
DFHBMPEM | Printer end-of-message |
DFHBMPNL | Printer new-line |
DFHBMPFF | Printer form feed |
DFHBMPCR | Printer carriage return |
DFHBMASK | Autoskip |
DFHBMUNP | Unprotected |
DFHBMUNN | Unprotected and numeric |
DFHBMPRO | Protected |
DFHBMBRY | Bright |
DFHBMDAR | Dark |
DFHBMFSE | MDT set |
DFHBMPRF | Protected and MDT set |
DFHBMASF | Autoskip and MDT set |
DFHBMASB | Autoskip and bright |
DFHBMPSO | shift-out value X'0E'. |
DFHBMPSI | shift-in value X'0F'. |
DFHBMEOF | Field erased |
DFHBMCUR | Field containing cursor flagged |
DFHBMEC | Erased field containing cursor (COBOL only) |
DFHBMFLG | Flags (COBOL only) |
DFHBMDET | Field detected |
DFHSA1 | Set attribute (SA) order |
DFHERROR | Error code |
DFHCOLOR1 | Color |
DFHPS1 | Programmed symbols |
DFHHLT1 | Highlight |
DFH32701 | Base 3270 field attribute |
DFHVAL | Validation |
DFHOUTLN | Field outlining attribute code |
DFHBKTRN | Background transparency attribute code |
DFHALL1 | Reset all to defaults |
DFHDFT | Default |
DFHDFCOL1 | Default color |
DFHBLUE | Blue |
DFHRED | Red |
DFHPINK | Pink |
DFHGREEN | Green |
DFHTURQ | Turquoise |
DFHYELLO | Yellow |
DFHNEUTR | Neutral |
DFHBASE1 | Base programmed symbols |
DFHDFHI1 | Normal |
DFHBLINK | Blink |
DFHREVRS | Reverse video |
DFHUNDLN | Underscore |
DFHMFIL2 | Mandatory fill |
DFHMENT2 | Mandatory enter |
DFHMFE | Mandatory fill and mandatory enter |
DFHMT | Trigger |
DFHMFT | Mandatory fill and trigger |
DFHMET | Mandatory enter and trigger |
DFHMFET | Mandatory fill and mandatory enter and trigger |
DFHUNNOD | Unprotected, nondisplay, nonprint, nondetectable, MDT |
DFHUNIMD | Unprotected, intensify, light-pen detectable, MDT |
DFHUNNUM | Unprotected, numeric, MDT |
DFHUNNUB | Unprotected, numeric, intensify, intensify, light-pen detectable |
DFHUNINT | Unprotected, numeric, intensify, light-pen detectable, MDT |
DFHUNNON | Unprotected, numeric, nondisplay, nonprint, nondetectable, MDT |
DFHPROTI | Protected, intensify, light-pen detectable |
DFHPROTN | Protected, nondisplay, nonprint, nondetectable |
DFHDFFR | Default outline |
DFHUNDER | Underline |
DFHRIGHT | Right vertical line |
DFHOVER | Overline |
DFHLEFT | Left vertical line |
DFHBOX | Underline and right vertical and overline and left vertical |
DFHSOSI | SOSI=yes |
DFHTRANS | Background transparency |
DFHOPAQ | No background transparency |
Notes:
1 For text processing only. Use for constructing embedded set attribute orders in user text. 2 Cannot be used in set attribute orders. |
prot | a/n | hi | spd | ndp | mdt | ebcd | asci | char |
---|---|---|---|---|---|---|---|---|
U | 40 | 20 | b (blank) | |||||
U | Y | C1 | 41 | A | ||||
U | Y | C4 | 44 | D | ||||
U | Y | Y | C5 | 45 | E | |||
U | H | Y | C8 | 48 | H | |||
U | H | Y | Y | C9 | 49 | I | ||
U | Y | 4C | 3C | < | ||||
U | Y | Y | 4D | 28 | ( | |||
U | N | 50 | 26 | |||||
U | N | Y | D1 | 4A | J | |||
U | N | Y | D4 | 4D | M | |||
U | N | Y | Y | D5 | 4E | N | ||
U | N | H | Y | D8 | 51 | Q | ||
U | N | H | Y | Y | D9 | 52 | R | |
U | N | Y | 5C | 2A | * | |||
U | N | Y | Y | 5D | 29 | ) | ||
P | 60 | 2D | - (hyphen) | |||||
P | Y | 61 | 2F | / | ||||
P | Y | E4 | 55 | U | ||||
P | Y | Y | E5 | 56 | V | |||
P | H | Y | E8 | 59 | Y | |||
P | H | Y | Y | E9 | 5A | Z | ||
P | Y | 6C | 25 | % | ||||
P | Y | Y | 6D | 5F | _ (underscore) | |||
P | S | F0 | 30 | 0 | ||||
P | S | Y | F1 | 31 | 1 | |||
P | S | Y | F4 | 34 | 4 | |||
P | S | Y | Y | F5 | 35 | 5 | ||
P | S | H | Y | F8 | 38 | 8 | ||
P | S | H | Y | Y | F9 | 39 | 9 | |
P | S | Y | 7C | 40 | @ | |||
P | S | Y | Y | 7D | 27 | ' |
Code | Meaning |
---|---|
a/n | Automatic skip or numeric |
asci | American National Standard Code for Information Interchange |
char | Graphic character equivalent to hex code |
ebcd | Extended binary coded decimal interchange code |
hi | High intensity |
H | High |
mdt | modified data tag |
ndp | nondisplay print |
N | Numeric |
prot | Protected |
P | Protected |
spd | Selector pen detectable |
S | Automatic skip |
U | Unprotected |
Y | Yes |