HP 3000 Manuals

Connecting to a Shared Disc [ HP Resource Sharing for MPE/iX ] MPE/iX 5.0 Documentation


HP Resource Sharing for MPE/iX

Connecting to a Shared Disc 

Once you have created shares to discs using the Resource Manager Utility
(RESMGR), you are ready to connect to them in DISCMGR. To do so, you
enter a USE command.

To connect to a shared disc: 

   1.  Run DISCMGR. (Complete instructions on how to do this are in
       Chapter 12, "Running the Disc Manager Utility.")

   2.  Choose the drive letter you want to represent your shared disc
       connection.  You can use any letter from A to Z. The letter you
       use for a connection in DISCMGR doesn't have to be the same letter
       you use for that connection in DOS on a PC. However, using the
       same letter in both places helps eliminate confusion.  Therefore,
       avoid using letters A to D for your DISCMGR connections, since
       these letters already represent standard PC drives.  Our sample
       uses J, as a reminder that it is a connection to a shared disc
       with a sharename of JOE.

   3.  Enter the following command at the DISCMGR> prompt:

            USE drive: [\\nodename]\sharename [password]

       The node name is for your information only and can be omitted.  If
       you use a node name, you need enter only the server portion of the
       name.

       _________________________________________________________________ 

       NOTE  You can connect only to the server node on which you are
             currently running DISCMGR.

       _________________________________________________________________ 

       For example, you might enter:

            USE J: \JOE

       Once the connection is established, you can work with the
       subdirectories and files in the shared disc.

       Connections made with USE commands, whether in an interactive
       session or a batch job, remain active until you leave DISCMGR or
       until you disconnect them. 

To examine current connections: 

   1.  Run DISCMGR.

   2.  Enter the following command:

            USE

       DISCMGR displays all current connections.  The resulting display
       might look something like this:

     Drive   Disc
     ------------------------------
     J:\JOE
     M:\MARKET
     S:\SALES

To delete a connection: 

In DISCMGR, enter:

     USE driveletter :  /D

For example, to delete the connection to the JOE drive in the sample
above, enter:

     USE J: /D

To delete all current connections: 

In DISCMGR, enter:

     USE * /D

Setting Up Automatic Connections 

If you want to automate your shared disc connections in DISCMGR, use
these commands to manage your automatic connections:  AUTOCONNECT,
SAVECONNECT, and DELETECONNECT.

To create an automatic connection file: 

   1.  Run DISCMGR.

   2.  Enter USE commands to establish connections to the shared discs
       you want to connect to automatically.  For example, you might
       enter the following commands:

            USE J: \JOE
            USE S: \SALES

   3.  Save your uses with a SAVECONNECT command.  Enter:

            SAVECONNECT [filename]

       This creates a file containing the connections you entered.  If
       you already have automatic connections and you add a new one,
       SAVECONNECT saves the new connection along with all the active
       automatic connections.  To delete an automatic connection--J: for
       example--type USE J: /d before you issue the SAVECONNECT command.
       The connection to J: is deleted from your automatic connection
       file.

          *   If you type SAVECONNECT without a filename, a file called
              AUTOCONN is created.  Connections in the AUTOCONN file are
              made automatically every time you run DISCMGR. The
              connections are listed alphabetically, with the first
              connection the default drive (DISCMGR J:\>).  If one of the
              automatic connections can't be established, DISCMGR makes
              the subsequent connections and displays a message that one
              or more of the connections couldn't be established. 

          *   If you enter a different filename, you must use the
              AUTOCONNECT command to establish the connections.  For
              example, if you entered SAVECONNECT MYFILE, you must enter
              AUTOCONNECT MYFILE to activate the connections listed in
              MYFILE. Use the AUTOCONNECT command for those connections
              you don't need every time you use DISCMGR.


NOTE If you have an existing AUTOCONN file (from a previous release of Resource Sharing), DISCMGR can use it.
To use an autoconnection file other than AUTOCONN: 1. Run DISCMGR. 2. Enter the following command: AUTOCONNECT filename If connections have already been established, DISCMGR prompts: Connections are currently established. Do you want to delete current connections and establish new ones (Y/N)? 3. Enter Y to delete the current connections. When connections have been made, the following message appears: Automatic connections have been established. To delete an autoconnection file: 1. Run DISCMGR. 2. Enter the following command: DELETECONNECT filename The autoconnect file is removed from MPE. These files are privileged files and can be removed only with the DELETECONNECT command.


MPE/iX 5.0 Documentation