ADELIA |
|
|
|
|
(I/B) |
|
|
|
|
Section for use
All
Syntax
DSE Id ExternalFileName
Description
This instruction defines a data structure external to the prototype, by means of a database file.
Important note: The system verifies the existence of the external file.
The name is the guide word of an alphanumeric variable or a code which does not exceed 6 characters.
In the latter case, the DSE is defined as a variable, which should be defined with the *NODEF reference field.
Restrictions
In a DSE defined by Adelia, you must not use the dummy properties of the corresponding file, because they will not be generated.
Example
The FDATE file: |
||
|
||
A************************************************************* |
||
A* |
PHYSICAL FILE |
* |
A* |
Description of the date |
* |
A************************************************************* |
||
A |
R DATEF |
TEXT ('Date format') |
A |
MONTH |
2 0 |
A |
DAY |
2 0 |
A |
YEAR |
2 0 |
A |
CENTURY |
2 0 |
|
||
DSE DSDATE FDATE |
||
* Retrieval of the FDATE file description for the DSDATE data structure. |
See also the list of 4GL instructions by topic