McKown, John writes:
> OK, so I have a corrupted mindset, coming from MVS <grin>. But suppose that
> I want to compile a LOT of programs. In MVS, I code up some JCL and submit
> it to run later. When it completes, I get a notify to my TSO id and look at
> the output in SDSF. I repeat this for however many compiles that I want to
> do. Perhaps doing the submissions over a period of time. How do I do that in
> Linux (or any UNIX)? In VM/CMS, I remember a CMSBATCH virtual machine which
> worked a bit like the MVS initiator. The best that I can think of to do in
> Linux is:

I'm surprised I haven't yet seen anyone else mention the "batch"
command that comes as part of the "at" suite. It'll probably already
be installed. It's very useful to be able to do
    at now somecommand
and "at" will "package up" your current environment variables and
arrange for the command to run "now" in the background, with all
stdout ending up sent to you as mail to your username once the job
is finished. For more complex resource control and timing, "batch"
lets you set up queues which run at particular times and when the
load average is low enough. It's certainly not as powerful as JES
but it may suffice for basic batch usage.

--Malcolm

--
Malcolm Beattie <[EMAIL PROTECTED]>
Linux Technical Consultant
IBM EMEA Enterprise Server Group...
...from home, speaking only for myself

Reply via email to