Exercise 6.5: Running commands from the Remote System Explorer

Before you begin, you must complete Exercise 6.4: Creating a user action.

The Command entry is part of the Remote Systems view.

To run a command:

  1. Check if you have an iSeries Table View tab in the bottom right pane where your command log appeared in the previous exercise.
  2. If you have it, click on it.
  3. If you don't have it:
    1. In the Remote Systems view, right-click My source files filter.
    2. Click Show in table on the pop-up menu.

    As you have seen already you can now run commands on the iSeries server that the table is connected to. You can enter commands in the Commands field beneath the iSeries Table view, and view messages in the Messages field. You can enter a command and click either Prompt to specify parameters and then Run, or just click Run. When you run a command, the Messages field is populated with the messages from the command. When you select a message, the Details button is enabled. When you click this button, the message and its help is displayed.

  4. Type an iSeries command, for example ?ADDLIBLE.
    Table view with command entry

    The question mark is there to display a prompt screen.

    Instead of specifying a question mark you could use the Prompt push button.

  5. Click Run.

    The Command Prompt window for the ADDLIBLE command opens.

  6. In the Library field, type RSELAB00 and click OK.
    Add Library List Entry dialog

    That will add this library to the library list of your Remote System Explorer job on the iSeries server.

    Note:
    You may need to add a different library if the library RSELAB00 does not exist on your iSeries system.

    The messages field will confirm the successful completion of this command. To get to the command history, similar to F9 on the 5250 screen, select the appropriate value from the Command list (down arrow beside the Messages field.
    Message indicating library added to the library list
    You could also use the iSeries Commands subsystem in the Remote Systems view underneath the iSeries Objects subsystem and run predefined commands or define your own commands.

You have run an OS/400 command from the iSeries Table view.

Now you are ready to review your knowledge of this module by taking the quiz. You can also apply what you have learned in this module by completing the practice tasks detailed in More practice.

Quiz

  1. The Remote System Explorer is replacing what ADTS tool:
    1. Page Designer
    2. CODE Designer
    3. Screen Design Aid
    4. Program Development Manager
  2. __________ filters list a set of libraries from your iSeries system in the Remote Systems view.
    1. Object
    2. Member
    3. Library
    4. Job
  3. Filters allow you to easily organize elements within your system. You use the filter function to list iSeries native file system objects (such as libraries, objects, or members). (T, F)
  4. Expanding Work with Libraries corresponds to the _________ command.

    1. WRKOBJPDM
    2. WRKLIBPDM
    3. WRKMEMPDM
    4. All of the above
  5. You can create filters for all connections or for a specific connection. (T, F)
  6. You give your filters a specific name because the Remote System Explorer saves them for future use, unlike PDM, which does not save filters. (T, F)
  7. __________ filters list a set of objects from your iSeries host in the Remote Systems view.
    1. Job
    2. IFS
    3. Object
    4. Member
    5. Library
  8. If you end up with too many filters, you can create filter pools. (T F)
  9. Filters can be specified for non iSeries servers and your local system. (T, F)
  10. User actions can be defined for:
    1. iSeries libraries
    2. iSeries objects
    3. iSeries members
    4. iSeries jobs
    5. files and folders in any remote UNIX, Windows, Linux, Local or IFS system
    6. All of the above
  11. You can specify a restriction on a user action. (T, F)
  12. You can run OS/400 commands from the:
    1. iSeries Table View
    2. iSeries Commands Log
    3. Tasks view
    4. iSeries Error List
    5. a and b
    6. All of the above

More practice

Given your own libraries on your iSeries system, create a member filter and a job filter. Then move libraries up, down and within your library list. Finally create a filter pool. Use the Development Studio Client for iSeries online help to assist you in these tasks.

Recap

You have completed Module 6: Exploring Remote System Explorer. You have learned how to:

Now that you know how to create filters and actions to manage your iSeries objects you can learn how to visually design screens. Continue with Module 7. Designing screens.