Configuring default directories for RM and ASP data

The export and import commands are used to export and import relationship management (RM) data, and are described in export and import. The importasp command is used to import application service profile (ASP) packages, and is described in importasp. Configuring default directories for these commands relieves you of having to specify a directory name explicitly each time you issue them.

To simplify the configuration of these default directories, FTM SWIFT provides, for each OU, a script containing the necessary commands:
  • For business OUs the scripts have names of the form:
    deployment_dir/instance/admin/ou_dnfclcdd.cli
  • For DNFSYSOU the name of the script is:
    deployment_dir/instance/admin/dnfclcdy.cli
where:
deployment_dir
Directory specified in the CDP initialization file.
instance
Name of the instance.
ou
Name of the OU.
The scripts contain the following commands:
  • In dnfclcdd.cli:
    add -ou DNIvOU -ct DnfRmParameters -co DnfRmParameters -attr DefaultExportDir -val <export_dir>
    add -ou DNIvOU -ct DnfRmParameters -co DnfRmParameters -attr DefaultImportDir -val <import_dir>
    add -ou DNIvOU -ct DnfRmParameters -co DnfRmParameters -attr DefaultLogDir    -val <log_dir>
    The customization process substitutes the placeholder DNIvOU with the name of the OU.
  • In dnfclcdy.cli:
    add -ou DNFSYSOU -ct DnfAspParameters -co DnfAspParameters -attr DefaultImportDir -val <asp_import_dir>
    add -ou DNFSYSOU -ct DnfRmParameters  -co DnfRmParameters  -attr DefaultExportDir -val <export_dir>
    add -ou DNFSYSOU -ct DnfRmParameters  -co DnfRmParameters  -attr DefaultImportDir -val <import_dir>
    add -ou DNFSYSOU -ct DnfRmParameters  -co DnfRmParameters  -attr DefaultLogDir    -val <log_dir>
Modify and run these scripts:
  1. Copy the scripts into your home directory.
  2. In the copies of the scripts:
    • Replace the <export_dir>, <import_dir>, and <log_dir> placeholders with the names of the default directories to be used by the export and import commands.
    • Replace the <asp_import_dir> placeholder with the name of the default directory to be used by the importasp command.
    The broker must have read and write access to these directories.
  3. Run the modified copies of the dnfclcdd.cli and dnfclcdy.cli scripts. This requires the access rights provided by the system configuration administrator (DniSA) role:
    dnicli -i instance -ou SYSOU -s DNI_SYSADM -cft ou_dnfclcdd.cli -cp IBM-1047
    dnicli -i instance -ou SYSOU -s DNI_SYSADM -cft dnfclcdy.cli -cp IBM-1047
  4. Approve and deploy the changes:
    dnicli -i instance -ou SYSOU -s DNI_SYSADM 
    app -ou ou
    dep -ou ou

    If dual authorization is enabled, another user with the appropriate access rights must approve the changes before they can be deployed. If dual authorization is disabled, you can skip approving the changes and immediately deploy them.