Create a data link

A communication line must be created between the tape library and the library manager.

The 3494 tape library requires a communications line for the library manager functions. The communication line can be RS232 ASYNC, LAN, or TCP/IP. Before the 3494 tape library can be varied on, the communication line needs to be specified in the ROBOTDEV or ROBOTHOST parameter in the tape library device description.

To create the data link between the tape library and the library manager use the Configure Device MLB (CFGDEVMLB) command. This command uses the required input parameters to configure and connect the communications line to the tape library device description and attempts to vary on the tape library.

Notes:
  1. To use the LAN connection, you must also add the LAN host to the 3494 Library Manager. For complete instructions, see the 3494 documentation.
  2. If your 3494 tape library has the high-availability option installed so that your 3494 tape library uses two Library Manager personal computers, you need to configure two communication lines, one for each Library Manager personal computer.

Use one of the following procedures to create a data link.

Create an RS/232 ASYNC connection

To configure a RS/232 ASYNC connection to communicate with the 3494 Library Manager, use the following command:

CFGDEVMLB DEV(TAPMLB01) ADPTTYPE(*RS232) RSRCNAME(CMN02)

The following list explains the details of this command:

DEV(TAPMLB01)
Specifies the name of the tape library device description.
ADPTTYPE(*RS232)
Indicates that this tape library is attached through an RS232 ASYNC line.
RSRCNAME(CMN02)
Specifies the resource name of the RS232 port. Use WRKHDWRSC TYPE(*CMN) to determine what resource name is used.
Note: The RS232 ASYNC line, controller and device descriptions will be created ONLINE(*NO). Do not vary them on. They will be varied on as needed by the operating system when the tape library is varied on.

Create a LAN connection using APPC

To configure a LAN connection to communicate using APPC, use the following command:

CFGDEVMLB DEV(TAPMLB01) ADPTTYPE(*LAN) PROTOCOL(*APPC) LIND(TRNLINE)
RMTLOCNAME(APPN.MLD01) ADPTADR(0123456789AB)

The following list explains the details of this command:

DEV(TAPMLB01)
Specifies the name of the media library (MLB) device description.
ADPTTYPE(*LAN)
Indicates that this MLB is attached through a LAN line.
PROTOCOL(*APPC)
Specifies that APPC will be used as the communications protocol for the LAN connection to the 3494 tape library.
LIND(TRNLINE)
Specifies the line description name for the LAN line being used. Use WRKCFGSTS CFGTYPE(*LIN) to display the list of valid LAN line descriptions. The line description for the LAN must be created before using the CFGDEVMLB command.
RMTLOCNAME(APPN.MLD01)
Refers to the name of the Library Manager that is connected through the LAN line. It is of the form nnnnnnnn.cccccccc where nnnnnnnn is the network identifier and cccccccc is the remote location name. If no network identifier is specified, use DSPNETA to determine the default value. Obtain this parameter from the 3494 Library Manager console using the menu options, LAN options, and LM LAN information.
ADPTADR(0123456789AB)
Specifies the LAN adapter address of the Library Manager. You can obtained the parameter from the 3494 library manager console selecting the following:
  • Commands
  • LAN options
  • LM LAN information
Notes:
  1. The LAN transaction program remains as QMLD/QMLDSTRCC and is contained in the Licensed Internal Code.
  2. For APPC only, any routers between the iSeries™ server and the 3494 tape library need to allow SNA traffic.

To configure a LAN connection using APPC to communicate to the 3494 Library Manager, use the following command:

DSPLANMLB LIND(TRNLINE) OUTPUT(*)

For detailed information about working with this information, see Add a tape library to a LAN.

Create a TCP/IP connection

To configure a LAN connection using TCP/IP to communicate to the 3494 Library Manager, use the following command:

To display the required LAN information about the iSeries, use the following command:

CFGDEVMLB DEV(TAPMLB01) ADPTTYPE(*LAN) PROTOCOL(*TCP) ROBOTHOST(MLD01) LCLINTNETA(192.168.5.10)

The following list explains the details of this command:

DEV(TAPMLB01)
Specifies the name of the MLB device description.
ADPTTYPE(*LAN)
Indicates that this MLB is attached through a LAN line.
PROTOCOL(*TCP)
Specifies that TCP/IP will be used as the communications protocol for the LAN connection to the 3494 tape library.
ROBOTHOST(MLD01)
Specifies the TCP/IP host name for the 3494 tape library. The host name can be a fully qualified domain and host name.
LCLINTNETA(192.168.5.10)
Specifies the local internet address of the interface that is connecting to the 3494 Library Manager. This is the interface the iSeries server will start when TCP/IP needs to be started to use the 3494 tape library.
Note: By using the code examples, you agree to the terms of the Code license and disclaimer information.
Related concepts
Add a tape library to a LAN
Related tasks
Configure tape libraries
Related reference
Configure Device MLB (CFGDEVMLB)