Date: Thu, 28 Apr 2011 08:34:58 -0700
Reply-To: SAS-Programmer@wywh.com
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
In-Reply-To: <97C19C72794C694CA4004F1F2A671BA90306CA55@ASHEVS013.mcilink.com>
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'"
host="your.exciting.host"
user='racfid' pass='racfpw'
lrecl=80 rcmd='site filetype=jes'
DEBUG;
data _null_;
file intrdr noprint;
put @1 jclline1 /
@1 jclline2 /
@1 jclline3;
run;
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.