From the Team Developer perspective:
- Click
File > New > Project, expand the
Micro Focus PL/I node and choose either:
- Mainframe PL/I Project, which enables you to use JCL, BMS, and macro files with your project.
- PL/I Project, for development of console applications.
-
PL/I Include Project is a local project which only contains PL/I include files to be referenced by other PL/I projects. This provides a central location to store/maintain PL/I include files for use by other projects.
Click
Next. The
New PL/I Project dialog box appears.
- In the
Project Name field, type a descriptive name for the project.
- If you have created your own PL/I project templates, you can select one of them from the
Select a project template box.
- Select the
Use default location check box to use the workspace location select when you started
Enterprise Developer
for Eclipse as the location to store the project. Clear the
Use default location check box and click
Browse to use the
Browse For Folder dialog box to select a different location to store the project.
- Click
Finish to create the new project.
To add new files to a PL/I Project
From the Team Developer perspective:
- To create new files and add them to your project, right-click your project in the
Application Explorer view, click
and choose your file type.
When you add a PL/I source file, it is created with a
.pli extension, but
Enterprise Developer also handles files with a
.pl1 extension as PL/I source.
- Double-click a file in
Application Explorer view to open it for editing.
The PL/I Editor displays different types of keywords in different colors, which you can change by selecting
Window > Preferences, expanding the
Micro Focus and
PL/I nodes and clicking
PL/I Syntax Coloring.
To import existing files into a PL/I project
- Click your project in the
Application Explorer view.
- Click
File > Import.
- In the
Import wizard, expand
General, click
File System and click
Next.
- Specify the path to the directory that contains your files in the
From directory field.
- Select the files you want to import and click
Finish.