To create a new program, do the following :
If you selected Add, select New Part.
Program specifications and main functions are the elements that make up the basic structure of your program. Use the Program Editor to set global characteristics for the program and define the main functions.
For this tutorial, you will define a main transaction program with a working storage record and a map group. To define properties for the program you just created:
You've defined the program SAMPLE as a nonsegmented transaction and specified association with the map group CTEST.
Now define a working storage record for this sample program. In the Program Editor:
The name of the working storage record is displayed under Specifications in the Program Editor. The question mark beside it indicates that the record has not yet been defined.
Tip: | You can also perform many tasks in the Program Editor using context menus. For example, you could have added this working storage record by clicking mouse button 2 on Specifications and selecting Add Working Storage to display the Add Working Storage window. You get different context menus in the Program Editor, depending on what you click on with mouse button 2. Feel free to experiment with the context menus in the tasks that follow. |