To import the files from the JCL demonstration program into your project:
- In the
Application Explorer view, select your project and select
, then on the
Import dialog box, select
, and then click
Next.
- On the
File system screen, click
Browse to the right of the
From directory field.
- Browse to
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\JCL\Classic\jcldemo, then click
OK.
- Select
ESJCL.jcl,
JCLCREAT.cbl, and
JCLREAD.cbl.
- Click
Finish.
The files are added to the project. By default, Eclipse is configured to build the project automatically after any change in the code and this also triggers
a build. You can check the Console view to ensure the build was completed successfully.
-
In the
Application Explorer view, right-click the jcl project, choose
New > Folder > Folder..., then create a folder called
catalog and click
Finish.
Your project requires this folder to submit the JCL successfully.