Importing file contents into the editor

You can use the Get File action to select a file whose contents you want to copy into the file that is currently open in the Remote C/C++ Editor.

About this task

Note: This feature is available only when editing z/OSĀ® UNIX files, local files in a z/OS UNIX subproject, PDS members, and sequential data sets.

Procedure

To copy the contents of a selected file into an open file in the Remote C/C++ Editor, complete the following steps:

  1. In the file that is currently open in the editor, place your cursor in the location where you want to import the contents of another file.
  2. In the workbench, select File > Get File to open the Browse dialog box.
  3. Browse for the file whose contents you want to copy into the file that is currently open in the editor, and then click OK.

Results

The contents of the selected file are imported at the current cursor location in the open file.