PMCMD in Informatica
PMCMD in Informatica
PMCMD in Informatica
Informatica Platform
Single organic product architecture
Provider Informatica Data Integration Platform Shared Services
XML, Messaging, and Web Services
Audit
Access
Third Party INTEROPERABILITY
Integrate Visualize
Repository
Audit
Repository Server Global
Packaged Applications
Local
Packaged Applications
Data Server
Engine
Web Services
Web Services
(SOAP, WSDL)
Customer Application
D&B
4
DEMO
Using PmCmd
Greg Hanson Principle Consultant
What is PmCmd??
pmcmd is a program that you can use to communicate with the PowerCenter Server. You can perform some of the tasks that you can also perform in the Workflow Manager such as starting and stopping workflows and tasks
PmCmd Modes
Command line mode. The command line syntax allows you to write scripts for scheduling workflows. Each command you write in the command line mode must include connection information to the PowerCenter Server. Interactive mode. You establish and maintain an active connection to the PowerCenter Server. This allows you to issue a series of commands.
N.B Some functionality is dependent upon the mode in which connected
8
Useful Commands
Ping Server
In the command line mode, use the following syntax to ping the PowerCenter Server: pmcmd pingserver <-serveraddr|-s> [host:]portno In the interactive mode, enter the following syntax at the pmcmd prompt to ping the PowerCenter Server: Pingserver
This is Useful to ensure that the server is running prior to carrying out any subsequent commands
10
11
External Schedulers
You can use pmcmd commands with operating system scheduling tools like cron Embed pmcmd commands into shell scripts or Perl programs. Each command must include the connection information to the PowerCenter Server and the PowerCenter repository.
12
DEMO
13
Version Control
Greg Hanson Principle Consultant
14
Repository Server
Metadata Repository
15
16
17
PmRep Commands
AddToDeploymentGroup ApplyLabel Checkin ClearDeploymentGroup CreateDeployment CreateLabel DeleteDeploymentGroup DeleteLabel DeployDeploymentGroup DeployFolder ExecuteQuery FindCheckout UndoCheckout Validate
18
DEMO
19