Show TOC

DOWNLOADSCAS / DCSLocate this document in the navigation structure

Use

DOWNLOADSCA

Syntax

downloadscas | dcs --dev | --cons | --asm | --test | --app | --prod -s <software component(s)> | --ct <developed | used | all> [--inc] | [--package <package type(s|a|sa)>] --dtc --path <targetDirectory> -f <fileN ame(s)> | --fa

Arguments

--dev

Downloads SCA from the development system.

--cons

Downloads SCA from the consolidation system

--as m

Downloads SCA from the assembly.

--test

Downloads SCA from the test system.

--app

Downloads SCA from the approval.

--prod

Downloads SCA from the production system.

-s <software component(s)>

Software component(s) to download. You have to specify the whole name of the software component, including the vendor. To find out which components are available in this track, use command listscs .

If you want to download more than one software component, you can provide a comma-separated list of software components. You have to enclose this list in double quotes (").

Example: example.org_MYFIRSTSC

--ct <developed | used | all>

Option to specify the type of software component(s) to download. You have to specify:

  • developed - for downloading developed software component(s).

  • used - for downloading used software component(s).

  • all - for downloading developed and used software component(s).

[--inc]

Option to include the build archives in the downloaded SCA. If they are not set, build archives will not be included in SCA. If they are set, build archives will be included in SCA.

[--package <package type(s|a|sa)>]

Option to specify the SCA package type. You have to specify the package type using :

  • s - for package type source.

  • a - for package type archive.

  • sa - for package type source and archives.

--dtc

Option that specifies the download of the SCA to the client file system. If it is not set, only the SCA path on the server is returned.

--path <targetD irectory>

Can be used only with the option --dtc . Specifies the path on the client file system where the SCA will be downloaded. If the path is not specified, the SCA is downloaded to the default location (a folder SCA is created in the current working directory and is used as the default location). Use slash (/) as the path separator.

-f <file N ame(s)>

Can be used only with the option --dtc . Specifies the file name for the downloaded SCA. For example, the SCA is saved in the client file system with the specified file name. If the file name is not specified, the SCA is saved with the file name returned by the server. If you want to download more than one SCA you can provide a comma-separated list of filenames. The first name mentioned in the -s option will be saved with the first file name and so on. You have to enclose this list in double quotes (").

The file names list has to contain the same number of file names as the SCA list.

--fa

Can be used only with the option --dtc . When this option is specified, the downloaded SCA is always saved in the client file system with the file name returned by the server. If this option is enabled, the -f option can not be used.

Description

Command to download SCAs from the current track to the CMS server. The status and absolute path of the generated SCAs on the CMS server will be displayed.

Example

dsc --dev -s example.org_MYFIRSTSC --package sa --dtc --path "c:/cmstool/MySCAs"

dsc --dev -s "example.org_MYFIRSTSC,example.org_MYSECONDSC" -f "SCA1.sca,SCA2.sca" --dtc --package sa

dsc --cons --ct developed --inc