| Date: | Mon, 9 Nov 1998 11:08:42 -0500 |
| Reply-To: | Lary Jones <ljones@BINGHAMTON.EDU> |
| Sender: | "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU> |
| From: | Lary Jones <ljones@BINGHAMTON.EDU> |
| Subject: | Re: Using JCL/MVS to assign DS Names |
|
| In-Reply-To: | <005601be0bd0$f027dd00$0100a8c0@sparhawk.karmidox.com.au> |
| Content-Type: | text/plain; charset="us-ascii" |
|---|
At 10:06 PM 11/9/1998 +1100, Michael Dixon wrote:
>This is more a MVS/JCL question than SAS...
>
>If I have two datasets (eg. data for two states) that I want to treat as
>one, in my JCL I have been shown the following:
>//INFILE DD DSN=DATA.FILE.ONE,DISP=SHR
>// DD DSN=DATA.FILE.TWO,DISP=SHR,UNIT=AFF=INFILE
>
>can I use this instead?
>//INFILE DD DSN=DATA.FILE.ONE,DISP=SHR
>// DD DSN=DATA.FILE.TWO,DISP=SHR
Yes, you may.
However, the first JCL commands implies that these are tape, or removable,
datasets, and that there is a desire to keep the same tape (volume)
mounted. Using the second form will lead to a dismount of the volume which
contains DATA.FILE.ONE and the operator mounting of the volume which
contains DATA.SET.TWO
There is a reason for using UNIT=AFF=INFILE :-)
-Lary
_______________________________________________________
Lary Jones % Statistical Computing Analyst
Computing Services % ..........................
Binghamton University % LJones@Binghamton.EDU
Binghamton, NY 13902-6000 % (607) 777-2879
|