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

Run

Run

Opens a script file containing multiple
pmrep
commands, reads each command, and runs them. If the script file is UTF-8 encoded, you must use the -u option and the repository code page must be UTF-8. If you run a UTF-8 encoded script file that includes the Connect command against a repository that does not have a UTF-8 code page, the Run command will fail.
If the script file is not UTF-8 encoded, omit the -u option. If you use the -o option and the -u option,
pmrep
generates the output file in UTF-8. If you use the -o option and omit the -u option,
pmrep
generates the output file based on the system locale of the machine where you run
pmrep
.
The command returns “run successfully completed” or returns “run failed” message. The run might fail if the Repository Service cannot open the script file or output file.
The Run command uses the following syntax:
run -f <script_file_name> [-o <output_file_name>] [-e (echo commands)] [-s (stop at first error)] [-u (UTF-8 encoded script file and output file)]
The following table describes
pmrep
Run options and arguments:
Option
Argument
Description
-f
script file name
Required. Name of the script file.
-o
output file name
Optional. Name of the output file. This option writes all messages generated by the commands in the script file into the output file. If you use the -u option and the -o option,
pmrep
generates a UTF-8 encoded output file. If you use the -o option without the -u option,
pmrep
encodes the output file based on the system locale of the machine running
pmrep
.
-e
-
Optional. Commands are echoed back to the script.
-s
-
Optional. Stops running the script after the first error.
-u
-
Optional. Encodes the output file in UTF-8 format. If you use the -u option and the -o option,
pmrep
also encodes the output file in UTF-8 format. Use this option only if the repository code page is UTF-8.

0 COMMENTS

We’d like to hear from you!