LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2008, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 25 Jan 2008 10:48:31 -0600
Reply-To:   "data _null_," <datanull@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "data _null_," <datanull@GMAIL.COM>
Subject:   Re: HP UNIX job scheduler question
Comments:   To: Hari Nath <hari_s_nath@yahoo.com>
In-Reply-To:   <200801251641.m0PBlDSW028069@malibu.cc.uga.edu>
Content-Type:   text/plain; charset=ISO-8859-1

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 >


Back to: Top of message | Previous page | Main SAS-L page