The extended field editing function is used to define additional attributes for fields.
This section covers the following topics:
To invoke extended field editing
From within the map editing area:
In the line that contains the field(s) for which you want to define additional attributes, enter the following line command:
..E
For additional options, see also Line Commands in the section Editing a Map.
Or:
From within the map editing area:
In the field for which you want to define additional attributes, enter the following field command:
.E
Or:
From the Edit Map menu:
Execute function D
( ) for the map that contains the required field(s).
On the Field and Variable Definitions - Summary screen that appears, next to the field for which you want to define additional attributes, enter the following line command:
.E
For a data field, an extended field editing area similar to the example below is displayed in the upper section of the map editor screen:
Fld #001 Fmt A6 ------------------------------------------------------------------------------- AD= MIT_______ ZP= SG= HE= _____________________ Rls 0 AL= _____ CD= __ CV= ________________________________ Mod Undef PM= __ DF= BX= ____ DY= ______________________________ EM= __________________________ SB= ________________________________ 001 --010---+----+----+---030---+----+----+---050---+----+----+---070---+---- .EXXXXX Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12--- HELP Mset Exit <--- ---> -- - + < > Let |
Note:
The BX field only appears if Natural for MBCS
is installed and if the terminal or terminal emulation supports box viewing.
If Natural for MBCS is installed, for a text field created with
delimiter class D
, an extended text field editing area similar to
the example below appears:
Extended Text Field ------------------------------------------------------------------------------- AD= I_________ CD= __ PM= __ BX= ____ Hex Editing .. N Value Field1________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ 001 --010---+----+----+---030---+----+----+---050---+----+----+---070---+---- .Eield1 Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12--- HELP Mset Exit <--- ---> -- - + < > Let |
It is possible to invoke the extended field editing function for the next or previous field in the map editing area by pressing PF4 or PF5 respectively.
To terminate extended field editing
Press PF3.
Or:
Choose ENTER.
The fields contained in the extended field editing area of the editor screen are described in the following table:
Field | Explanation | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Fld | The field or array name. If the name is longer than
the available space, enter the command .E at the
beginning of the line to open additional space.
The name entered in the Fld or Arr field depends on the method used when creating the field:
The name of a field can be changed. However, a prefix cannot be used for a field which did not have a prefix assigned previously. To obtain a prefixed field name, select the field from a data definition in another Natural object. Note: See the section Defining Map Fields for additional information. |
||||||||||||||||||||||
Arr | |||||||||||||||||||||||
Fmt | The Natural data format and length of the field. These can be
changed by overwriting the current entry.
To define a reference to a dynamic alphanumeric variable, specify
|
||||||||||||||||||||||
AL
or FLor NL |
The length to be used when displaying the field. For dynamic
variables and long variables the length is automatically set, but can be
modified.
These fields correspond to the session parameters
|
||||||||||||||||||||||
Rls | The number of processing rules currently defined for the field. | ||||||||||||||||||||||
ZP | Zero printing.
You can only enter a value in ZP if the field is numeric or a time system variable. This field corresponds to the session parameter
|
||||||||||||||||||||||
SG | Sign position.
You can only enter a value in SG if the field is numeric or a time system variable. This field corresponds to the session parameter
|
||||||||||||||||||||||
PM | Print mode.
This field corresponds to the session parameter
|
||||||||||||||||||||||
DF | Date format (only applies to date fields).
This field corresponds to the session parameter
|
||||||||||||||||||||||
DY | Dynamic string attributes.
The dynamic string parameter is used to define certain characters contained in the text string of an alphanumeric variable to control the attribute setting. This field corresponds to the session parameter
|
||||||||||||||||||||||
HE | The HE option is used to assign a
helproutine or a help map to the map field. A helproutine or help map is then
invoked at execution time when a help request is made for the map field. For
detailed information, see the description of the HE
session parameter in HE
Helproutine in the Parameter
Reference documentation.
In the HE field, you can enter the name of a
helproutine or help map and the parameters to be passed to this helproutine or
help map. If you require additional input space, use the field command
The syntax that applies to specifying names and parameters in the
HE field corresponds to the syntax of the
operand1:
operand2:
Removing a parameter from the HE field implies that the parameter is also removed from the map, unless the parameter is a map field or is associated with any other map field as a help parameter or Starting from value (see Array Definition). |
||||||||||||||||||||||
AD | Field attributes.
This field corresponds to the session parameter
For source optimization reasons, the default values |
||||||||||||||||||||||
CD | Color attributes.
This field corresponds to the session parameter
|
||||||||||||||||||||||
BX | Box definitions specified with the
BX parameter.
For detailed information on using this field and valid input values, see BX - Box Definition in the Parameter Reference documentation.
BX settings will be
ignored at execution time.
|
||||||||||||||||||||||
CV | Attribute control variable for dynamic field attributes.
This field corresponds to the session parameter
Caution: |
||||||||||||||||||||||
EM | Edit mask to be used for the field.
This field corresponds to the session parameter
In the map editing area, a field that uses an edit mask is denoted
by an If the mask exceeds the available space, enter the command
|
||||||||||||||||||||||
SB |
The name of an array in which the values for a selection box are
provided. The indicator The format of the source field applies. You can change it in the Parameter Definitions window. |
||||||||||||||||||||||
Mod |
|
The fields contained in the extended text field editing area of the editor screen are described in the following table:
Field | Explanation |
---|---|
AD | Field attributes.
This field corresponds to the session parameter
The default value assigned is |
CD | Color attributes.
This field corresponds to the session parameter
|
PM | Print Mode.
This field corresponds to the session parameter
If you enter |
BX | Box definition specified with the BX
parameter.
For detailed information on using this field and valid input values, see BX - Box Definition in the Parameter Reference documentation.
|
Hex Editing | If you enter Y (Yes), the
Text Field Hex Editing window appears in which you can
modify the hexadecimal equivalent of the non-blank or blank value entered in
the Value field.
A blank value is represented by a series of the hexadecimal values 00. You can create a blank text field with the map editor by replacing
the hexadecimal values of an existing text field by 00. For example, for a text
field with value N (No).
|
Value | The alphanumeric character string of an extended text field or a
blank value for an extended blank text field, which is represented by a number
of periods (.) in the map editing area. This field can also contain a
double-byte character if D is entered in the
PM field. If the terminal emulation supports DBCS,
Value shows the decoded graphic of such a character.
You can change the current value by replacing either the character string in the Value field or the equivalent hexadecimal values entered in the Text Field Hex Editing window. Value may not contain any blank characters. |