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:
- Open the locking application.
- Run the application by clicking Run on the Debug menu.
- Choose option 4 (OUTPUT).
- Enter some example data in each of the following fields:
-
Stock code
-
Stock description
-
Stock held
-
Cost per unit
- Enter 1 to write the record to the file.
Repeat steps 4 and 5 until you have entered a number of records.
- Enter 2 to exit.
- You are prompted:
Do you wish to restart (Y/N)
Enter n to redisplay the main screen.
- When you are ready to exit the application, enter 5 from the main screen.