HP 3000 Manuals

WORKSPACE FILE MANAGEMENT [ HPTOOLSET XL Reference Manual ] MPE/iX 5.0 Documentation


HPTOOLSET XL Reference Manual

Chapter 5  WORKSPACE & FILE MANAGEMENT 

Workspace 

Creating & Accessing a Workspace 

For a description of how to create and access a Workspace, see Chapter 1
of this Reference Manual.

Displaying the Contents of a Workspace 

There are five main commands which allow you to display the contents of a
Workspace:

1) Show Files             Gives a list of all Use files, Owned files, the
                          object file, and the program file.

2) Show Source            Gives the language, type, and name of the
                          associated listing file for each owned file.

3) Show Equates           Displays all file equations that were generated
                          as a result of the USE command.

4) Show Library           Gives the name of the default copy library and
                          module names within it.

5) Set Workspace          Gives the name of the object file, program
                          file, listing directory file, key file,
                          dictionary, and compile priority.  It also
                          gives the default link and run options and
                          allows you to change them.

For details regarding each of these commands, see Chapter 4 of this
Reference Manual.

Adding Files to a Workspace 

There are two types of source files within a Workspace - Owned files and
use files.  Owned files belong to the current Workspace and can be edited
within it.  Use files are outside of the Workspace, e.g., MPE XL files or
files created in a different Workspace.

The following commands allow you to add new owned files to your
workspace:

EDIT Command              When you enter the EDIT command with a new
                          name, a new file will be created with that
                          name.

COPYFILE Command          Is used to make a copy of an existing TSAM
                          file.

CONVERT Command           Is used to convert an existing MPE XL or KSAM
                          file to a TSAM file.

Use files are added to the Workspace by entering the USE command.

Deleting Files from a Workspace 

Owned files are deleted when you execute the PURGE command.  You should
do this while in the workspace so the owned file entry can be deleted
from the Workspace Directory.

To delete a USE file, you must execute the DISCARD command.


MPE/iX 5.0 Documentation