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 A10
-------------------------------------------------------------------------------
AD= MIT_______ ZP= SG= HE= _____________________ Rls 0
AL= _____ CD= __ CV= ________________________________ Mod Undef
PM= __ DF= DY= ______________________________
EM= __________________________ SB= ________________________________
001 --010---+----+----+---030---+----+----+---050---+----+----+---070---+----
.EXXXXXXXXX
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.
The data formats U (Unicode), C (Attribute Control) and Handle (object handles) are not allowed. 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 DY definition, enter a plus
sign (+) in the first position of the DY field
and press ENTER. A DY Extension window opens in
which you can enter a maximum of 59 characters. A DY
definition that extends beyond the DY field is indicated by a
plus sign (+) in the DY field. Overwrite this plus sign (+)
with any character to invoke the DY Extension window and
view, edit or delete the extended definition.
Important DY definition if no control variable (see also the
CV
field) has yet been defined for this map field.
|
||||||||||||||||||||||
| HE | Helproutine or help map.
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 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
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
|
||||||||||||||||||||||
| CV | Attribute control variable for dynamic field attributes.
This field
corresponds to the session parameter Note |
||||||||||||||||||||||
|
EM
or EMU |
Edit mask (EM) or Unicode edit mask
(EMU) to be used for the field. You can enter the toggle
command .U in this field to switch between the two.
EM is the default setting.
This field corresponds to the
session parameter If you require additional input space, enter the command
In the map editing area, a field that uses an edit mask is denoted by an
|
||||||||||||||||||||||
| 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 |
|
||||||||||||||||||||||
This section only applies if your terminal or terminal emulation supports viewing boxes.
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 |
| 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. |