Date: Fri, 17 Nov 2000 04:56:22 GMT
Reply-To: Huck <huck@SKIPTHISFINN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Huck <huck@SKIPTHISFINN.COM>
Organization: RoadRunner Portland, Maine
Subject: Re: MVS SAS Submitting Job
//step exec sas
//reader dd sysout=(b,,intrdr)
//sysin dd *
data tmp;
input ;
file reader ;
put _infile_;
you should be able to go from here
i think its intrdr , may be inrdr (no t)
havent ben on mvs for a year ....
Huck
On Thu, 09 Nov 2000 18:18:46 GMT, amichiel@earthling.net wrote:
>I've done this before hundreds of years ago, and don't have a clue
>how we did it....
>I want to use a SAS batch program, to read in a text file of JCL
>& SAS code, modify (pass values) to modify the JCL & SAS code,
>and submit the modified JCL and SAS to run in batch...
>as in the simple example
>
>%let mon='FEB' ;
>
>data tmp ;
> input a $2-60 ;
>cards ;
> //KC4JHSAS JOB SPCRS,'DC 597-7031',MSGCLASS=X,
> // CLASS=1,NOTIFY=KC0JN
> //JCLOVER JCLLIB ORDER=(IAA.TDLMS.PROCLIB)
> //STEP1 EXEC SASIAR
> //WORK DD DSN=IAA.TDLTR.SASWORK.GROUP5,DISP=OLD
> //FILE1 DD DSN=KC3LD.SAS.SNBX57A.&mon.,DISP=SHR
> //FILE2 DD DSN=KC3LD.SAS.SNBX57B.&mon.,DISP=SHR
>...
>
>run ;
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
|