Date: Mon, 16 Apr 2001 10:54:51 -0400
Reply-To: Jack Shoemaker <JShoemaker@ACCORDANT.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Shoemaker <JShoemaker@ACCORDANT.NET>
Subject: Re: Run job in UNIX via ftp
Content-Type: text/plain; charset="iso-8859-1"
Michael,
No it doesn't. This works under OS/390 (aka MVS) because of the way that
the job scheduler works in this OS. Think punch cards. Way back when you
"ran" a job by loading those pieces of stiff paper into the punch reader.
Over time this has evolved to a "virtual" punch reader. That is, a bloody
electronic file. Notwithstanding, you can still "load punch cards" to this
"internal reader". This thread demonstrates how to do this using FTP which
is pretty cool, I admit.
- Jack
--
Jack N Shoemaker / JShoemaker@Accordant.net
Visit our patient communities at http://www.accordant.com or our corporate
site http://www.accordant.net
+ -----Original Message-----
+ From: Michael Bramley [mailto:bramley.m@PG.COM]
+ Sent: Monday, April 16, 2001 9:29 AM
+ To: SAS-L@LISTSERV.UGA.EDU
+ Subject: Re: Run job in UNIX via ftp
+
+
+ Robert (or anyone else):
+
+ This "feature" sounds thoroughly intriguing...do you know if
+ it exists in the NT
+ flavour?
+
+ TIA,
+
+ Michael
+
+
+
+ From: robert.a.burnham@DARTMOUTH.EDU on 04/16/2001 12:26 PM GMT
+
+ robert.a.burnham@DARTMOUTH.EDU To: SAS-L@LISTSERV.UGA.EDU
+ Cc: (bcc:
+ Michael Bramley-M/PGI)
+ Subject: Re: Run job
+ in UNIX via ftp
+ 04/16/2001 08:26 AM
+ Please respond to
+ robert.a.burnham@DARTMOUTH.EDU
+
+
+
+
+
+
+ >>>>> "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
+
|