| Date: | Mon, 8 Apr 1996 14:17:00 EDT |
| Reply-To: | Carol Bristow <CEB@NCCIBM1.BITNET> |
| Sender: | "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU> |
| From: | Carol Bristow <CEB@NCCIBM1.BITNET> |
| Subject: | Re: Batching jobs, etc. |
|
| In-Reply-To: | <199604081534.LAA206956@IPE.CC.VT.EDU> |
|---|
> I'm running SAS 6.07 on MVS. We have both MVS SAS and UNIX SAS
> here, and I've noticed that it's possible to set a time to start
> running a SAS job on UNIX. Is it possible to do the same thing in
> MVS?
If you are submitting your MVS SAS jobs for batch processing, you
can add an after card to your JCL, which can include either a jobname
or a time after which you want your job to run. So if you want your
job to start at 9:00 pm, your after card would look like
//after 2100
If you had a specific job that had to run first, you would give that
job a name in its jobcard (such as //firstjob job .......), and
in the after card of your subsequent job(s), you could have
//after firstjob
> Also, I usually have to run the same reports at specific times of
> the month, Is there a way to batch jobs together so I can submit just
> one job, instead of five or six?
>
I would write a clist for this. If you always submit the exact same
jobstreams (as members of a dataset, for example), your clist
could be as simple as:
sub reports.batch(report1)
sub reports.batch(report2)
sub reports.batch(report3)
And your jobs will be submitted one after another. If you need to
change some parameters, you could set up a skeleton job, and then
have your clist make substitutions. I won't go into that here, but
if you need to go that far, I'd be happy to give you some help off
the list.
Carol Bristow
***********************************************************************
Mail: DPRA Incorporated * Voice: (703) 841-8025
1300 North 17th Street, Suite 950 * Fax: (703) 524-9415
Rosslyn, VA 22209 *
----------------------------------------*------------------------------
Internet: CEB@EPAIBM.RTPNC.EPA.GOV * Bitnet: CEB@NCCIBM1.BITNET
***********************************************************************
|