Setting an initial library list and initial command

About this task

Use the IBM® i subsystem properties to specify a configuration for your initial library list or specify an initial command or program to call when you connect to your IBM i server through the Remote System Explorer. As a result, when you connect, an initial program is called or certain libraries are added to your library list automatically. This is important in the example where you want to compile a source member in the Remote Systems view, but the member's containing library is not part of your initial library list. To avoid errors, you would make sure beforehand that the library belongs to your library list before you compile one of the library's source members. You can also specify the library to be set as*CURLIB.

To add initial libraries or commands:

Procedure

  1. In the Remote Systems view, right-click an IBM i subsystem, such as Objects and select Properties.
  2. On the left side of the dialog box, click Initial Library List.
  3. To add a library, type the library name in the Library field and click Add
  4. To add a command, type the command to call at connection time in the Initial command field and click Apply.
  5. Click OK.

Feedback