home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!STANFORD.BITNET!M.LAWRENCE
- Message-ID: <IBM-MAIN%92072914063839@RICEVM1.RICE.EDU>
- Newsgroups: bit.listserv.ibm-main
- Date: Wed, 29 Jul 1992 12:04:58 PDT
- Sender: IBM Mainframe Discussion list <IBM-MAIN@RICEVM1.BITNET>
- From: "Mark C. Lawrence" <M.Lawrence@STANFORD.BITNET>
- Subject: Re: UNIT and VOLUME specification (was: esoteric device message)
- Lines: 56
-
- REPLY TO 07/29/92 11:10 FROM IBM-MAIN@RICEVM1.BITNET "IBM Mainframe Discussion
- list": Re: UNIT and VOLUME specification (was: esoteric device message)
-
- >From: Jerry Bryan <BRYAN@WVNVM.WVNET.EDU>
- >Subject: Re: UNIT and VOLUME specification (was: esoteric device message)
- >
- >In article <IBM-MAIN%92072911491934@RICEVM1.RICE.EDU>, "Mark C. Lawrence"
- ><M.Lawrence@STANFORD.BITNET> says:
- >>Well, I think the simple answer is, "because MVS is too stupid to
- >>go look for the volume". Obviously it wouldn't be real hard to do;
- >>just scan thru all the UCBs for online disks. I wonder if this is on
- >>the list of SHARE requirements?
- >>
- >>This limitation goes all the way back to OS/360. I think the logic
- >>used is: (1) find a suitable UNIT, (2) find (or mount) a suitable
- >>VOLUME on that UNIT (or in that unit class). At a time when most
- >>disks were mountable, this made a lot of sense. In the era of
- >>nonremoveable disks it no longer does.
- >
- >I think the simple answer is not quite so simple. The real reason
- >(at least historically under OS/360) is that ALTRES might be a tape.
- Well, yes, it could be a tape too. My point was that the volume
- probably wasn't mounted, so the current algorithm made sense at the time.
-
- >In fact, it is even more subtle that that. ALTRES might be a
- >3330 or a 3350 or a 3380 or a 3390 or a 3420 tape or a 3480
- >tape or a (pick a unit type of your choice). Some of these
- >possibilities are obviously nonsensical if ALTRES is already
- >mounted ...
-
- They are all nonsensical if ALTRES is already mounted, especially if
- ALTRES is a non-removeable device, since, as you point out, duplicate
- volsers are not allowed.
-
- >For example, vary ALTRES offline. Should the JCL be parsed
- >any differently while ALTRES is offline?
-
- Not exactly PARSED differently. But unit resolution handled differently.
- I suggest the following algorithm for resolving UNIT for *existing*
- data sets (i.e. DISP=OLD or SHR) where no UNIT is known but a volume
- is specified:
-
- 1. Assume that the unit is a DASD device
- 2. Scan the UCBs for a DASD unit that is online and has
- the requested volser.
- 3. If found, set UNIT to the unit type for the found vol.
- 4. If not found, issue error message.
-
- >If ALTRES were offline,
- >how on earth could you figure out what the proper device type was?
-
- You couldn't. But this is a fairly rare event, in my experience.
- At any rate, most references to existing data sets are made thru the
- catalog, which has the unit information.
-
- To: IBM-MAIN@RICEVM1.BITNET
-