-R sdeploy option

The -R option can be used with the sdeploy utility command.

The results (-R) option of the sdeploy utility command will have a parameter to specify the location or file name, or both, for the results file produced by the sdeploy operation for each system. There are 2 different cases where (-R) can be used in the sdeploy utility command.

In the first case, the (-R) option is used with the process all systems (-A) option. The specified parameter could either be the name of the directory where the results files will be written, or the full file path specification in which a wildcard can be used to represent the system or executable map naming convention. The default naming convention for the results file is MSEBlds_system_name.txt for the (-BUILDMAPS) option and MSEAnlz_system_name.txt for the (-ANALYZE) option. If a wildcard is specified in the sdeploy mysystems.msd -ANALYZE -A -R C:\MyDev\AnalyzeResults\*.err full path, the results files will be produced in the C:\MyDev\AnalyzeResults directory with the MSEAnlz_system_name.err naming convention. If a wildcard is specified in the full path as sdeploy mysystems.msd -BUILDRESULTS -A -R C:\MyDev\BuildResults\*.err, the results files will be produced in the C:\MyDev\BuildResults directory with the MSEBlds_system_name.err naming convention.

In the second case, the (-R) option is used without the process all systems (-A) option. The specified parameter could be the name of the directory where the results files will be written, the full file path specification in which a wildcard can be used to represent the result file, or the full path in which the complete filename can be specified. The default naming convention for the results file is MSEBlds_system_name.txt for the (-BUILDMAPS) option, MSEAnlz_system_name.txt for the (-ANALYZE), and MSEDploy_system_name.txt for the (-DEPLOY) option. If a wildcard is specified in the full path as sdeploy mysystems.msd mysystem -ANALYZE -R C:\MyDev\AnalyzeResults\*.err, the results files will be produced in the C:\MyDev\AnalyzeResults directory with the MSEAnlz_system_name.err naming convention. If a wildcard is specified in the full path as sdeploy mysystems.msd mysystem -BUILDRESULTS -R C:\MyDev\BuildResults\*.err, the results files will be produced in the C:\MyDev\BuildResults directory with the MSEBlds_system_name.err naming convention. If a wildcard is specified in the full path as sdeploy mysystems.msd mysystem -DEPLOY -R C:\MyDev\DeployResults\*.err, the results files will be produced in the C:\MyDev\DeployResults directory with the MSEDploy_system_name.err naming convention.

If the (-R) option is not specified, the results will be written to the console. If the (-R) option is specified, but no parameter is provided, the command line is invalid, and the Not a valid command line - The file name for the resulting result file should be provided when -R option is selected. error message will display on the console. If the file name or the path provided for the (-R) option is not valid or returns error while attempting to open or write to the file, the Compilation error - The file/path provided for the option (-R) is not valid, unable to write to the specified directory/file message will be written to the sdeploy log file, if it is enabled. If the (-R) option is specified without the (-ANALYZE, -BUILDMAPS, or -DEPLOY) options, the command line is invalid, and the Not a valid command line - (-R) option can be specified only with (-ANALYZE) or (-BUILDMAPS) or (-DEPLOY) command options. error message will display on the console.