Before you import a package, you must open the substitution
properties file in a text editor and make any necessary updates to
associations with objects and entities on the target system.
For example, when you
import a library, you must establish an association between the library
and a SAS Application Server on the target system; and when you import
a stored process, you must associate the stored process with a directory
path for the associated source code on the target system. These are
just examples of the many types of associations that might be necessary.
Follow these guidelines
when updating the substitution properties file:
-
In the
Connections:
sections
of the file (for example,
Connections: Application
Server
), do not modify properties that have the word
Source
in
the suffix. For example, do not modify
ApplicationServer[1].SourceName=
.
Instead, modify the corresponding target property (for example,
ApplicationServer[1].TargetName=
).
-
You can modify any of the other
properties as needed, unless the comments in the file indicate that
the properties are not to be modified.
-
When updating properties, use the
exact names of the resources as they appear on the target system.
The names are case sensitive.
Here are examples of
properties before the substitution properties file was modified:
[Connections: Application Server]
ApplicationServer[1].SourceName=SASAppTest
ApplicationServer[1].TargetName=SASAppTest
[Connections: Source Code Repository]
SourceCodeRepository[1].ApplicationServer=ApplicationServer[1]
SourceCodeRepository[1].SourceDirectory=c:\\StoredProcessesTest
SourceCodeRepository[1].TargetDirectory=c:\\StoredProcessesTest
SourceCodeRepository[1].CreateIfNeeded=false
Here are examples of
modified properties in a substitution properties file. Note that only
the target values have been modified. In addition, note that
CreateIfNeeded
has
been changed to
true
. This means that
the metadata definition for the source code repository will be created
if it does not exist on the target system. (The physical location
for the source code must already exist.)
Connections: Application Server]
ApplicationServer[1].SourceName=SASAppTest
ApplicationServer[1].TargetName=SASApp
[Connections: Source Code Repository]
SourceCodeRepository[1].ApplicationServer=ApplicationServer[1]
SourceCodeRepository[1].SourceDirectory=c:\\StoredProcessesTest
SourceCodeRepository[1].TargetDirectory=c:\\StoredProcesses
SourceCodeRepository[1].CreateIfNeeded=true