LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (November 2000, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 9 Nov 2000 18:18:46 GMT
Reply-To:     amichiel@EARTHLING.NET
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         amichiel@EARTHLING.NET
Organization: Deja.com - Before you buy.
Subject:      MVS SAS Submitting Job

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.


Back to: Top of message | Previous page | Main SAS-L page