Executing the CopyUpload Utility

The command line utility CopyUpload is used to prepare the target OFSAA instance to resume the model upload process from script generation or script execution. This utility is available in the $FIC_HOME/ficapp/common/FICServer/bin/ folder.
Following are the prerequisites for executing the utility:
  • CopyUpload.sh must have Execute permissions.
  • Appropriate permissions must be granted on the source folders.
  • All the required files must be copied to the target environment. For details, see Copying the Required Files.
To Run the utility from the console:
  1. Navigate to $FIC_HOME/ficapp/common/FICServer/bin folder.
  2. Execute the utility using the command: ./CopyUpload.sh
  3. Enter the following when prompted:
    • Enter ftpshare location – the path of the ftpshare location.
    • Enter dsnname – the information domain name.
    • Enter absolute filepath of fipjson folder - the path of the folder in which the JSON files are available.
    • Continue with scripts transfer? [y,n] – Enter ā€˜yā€™ if you want to copy the scripts, else enter ā€˜nā€™.
    • Enter absolute path for table folder – the path of the folder in which the table is available.
    • Enter absolute path for alter table – the path of the folder in which the alter table file is available.
    • Enter absolute path for scripts – the path of the folder in which the DB scripts are available.
  4. After the utility is executed successfully, the files are copied to the following locations:
    • //ftpshare/archive/<INFODOM>/json/fipjson_-1/*.json
    • //ftpshare/archive/<INFODOM>/json/scripts_-1/
    • //ftpshare/archive/<INFODOM>/scripts