search cancel

Error hco comand "State has no such Checkout Process or has no execute access."


Article ID: 200843


Updated On:


CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister


From the Workbench, we can do a Check-Out for Browse towards this agent correctly, but executing the hco command in the broker does not allow us to Check-Out.

[email protected]:/hv_temp/contingencia# cat hco.log
I00060040: New connection with Broker bualaix007  established.
State has no such Checkout Process or has no execute access.
[email protected]:/hv_temp/contingencia#

The hco command we used was similar to this:

hco -b brokername -en SampleProject -st Development -br -r -s * -vp \SampleRepository -op pc -po -pn Check Out for Browse -usr testuser1 -pw ******** -cp C:\Temp



Release : 13.0.3

Component : CA Harvest Software Change Manager


The error message means that the state does not have a check out process with that name defined, or the user ID being used does not belong to a group that has permission to run the process. Recommend to check the following:

  1. In the Administrator Tool, navigate to the project, and state and check if there is a process with the name you specified in the hco command.
  2. If you find this process, right click on it and view the properties. In the "Access" tab, does the user you specified in the hco command belong to one of those user groups?
  3. If both of these details seem correct, then look again at your hco command.  In the above example, the check out process name was specified this way:

hco -b brokername ... -pn Check Out for Browse ...

Notice there are no double quotes around the name of the process.  The Windows or Linux/Unix command line interpreter will take this to mean that the process name is "Check".  Since there are spaces in the name of the process you should surround the process name with double quotes, like this:

hco -b brokername ... -pn "Check Out for Browse" ...