Run the Application

  1. On the Build menu, click Build Solution.

    The project is built, ready to run.

  2. Press Ctrl+F5.

    The application runs and you can see the annotated output as a number of operations are performed on the data file.

    Annotated output showing file operations, contents and statuses

    Tip: To take a closer look at how the callable file handler is utilized, run the program through the debugger. You can also open the data file in the data file editor to see the contents that this program has just created.
This ends the tutorial, where you have successfully used the callable file handler to perform a number of file handling operations without using any of the conventional file handling COBOL syntax. Refer to Calling the File Handler for full details of the syntax available when using this method of file operation.