|
I would consider SYSTASK for this. You can start one job and have SAS
wait until it is finished to start the other. You can also retrieve
return code information, via a macro variable.
SYSTASK COMMAND "host-command"
<WAIT|NOWAIT>
<TASKNAME=taskname>
<MNAME=name-variable>
<STATUS=status-variable>
<SHELL<="shell-command">>
<CLEANUP>;
On Jan 25, 2008 10:41 AM, Hari Nath <hari_s_nath@yahoo.com> wrote:
> Hi all,
>
> I am using sas 9.1 HP Unix platform and am looking for way to run sas
> batch jobs. for example, if i have two sas jobs, how would i batch submit
> those two jobs so that the second program starts running as soon as the
> first program is done.
>
> The way i do it right now is by echo-ing the jobs. but the problem with
> that is i need to give a time.
>
> is there a way to do this...
>
> advise me.....
>
> Many thanks
> --hari
>
|