Consultor Eletrônico



Kbase P60138: How to use the PCCMD command.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

GOAL:

How to use the PCCMD command.

GOAL:

Syntax for PCCmd commands.

FACT(s) (Environment):

Progress 8.x
Progress 9.x
Windows NT 4.0
Windows 2000

FIX:

Below are some examples with an explanation of what the variations of pccmd command:

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 "identifier"