The INFA_REPCNX_INFO environment variable applies to the pmrep command line program.
When you run
in command line mode or from a script, it stores repository connection information in a file, pmrep.cnx.
uses the information in this file to reconnect to the repository. The INFA_REPCNX_INFO environment variable stores the file name and file path for the repository connection file. Each time you run
, the command deletes the pmrep.cnx file. If the pmrep connect command succeeds, the command replaces the pmrep.cnx file with the repository connection information.
Use this variable when scripts that issue
commands run simultaneously, and the scripts connect to different repositories. In each shell, specify a different repository connection file. This prevents a script from overwriting the connection information used by another script.
If you do not set this environment variable,
stores connection information in pmrep.cnx in the home directory. If you want to set the pmrep.cnx file in another location, specify the file path using the INFA_REPCNX_INFO environment variable.