You said that I should "Automount OMVS.TARGET.JAVA14 at
/service/java/TARGET/usr/lpp/java and use that in your DDDEF."

AFAIK, Automount won't extract TARGET from
/service/java/TARGET/usr/lpp/java and use that to generate the
HFS DSNAME OMVS.TARGET.JAVA14.

If you know something that I don't, please enlighten me.  I'd
also appreciate any thoughts that you have about the solution
that I have described.

Automount is defined with a policy that is defined, by default,
in /etc/auto.master.  For each mount point that is managed by
Automount, there is a line in the policy such as this:

/service/java   /etc/service_java.map

The first thing on the line is the directory that is to be managed
by Automount, the second is a map file telling Automount what to do
when there is a reference to a subdirectory to the Automount
managed directory.  In my case, /etc/service_java.map looks like this:

name        *
type        HFS
filesystem  OMVS.<ucname>.JAVA14
mode        rdrw
duration    10
delay       10

This map tells Automount that the subdirectory of /service/java/
is to be converted to upper case (<ucname>) and used to construct
the HFS DSNAME.  Thus, if my DDDEF specifies
/service/java/TARGET/usr/lpp/java, Automount will dynamically
create a subdirectory of TARGET and mount OMVS.TARGET.JAVA14 at
that directory.  If you then look at /service/java/TARGET/ you
will not find usr but J1.4

On Wed, 31 Aug 2005 19:39:23 -0300, Shmuel Metz (Seymour J.)
<[EMAIL PROTECTED]> wrote:

>In <[EMAIL PROTECTED]>, on 08/30/2005
>   at 02:11 PM, Tom Marchant <[EMAIL PROTECTED]> said:
>
>>AFAIK, it is not possible to do what you are suggesting because
>>Automount does not work that way.
>
>Doesn't work what way?
>
>--
>>>In <[EMAIL PROTECTED]>, on 08/29/2005
>>>   at 03:31 PM, Tom Marchant <[EMAIL PROTECTED]> said:
>>>
>>< snip! >
>>>
>>>>If you know a way that I can define
>>>>Automount so that I can reference, for example,
>>>>/service/java/TARGET/usr/lpp/java/J1.4 and Automount will mount
>>>>OMVS.TARGET.JAVA14 at /service/java/TARGET/usr/lpp/java, I would be
>>>>very interested in learning how to do it.
>>>
>>>Why would you want to? Automount OMVS.TARGET.JAVA14 at
>>>/service/java/TARGET/usr/lpp/java and use that in your DDDEF.
>>>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to