Example 1: The data group file entries are created by loading from file entries for another data group, DGDFN2.
LODDGFE DGDFN(DGDFN1) CFGSRC(*DGFE) FROMDGDFN(DGDFN2)
Since the FEOPT parameter was not specified, the resulting data group file entries for DGDFN1 are created with a value of *DGDFT for all of the file entry options. Because the configuration source is another data group, the value *DFT results in file entry options which match those specified in DGDFN2.
Example 2: The data group file entries are created by loading from file entries for another data group, DGDFN2 in another installation MXTEST.
LODDGFE DGDFN(DGDFN1) CFGSRC(*DGFE) PRDLIB(MXTEST) FROMDGDFN(DGDFN2)
Since the FEOPT parameter was not specified, the resulting data group file entries for DGDFN1 are created with a value of *DGDFT for all of the file entry options. Because the configuration source is another data group in another installation, the value *DFT results in file entry options which match those specified in DGDFN2 in installation MXTEST.
Procedure: Use this procedure to create data group file entries from the file entries defined to another data group.
From the management system, do the following:
-
From the MIMIX Intermediate Main Menu, type a
1
(Work with data groups) and press Enter. -
From the Work with Data Groups display, type a
17
(File entries) next to the data group you want and press Enter. -
The Work with DG File Entries display appears. Press F19 (Load).
-
The Load Data Group File Entries (LODDGFE) display appears with the name of the data group for which you are creating file entries. At the Configuration source prompt, specify
*DGFE
and press Enter. -
At the Production library prompt, either accept *CURRENT or specify the name of an installation library from which the data group you are copying is located.
-
At the From data group definition prompts, specify the three-part name of the data group from which you are loading.
-
If necessary, specify the value you want for the Update option prompt.
-
Specify the source for loading values for default file entry options at the Default FE options source prompt. Each element in the file entry options is loaded from the specified location unless you explicitly specify a different value for an element in Step 9.
-
If necessary, do the following specify a file entry option value to override those loaded from the configuration source:
-
Press F10 (Additional parameters).
-
Specify values as needed for the elements of the File entry options prompts. Any values you specify will be used for all of the file entries created with this procedure.
-
If necessary, specify a value for the Attributes to ignore prompt. This parameter allows auditing to ignore detected attribute differences to streamline environments that use non-switchable data groups and data groups whose target node is a replicate node of an application group. For other configurations, this parameter is ignored.
-
-
Press Enter. The LODDGFE Entry Selection List display appears with a list of the files identified by the specified configuration source
-
Either type a
1
(Load) next to the files that you want or Press F21 (Select all). -
To create the file entries, press Enter.
All selected files identified from the configuration source are represented in the resulting file entries. Each generated file entry includes all members of the file. If necessary, you can use Changing a data group file entry to customize values for any of the data group file entries.