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 ihs Command Reference
  14. infacmd ipc Command Reference
  15. infacmd isp Command Reference
  16. infacmd ldm Command Reference
  17. infacmd mrs Command Reference
  18. infacmd ms Command Reference
  19. infacmd oie Command Reference
  20. infacmd ps Command Reference
  21. infacmd pwx Command Reference
  22. infacmd rms Command Reference
  23. infacmd rtm Command Reference
  24. infacmd sch Command Reference
  25. infacmd search Command Reference
  26. infacmd sql Command Reference
  27. infacmd tdm Command Reference
  28. infacmd wfs Command Reference
  29. infacmd ws Command Reference
  30. infacmd xrf Command Reference
  31. infacmd Control Files
  32. infasetup Command Reference
  33. pmcmd Command Reference
  34. pmrep Command Reference
  35. Working with pmrep Files

Using Parameter Files with startworkflow

Using Parameter Files with startworkflow

When you start a workflow, you can optionally enter the directory and name of a parameter file. The Integration Service runs the workflow using the parameters in the file you specify. For UNIX shell users, enclose the parameter file name in single quotes. For Windows command prompt users, the parameter file name cannot have beginning or trailing spaces. If the name includes spaces, enclose the file name in double quotes.
Use parameter files on the following machines:
  • Node running the Integration Service.
    When you use a parameter file located on the Integration Service machine, use the -paramfile option to indicate the location and name of the parameter file.
    On UNIX, use the following syntax:
    -paramfile '$PMRootDir/myfile.txt'
    On Windows, use the following syntax:
    -paramfile "$PMRootDir\my file.txt"
  • Local machine.
    When you use a parameter file located on the machine where
    pmcmd
    is invoked,
    pmcmd
    passes variables and values in the file to the Integration Service. When you list a local parameter file, specify the absolute path or relative path to the file. Use the -localparamfile or -lpf option to indicate the location and name of the local parameter file.
    On UNIX, use the following syntax:
    -lpf 'param_file.txt' -lpf 'c:\Informatica\parameterfiles\param file.txt' -localparamfile 'c:\Informatica\parameterfiles\param file.txt'
    On Windows, use the following syntax:
    -lpf param_file.txt -lpf "c:\Informatica\parameterfiles\param file.txt” -localparamfile param_file.txt
  • Shared network drives.
    When you use a parameter file located on another machine, use the backslash (\) with the dollar sign ($). This ensures that the machine where the variable is defined expands the process variable.
    -paramfile '\$PMRootDir/myfile.txt'


Updated April 22, 2019