Command Reference > Working with pmrep Files > Tips for Working with pmrep Files

Tips for Working with pmrep Files

Use the -n option when you use the pmrep commands Updatesrcprefix or Updatetargprefix.
When you include the -n option, you must enter the name of the source or target instance for the -t option. The source or target instance name must match the name displayed in the session properties or the name output by the Listtablesbysess command.
Use the -n option to use the Listtablesbysess command with the Updatesrcprefix or Updatetargprefix commands in a shell script if the source and target instance names match. Also, use the -n option to update a source even if the session uses a shortcut to a mapping.
When using the pmrep command ListObjects, enter a character or set of characters that is not used in repository object names for the column separator, end of record indicator, and end of listing indicator.
When you enter characters to separate records and columns, and to indicate the end of the listing, use characters that are not included in repository object names. This helps you use a shell script to parse the object metadata.
In pmrep, use the -v option when restoring a repository that uses an external directory service for user management.
When you include the -v option with Restore, you can retain the external directory service registration for the repository. If you do not enter this option with the valid administrator user name and password, the restored repository defaults to repository authentication mode and you lose the association between login names and user names.