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 autotune Command Reference
  10. Infacmd bg Command Reference
  11. infacmd ccps Command Reference
  12. infacmd cluster Command Reference
  13. infacmd cms Command Reference
  14. infacmd dis Command Reference
  15. infacmd dp Command Reference
  16. infacmd idp Command Reference
  17. infacmd edp Command Reference
  18. Infacmd es Command Reference
  19. infacmd ihs Command Reference
  20. infacmd ipc Command Reference
  21. infacmd isp Command Reference
  22. infacmd ldm Command Reference
  23. infacmd mas Command Reference
  24. infacmd mi Command Reference
  25. infacmd mrs Command Reference
  26. infacmd ms Command Reference
  27. infacmd oie Command Reference
  28. infacmd ps Command Reference
  29. infacmd pwx Command Reference
  30. infacmd roh Command Reference
  31. infacmd rms Command Reference
  32. infacmd rtm Command Reference
  33. infacmd sch Command Reference
  34. infacmd search Command Reference
  35. infacmd sql Command Reference
  36. infacmd tdm Command Reference
  37. infacmd tools Command Reference
  38. infacmd wfs Command Reference
  39. infacmd ws Command Reference
  40. infacmd xrf Command Reference
  41. infacmd Control Files
  42. infasetup Command Reference
  43. pmcmd Command Reference
  44. pmrep Command Reference
  45. Working with pmrep Files

Command Reference

Command Reference

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" OVERRIDESERVER (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

0 COMMENTS

We’d like to hear from you!