1.1 Introducing the CODE Project Organizer

The CODE Project Organizer (CPO) is a tool that helps you organize and manage your project files. A project is a set of list filters for generating lists of objects (for example, source code files, AS/400 objects) that you wish to view together.

CPO also lets you invoke actions on these lists of objects, such as copying source to and from AS/400. You use the Get from host action to copy selected members to your workstation. You can then use the Put to host action to copy them back to the AS/400 member they came from. Automatic checking is done to ensure that you are not overriding someone else's changes.

For example, a project may be all the objects and source members for a particular application. The objects do not have to be from the same library, physical source file, or ADM project or group, or AS/400. They can even be on your workstation. If you are are creating a client/server application or working with local copies of remote source, you can include local filters in your projects.

With filters you can assemble lists of libraries, files, members, ADM projects, ADM groups, ADM parts, or local files into CODE projects. Also, filters allow you to subset the list of objects by using generic names.

The CPO window consists of three main areas: a filter list, a file list, and a monitor window.

The filter list is the tree view list you see in the window pane on the left side of your CPO main window. The filter list shows the filters in the current project.

The file list of objects that match the selected filter you see in the window pane on the right side of your CPO main window.

The monitor window is the window pane at the bottom of the CPO main window. It displays an output only message log. Underneath it is a server list where you can select a local or other named server and an adjacent command line where you can enter commands for the selected server. Beneath the server list and command line is a status area.

Filters

The filter list window pane on the left side of the CPO main window allows you to work with selected filters.

When you select a filter in the filter list, the right side of the window displays the entries that meet the criteria of the filter. For example, if the filter is a local filter and is set to find *.txt files in the c:\windows directory, you will see all the files with the extension "txt" in the c:\windows directory.

Actions

Each object type is associated with a set of actions. CPO lets you perform actions against selected objects in your project. An action is a command or tool that you use to manipulate an object. Edit, compile and debug are examples of actions. You see the actions by selecting one or more objects and right-clicking to get the actions pop-up menu. For example, you can select a source member GUIDES1 and choose the CODE edit action.

CPO contains predefined actions which you can perform on an object, and you can create your own actions. Actions can be scoped to only apply to objects of a specified type. In addition to displaying lists defined by you, CPO has pulldown items for quick and easy access to all the tools and help in CODE/400.

You can access context-sensitive help by pressing F1 on any field, menu item, or control with CPO. You can also press Help, where available, to access help information.

Click on to indicate that you've read this lesson.