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 (April 2001, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 16 Apr 2001 08:26:04 -0400
Reply-To:     robert.a.burnham@DARTMOUTH.EDU
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         robert.a.burnham@DARTMOUTH.EDU
Organization: Dartmouth College, Hanover, NH, USA
Subject:      Re: Run job in UNIX via ftp

>>>>> "Chung-Jung" == Chung-Jung Chung <cjc0121@YAHOO.COM> writes:

Chung-Jung> Is there any way to run jobs in UNIX via ftp ?

Karsten hit the major points, but I thought that I would throw out one more option to you. What I've done in the past is to write a daemon process that basically sleeps most of the time, occassionally waking up to see if any files had arrived since the last time that it was awake. If there are new files, then I have the daemon remember the names and sizes of the files so that it can compare them the next time that it wakes up. When the daemon wakes up again, it checks to see if the file sizes have changed in the interim (bascially checking to see if the file is done being FTPd) -- then it invokes a SAS program to operate on the new files.

(All this being said, I was never jealous of mainframe folks until I saw the FTP option: RCMD="site filetype=jes" Being able to FTP code to an account and have it executed automatically can be pretty handy. I've never seen this option under UNIX.)

Cheers,

Bob

-- Bob Burnham bburnham@dartmouth.edu http://www.dartmouth.edu/~bburnham


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