Products Downloads


French version


 

Adelia creates only one file definition in the generated object language.

Consequently, you cannot use views that have incompatible types of access.

 

For example, you cannot use "access by key" in a file having already been defined by "sequential access" or "direct access" within another view.

 

Adelia optimizes the generation of file descriptions in the generated programs (files opened in I or U etc. mode on the AS/400) by looking at the instructions encountered in the model. This is done to avoid subsequent errors.

 

Example

UPDATE, CREATE

The file is opened in "update with create" mode.

 

 

STORE, PLACE, CLASSIFY

If the view is in "update with create" mode, the STORE and CLASSIFY instructions can be used to create records.

 

 

STORE, PLACE, CLASSIFY

If the view is in "update only" mode, the STORE and CLASSIFY instructions cannot be used to create records; only updates are allowed.

 

Click here for the detailed explanation of the 4GL instructions.

 

↑ Top of page

  • Aucune étiquette