Unofficial Content
  • This documentation is valid for:

For native iSeries generators (RPG/Cobol), the name given to screen dds was changed in Genexus X Evolution 1, and this caused the inclusion, in GeneXus X Ev1 U3, of a property called "DDS file naming convention".

Because, starting with GeneXus X, objects generated are not prefixed (as it was the case with previous versions: T for transactions, W for workpanels and so on), a problem would arise in iSeries generators. The name of the screen dds in transactions would collide with the name of the dds in the table generated from them (both stored in the QDDSSRC file of the programs library).

Syntax

In order to avoid this, the name of screen DDS in Genexus X Evolution 1 is generated as follows:

S<ObjectTypeChar><ObjectNumber>.dds

where:

ObjectNumber
     is unique by types of object for each KB.

Example

ST000001.dds

This new nomenclature still leaves one problem unsolved when two or more different KBs share the same programs library (despite the fact that this is not the most recommended mehtod, we still seek a solution for this).

A probable problem in this case would be the fact that the prefix of the screen DDS remains always the same, and the Object Number is specific for KB. Therefore, the screen DDS for two different objects originating in different KBs could be the same, and they would collide upon both being tranferred to the same library.

The purpose of this property is thus to allow developers the flexibility of defining the type of nomenclature to be used for the screen DDS name, depending on the reality of the case. 

The DDS file naming convention property determines, for objects with screen, the name for its DDS, to be found at the Generator level, where possible values are:

Default: Generates the DDS with the name S<ObjectTypeChar><ObjectNumber>.dds
D<ObjectName>: Generates the DDS with D<ObjectName>
<ObjectName>D: Generates the DDS with <ObjectName>D
D<ObjectNameWithoutFirstLetter>: Generates with D<ObjectNameWithoutFirstLetter>

Considerations

It must be borne in mind that, for the RPG generator, if any of the no Default options are used, the ppty is to be modified. Signifcant object name length at the design level, with a value less than 8, because adding the letter D to the DDS would exceed the limit allowed for this language.

When said value is changed to less than 8, we must remember that, by default, the GX KBs include an SDT called Messages, and a domain called MessageType. Before proceeding to do the change, either one of these must be renamed, in order to avoid their collisioning.

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant