Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. Infacmd bg Command Reference
  10. infacmd cms Command Reference
  11. infacmd dis Command Reference
  12. Infacmd es Command Reference
  13. infacmd ipc Command Reference
  14. infacmd isp Command Reference
  15. infacmd mrs Command Reference
  16. infacmd ms Command Reference
  17. infacmd oie Command Reference
  18. infacmd ps Command Reference
  19. infacmd pwx Command Reference
  20. infacmd rms Command Reference
  21. infacmd rtm Command Reference
  22. infacmd sch Command Reference
  23. infacmd search Command Reference
  24. infacmd sql Command Reference
  25. infacmd tdm Command Reference
  26. infacmd wfs Command Reference
  27. infacmd ws Command Reference
  28. infacmd xrf Command Reference
  29. infacmd Control Files
  30. infasetup Command Reference
  31. pmcmd Command Reference
  32. pmrep Command Reference
  33. Working with pmrep Files

Using the Deployment Control File

Using the Deployment Control File

A deployment control file is an XML file that you use with the DeployFolder and DeployDeploymentGroup
pmrep
commands to deploy a folder or deployment group. You can create a deployment control file manually to provide parameters for deployment, or you can create a deployment control file with the Copy Wizard.
If you create the deployment control file manually, it must conform to the depcntl.dtd file that is installed with the PowerCenter Client. You include the location of the depcntl.dtd file in the deployment control file.
You can specify a deployment timeout in the deployment control file. The deployment timeout is the period of time that
pmrep
waits to acquire object locks in the target repository. By default,
pmrep
waits indefinitely until it acquires locks or you cancel the deployment. To cancel a deployment while
pmrep
is waiting to acquire locks, press Ctrl+C.
You must create the deployment control file manually to use some deployment parameters such as DEPLOYTIMEOUT.
The following is a sample of the depcntl.dtd file:
<!ELEMENT DEPLOYPARAMS (DEPLOYFOLDER?, DEPLOYGROUP?)> <!ATTLIST DEPLOYPARAMS         DEFAULTSERVERNAME    CDATA      #IMPLIED         COPYPROGRAMINFO      (YES | NO) "YES"         COPYMAPVARPERVALS    (YES | NO) "NO"         RETAINMAPVARPERVALS (YES | NO) "NO" COPYWFLOWVARPERVALS  (YES | NO) "NO"         COPYWFLOWSESSLOGS    (YES | NO) "NO"         COPYDEPENDENCY       (YES | NO) "YES"         LATESTVERSIONONLY    (YES | NO) "NO"         CHECKIN_COMMENTS     CDATA      #IMPLIED         DEPLOYTIMEOUT        CDATA      "-1"         RETAINGENERATEDVAL   (YES | NO) "YES"         RETAINSERVERNETVALS  (YES | NO) "YES">         COPYDEPLOYMENTGROUP  (YES | NO) "NO"> <!--criteria specific to deploying folder--> <!ELEMENT DEPLOYFOLDER (REPLACEFOLDER?, DEPLOYEDFOLDEROWNER?, OVERRIDEFOLDER*)> <!ATTLIST DEPLOYFOLDER         NEWFOLDERNAME         CDATA      #IMPLIED> <!--folder to replace--> <!ELEMENT REPLACEFOLDER EMPTY> <!ATTLIST REPLACEFOLDER         FOLDERNAME            CDATA      #REQUIRED         RETAINMAPVARPERVALS   (YES | NO) "NO"         RETAINWFLOWVARPERVALS (YES | NO) "YES"         RETAINWFLOWSESSLOGS   (YES | NO) "NO"         MODIFIEDMANUALLY      (YES | NO) "NO"         RETAINORIGFOLDEROWNER (YES | NO) "NO"> <!--shared folder to override--> <!ELEMENT OVERRIDEFOLDER EMPTY> <!ATTLIST OVERRIDEFOLDER         SOURCEFOLDERNAME    CDATA            #REQUIRED         SOURCEFOLDERTYPE    (LOCAL | GLOBAL) "LOCAL"         TARGETFOLDERNAME    CDATA            #REQUIRED         TARGETFOLDERTYPE    (LOCAL | GLOBAL) "LOCAL"         MODIFIEDMANUALLY    (YES | NO)     "NO" <!--criteria specific to deploy deployment group--> <!ELEMENT DEPLOYGROUP (REPLACEDG?, TARGETDGOWNER?, OVERRIDEFOLDER*, APPLYLABEL?)> <!ATTLIST DEPLOYGROUP         CLEARSRCDEPLOYGROUP (YES | NO) "NO">         NEWDEPLOYGROUPNAME   CDATA  #IMPLIED <!--labels used to apply on the src objects and deployed objects--> <!ELEMENT APPLYLABEL EMPTY> <!ATTLIST APPLYLABEL         SOURCELABELNAME     CDATA            #IMPLIED         SOURCEMOVELABEL    (YES | NO)          "NO"         TARGETLABELNAME     CDATA            #IMPLIED         TARGETMOVELABEL     (YES | NO)          "NO"> <!-- new owners of deployed folders --> <!ELEMENT DEPLOYEDFOLDEROWNER EMPTY> <!ATTLIST DEPLOYEDFOLDEROWNER         USERNAME         CDATA        #IMPLIED        SECURITYDOMAIN   CDATA     #IMPLIED         GROUPNAME        CDATA #IMPLIED> <!-- to indicate that a deployment group should be replaced--> <!ELEMENT REPLACEDG EMPTY> <!ATTLIST REPLACEDG         DGNAME          CDATA        #REQUIRED        SECURITYDOMAIN   CDATA     #IMPLIED <!-- new owner of copied deployment group--> <!ELEMENT TARGETDGOWNER EMPTY> <!ATTLIST TARGETDGOWNER         USERNAME         CDATA        #IMPLIED        SECURITYDOMAIN   CDATA     #IMPLIED


Updated April 22, 2019