Products Downloads


French version


 

Warning: This topic does not affect the C generator.

 

For 36 file format names without a period

  1. Create (via option 62) a logical entity having the same structure as the 36 file.

  2. Generate the entity in order to update the file glossary.

  3. Create an access, then generate this access giving it the same format name as the 36 file's format name. Use this access at view level within the model.

  4. On execution, run the OVRDBF command without the format verification option (LVLCHK = *NO).

 

For 36 file format names containing a period

  1. Duplicate the original 36 file and give the new file a name without a period (if the file name does not have a period, you do not need to duplicate it).

  2. Retrieve the duplicated 36 file description using option 60; a logical entity is created in the LDM.

  3. In the file glossary (menu option 85, then F17, then option 3=Characteristics), rename the format used for RPG generation (remove the period).
    The retrieved file has the following description:
            • First field: the key.
            • Second field: the information items.

  4. To divide the second field, create a logical entity having properties that simulate the division of the field in 36 files (option 62).

  5. Generate this entity using option 85 in order to update the file glossary.

  6. In the Adelia program, make a DSE with the file coming from the entity.
    Warning: This may cause a problem if the 36 file's second field contains more than 256 characters.

  7. Then create a view with the duplicated 36 file retrieved in Adelia.

  8. Read the view then transfer the 36 file's second field into the DSE. Before a write operation, do the contrary.

  9. On execution, before calling the program, run the OVRDBF IBM command with the LVLCHK parameter set to *NO between the duplicated 36 file and the original 36 file.

 

↑ Top of page

  • Aucune étiquette