Previous Topic: Example of Transferring Data Between DictionariesNext Topic: Transferring in Batch Mode


Completing the Data Transfer

Assuming that all dependent entities are already defined in dictionary PROD, the user completes the data transfer by using the online DDDL compiler, as follows:

  1. Issue a DISPLAY MODULE DECOMPILE VERSION IS 1 AS SYNTAX statement to display the detailed syntax from module DECOMPILE.
  2. Retain the displayed syntax, but change the first line of the screen I/O area to SIGNON DICTIONARY NAME IS PROD.
  3. Press ENTER to execute the SIGNON statement.
  4. Issue an INCLUDE statement naming the module DECOMPILE.

An Alternative Method

An alternative method of completing the transfer is to delete everything in the screen I/O area, up to and including the keywords MODULE SOURCE FOLLOWS, as well as the MSEND statement; only the detailed syntax for the records and elements being transferred should remain. Then, change the first line to SIGNON DICTIONARY NAME IS PROD and press ENTER to sign on to and add each record and element directly to the dictionary PROD.

This method may be preferable in that it requires less space in the dictionary.