Reconstructing a project

Use the SyncProject command to reconstruct a project from the repository.

Parameters

The project directory is deleted before the project is reconstructed from the repository. The reconstructed project does not retain any log or job status data.

The jobs and routines in the reconstructed project must be recompiled.

The SyncProject command has the following syntax:

SyncProject authentication_parameters
-Project Projectname
-Reconstruct
-Project Projectname
Specifies the project to be reconstructed.
-Reconstruct
Specifies that a project is to be reconstructed.

Example

The following command requests that a project named dstage1 is reconstructed from the repository.
SyncProject -ISHost R101:9443 -ISUser admin -ISPassword pword -project dstage1 
-reconstruct
The command outputs the following report:
DSEngine Restorer Fix Results

Wed Jan 20 09:13:35 GMT 2010

IS Host = R101
IS Port = 9443
IS User = admin

DS Host = R101
DS Port = 3158

DataStage Project: dstage1
--------------------------

RESOLVED: Deleting and re-creating DS Engine Project: dstage1.
RESOLVED: DS Engine Job 'px1' is missing.
RESOLVED: DS Engine Job 'sv1' is missing.
RESOLVED: DS Engine Shared Container 'pxsc1' is missing.
RESOLVED: DS Engine Shared Container 'svsc1' is missing.

Overall Summary
---------------

5 Issues Resolved.
0 Issues Unresolved.