Date: Fri, 17 Oct 2003 08:58:21 -0500
Reply-To: Toby Dunn <tobydunn@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Toby Dunn <tobydunn@HOTMAIL.COM>
Subject: Re: Mainframe SAS program sample
Content-Type: text/plain; charset="iso-8859-1"
Zalek,
There a few other differences when using mainframe. But first, you can
either use a dd statement in the JCL or you can use a libname statement in
the actual SAS code to reference datafiles. You can also use a DD statement
of a filename and libname statement to create a dataset on the mainframe.
Another thing to look out for is you have to specify a work and sort space
in the JCL. There is such a think as hyperspace that can be used. Migrated
datasets, and a whole host of other little things that you may want to watch
out for when running SAS code. But for the most part the code is the same.
I will send you a sample program in a private email due to its length that I
wrote the other day.
Good Luck
Toby Dunn
----- Original Message -----
From: "Richard Thornton" <richard@SUN1.PROGRAMMING-ANALYTICS.ORG>
Newsgroups: bit.listserv.sas-l
To: <SAS-L@LISTSERV.UGA.EDU>
Sent: Thursday, October 16, 2003 7:08 PM
Subject: Re: Mainframe SAS program sample
> 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;
>
>
> /*
> //*
>
>
>
> 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
> >
>