Previous Topic Next topic Print topic


Example File and Record Locking Application

An example file and record locking application is provided in the Examples\Net Express IDE\LOCKING folder in the installation of your COBOL development system.

To run the example application:

  1. Open the locking application.
  2. Run the application by clicking Run on the Debug menu.
  3. Choose option 4 (OUTPUT).
  4. Enter some example data in each of the following fields:
    • Stock code
    • Stock description
    • Stock held
    • Cost per unit
  5. Enter 1 to write the record to the file.

    Repeat steps 4 and 5 until you have entered a number of records.

  6. Enter 2 to exit.
  7. You are prompted:

    Do you wish to restart (Y/N)

    Enter n to redisplay the main screen.

  8. When you are ready to exit the application, enter 5 from the main screen.
Previous Topic Next topic Print topic