Import the Files from the Demonstration Program

To import the files from the JCL demonstration program into your project:

  1. In the Application Explorer view, select your project and select File > Import, then on the Import dialog box, select General > File System, and then click Next.
  2. On the File system screen, click Browse to the right of the From directory field.
  3. Browse to %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\JCL\Classic\jcldemo, then click OK.
  4. Select ESJCL.jcl, JCLCREAT.cbl, and JCLREAD.cbl.
  5. 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.

  6. 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.