Date: Thu, 28 Apr 2011 08:34:58 -0700
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Jeff J. Voeller" <SAS-Programmer@WYWH.COM>
Subject: Re: Mainframe SAS - How to Execute a Program in Batch from the
SAS Display Manager
Content-type: text/plain; charset=US-ASCII
On Thursday, April 28, 2011 at 7:47 AM Michael Raithel wrote:
> I've been off of mainframes for several years, so I honestly cannot
> remember whether or not you can submit SAS from the Display Manager
> to the batch queue.
> I think that the answer is "NO; sir, you cannot submit a batch job to
> the Internal Reader from SAS Display Manager on z/OS." Can any of
> you mainframe lions and/or lionesses answer this one?
Hopefully my attempt to make the below generic didn't accidentally
delete something important:
filename intrdr ftp "'x'"
lrecl=80 rcmd='site filetype=jes'
file intrdr noprint;
put @1 jclline1 /
@1 jclline2 /
filename intrdr clear;
Of course, the DATA _NULL_ can also work with an existing file. That
existing file can itself be on the mainframe, too--you can use this
technique as a roundabout substitute for logging on, finding your job
and typing SUBMIT.