LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 17 Oct 2003 07:08:29 -0700
Reply-To:     Randy Cartwright <rwcartwright@AAAMICHIGAN.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Randy Cartwright <rwcartwright@AAAMICHIGAN.COM>
Organization: http://groups.google.com
Subject:      Re: Mainframe SAS program sample
Content-Type: text/plain; charset=ISO-8859-1

Richard Thornton <richard@sun1.programming-analytics.org> wrote in message news:<Pine.GSO.4.33.0310161959420.3422-100000@sun1>... > Basically "mainframe" SAS is the same as any other SAS, except JCL > is involved; Usually the SAS code is inline following a > > //JOBCARD > //IN1 DD DSN = etc > . > . > . > > //SYSIN DD * > > Options obs=max symbolgen; > > libname whatever; > filename whatever; > > data test; > run; > > proc means; > run; > > > /* > //* > Actually, one of the big differences is that on the mainframe, SAS can read files directly using the JCL DD name, rather than using filename and libname (although both are still usable). E.g.,

//FILEONE DD DSN=FILENAME.NEXTNAME.WHATEVER,DISP=SHR . . . DATA FIRST; INFILE FILEONE; etc.

As Richard pointed out, the rest of SAS operates pretty much as it would on any other platform. SAS also publishes a very useful manual, "SAS Companion for the MVS Environment", which covers things such as how to set up JCL, how to allopcate work space, etc. > > > On Thu, 16 Oct 2003, Zalek Bloom wrote: > > > Can someone publish here a sample of SAS mainframe program? I worked > > with a maiframe SAS long time ago and want to prepare for an > > interview. > > > > Thanks, > > > > Zalek > >


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