Consultor Eletrônico



Kbase 19384: Proper Syntax for PCCmd commands
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/16/2000
Kbase # 19384

There seems to be some misunderstanding on the proper syntax for the PCCmd commands. Below are some examples with an explanation of what they do.


PCCmd [Host name] ProService or Databases or Dataserver or otherTasks
Start or stop or status Identifier (the name that was selected in ProControl for
a database, dataserver, etc?)


PCCmd //DBserver1 "ProService for 8.3B"start
This will start ProControl for 8.3B on machine DBserver1and any entry in Procontrol that is set to autostart. The name "Proservice for 8.3B" must be in quotes and in the same as the name listed under Services in the NT control panel.

PCCmd //DBserver1 "ProService for 8.3B" stop
This will stop ProControl and anything running under ProControl. If you have started an OID broker through ProControl, you can not stop the broker through ProControl. You must use the ProShut -SV command to stop an OID broker.

PCCmd //DBserver1 Databases start sports
This will start the sports database. ProControl must be running and have an entry for the sports database.

PCCmd //DBserver1 Databases stop sports
This will stop the sports database if is was started under ProControl. All other tasks running under ProControl stay running.

The syntax is the same for starting and stopping a DataServer or OtherTask.
PCCmd //Dbserver DataServer start/stop "identifier"
PCCmd //Dbserver OtherTasks start/stop "identifier"

*Note! It is essential that the identifier is within quotation marks.