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 (July 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 17 Jul 2003 18:21:27 +0000
Reply-To:     sashole@bellsouth.net
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Paul Dorfman <paul_dorfman@HOTMAIL.COM>
Subject:      Re: Scheduling a job on Mainframe
Comments: To: jmt_mtf@YAHOO.COM
Content-Type: text/plain; format=flowed

Jeff,

Your best bet is to contact your system admin and ask to put your job on the production schedule. Although you will probably be required to submit some mild paperwork and - most definitely - change some portions of our job to conform with production requirements (mostly JCL, of which you should not have much, especially if you code your file references as filerefs rather than DD names) , I bet you will be eagerly accommodated because eliminating stray ad-hoc jobs and incorporating them into production is every admin's golden dream. In addition, it will be someone else responsible for doing it. On the down side, you will be the one to be bothered if the job abended for any reason.

A more vague solution (which I myself would prefer if not for the shortcomings listed below) would be to use the SAS-supplied CALL SLEEP(<delay in milliseconds>) routine. In this case, precede your program with something to the effect of

data _null_ ; do until (0) ; call sleep (<time in millisecodns>) ; end ; run ;

Think of how to incorporate the scheduled datetime, current datetime, and weekend logic as an argument to SLEEP to make it work :-).This process does not consume any resources, so With JCL parm TIME=NOLIMIT, you should not have a problem on the weekdays. However, you should ask your sysadmin if your job will be allowed to sleep in this manner and if yes, whether they can help override the NOLIMIT default of 1440 minutes. You perhaps see now why my first advice may be way preferable.

Kind regards, ------------------------------ Paul M. Dorfman Jacksonville, FL ------------------------------

>From: Jeff Morison <jmt_mtf@YAHOO.COM> > > Thanks to all who responded to my earlier qn. > > I have this SAS program on mainframe with pulls data >from flat files, summarizes it, creates a SAS dataset >and appends to it on a daily basis, I need to set it >up to run every day of the week except Monday on >mainframe. > >Can anyone provide me some clues or ideas to do this?. > >TIA, >Jeff > >__________________________________ >Do you Yahoo!? >SBC Yahoo! DSL - Now only $29.95 per month! >http://sbc.yahoo.com

_________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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