CLI Reference > Configuration Management Commands > si closecp
  
si closecp
closes a change package.
Synopsis
si closecp [--[no|confirm]allowOrphanedDeferred] [--[no]confirm] [--[no|confirm]releaseLocks] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] issue|issue:change package id...
Description
si closecp closes a change package. For example,
si closecp --confirmallowOrphanedDeferred --confirm --confirmreleaseLocks 3434:2
* 
If reviews are mandatory, you cannot close the change package using this command. The change package can only be closed by Windchill RV&S once it has successfully completed the review process. For more information, see the Windchill RV&S Hilfe-Center.
Options
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
--[no|confirm]allowOrphanedDeferred
controls if orphaned deferred operations are permitted when the change package is closed.
--[no]confirm
controls whether to confirm closing individual change packages.
--[no|confirm]releaseLocks
controls whether or not outstanding locks are released when the change package is closed.
issue...
issue:change package id...
issue identifies a specific issue that contains all open change packages that you want to close; use spaces to specify more than one issue.
issue:change package id identifies a specific change package to close; use spaces to specify more than one change package.
Diagnostics
See the diagnostics reference page for possible exit status values.
Preferences
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si add, si ci, si co, si cpissues, si createcp, si drop, si lock, si viewcps
Miscellaneous: ACL, diagnostics, options, preferences