Date: Wed, 17 Jan 2007 00:30:37 -0800
Reply-To: xav <xav29atao@YAHOO.FR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: xav <xav29atao@YAHOO.FR>
Organization: http://groups.google.com
Subject: Re: Exporting Schedule Manager flow
In-Reply-To: <1168964236.726344.25010@51g2000cwl.googlegroups.com>
Content-Type: text/plain; charset="us-ascii"
Hello,
With this code I can get the URI of my scheduled jobs :
PROC METADATA SERVER=xx
PORT=xx
USERID=xx
PASSWORD=xx
REPOSITORY="Foundation"
IN="<GetMetadataObjects>
<Reposid>A0000001.A5JP7JSC</Reposid>
<Type>JFJob</Type>
<Objects/>
<Ns>SAS</Ns>
<Flags/>
<Options/>
</GetMetadataObjects>"
VERBOSE;
RUN;
The JFJob metadata type represents a job which is scheduled in the LSF
Job Flow.
So now I have the URI but how can I move thes objetcs to one server to
another?
Xavier
XML result (a sample)
<GetMetadataObjects><Reposid>A0000001.A5JP7JSC</Reposid>
<Type>JFJob</Type>
<Objects>
<JFJob Id="A5JP7JSC.AL000OP2" Name="A_JOB_TO_SCHEDULE"/>
<JFJob Id="A5JP7JSC.AL000OP4" Name="B_JOB_TO_SCHEDULE2"/>
<JFJob Id="A5JP7JSC.AL000OP5" Name="SCHEDULE_FLOW"/>
</Objects>
<Ns>SAS</Ns>
<Flags/>
<Options/>
</GetMetadataObjects>
xav a écrit :
> Hello,
>
> I have a question about the SMC plug-in : "Schedule Manager" .
>
> My flow contains 2 jobs (A and B) with a simple dependency :
> Job B is executed if job A is OK.
>
> How can I export a flow from one metadata-server to another?
>
>
> Thanks!
>
> Xavier