Products Downloads


French version


 

The data flow is automatically generated from the data which was specified when the program was built.

 

You may specify, when working with the properties assigned to a transaction or a report:

  • the access type used when a subfile is loaded.

  • the properties constituting the access to the information selected in a given entity.

  • the use mode for the properties (Input/Output, etc.).

 

See the explanations for the following dialog boxes:

 

The automatic generation is made as follows:

  • The entities are processed in the same order as when they were assigned on the transaction or the report.

  • The data items selected in an entity are gathered under a single view.

  • The view is automatically defined if there was not one equivalent before (same file, same type of use and same number of key fields).
    When it comes to interactive programs using a subfile, the load view for this subfile is detailed, together with the view corresponding to the update in case some information can be modified in the subfile.

  • When it comes to creating a new view:

    • The file to be used is determined from the properties constituting the access. If the entity key is convenient for the access path specified, then the file with the key is taken into account (physical with key, or logical); otherwise the first access with a convenient access path will be taken into account.
    • Concerning the key fields of the view, those taken into account are:
      • the first screen field in I or B (or O or H if it is the update view of the subfile) whose origin is the logical property defined in the access of the entity;
      • the first screen field whose original logical property is different from the property defined in the access of the entity, but has the same conceptual origin;
      • the field of the file constituting the access.

Access

In order to run the automatic generation of the data flow, you must either:

  • Check the Data flow box in the Work with a batch program dialog box, then click the Generate button.

  • Choose the Generate data flow option in the Program menu of the SSG.

  • Choose the Generate data flow option in the Program menu of the 4GL Editor.

 

The data flow generation is automatically started when a program template contains the %GENERATE_DF Q/A instruction.

 

↑ Top of page

  • Aucune étiquette