reuse sdk
This wizard is constituted of two pages. On the first page, you must specify the project, the instance name, and the Skeleton name. The package and label are optional. On the second page, you can manage the properties of the new instance before you create it.
Reuse sdk
- Project
- Select a project in the list or enter the name of the project
where the instance is to be saved.
A project represents the physical distribution of your instances in your workspace. It groups directories and files. It is used to organize resources that can be built, shared, or versioned.
- Package
- A package corresponds to a logical group of information in a project. It is optional.
- Name
- The instance name is required. It cannot be modified afterward.
- COBOL alias
- The COBOL alias is optional. It can be different from the instance
name.
If it is specified, it will designate the instance in the COBOL code. If it is not specified, the instance name will designate the instance in the COBOL code.
- Default format
- This format will be used if no format type is indicated when this
Data is used or the requested format type is not specified.
It must be entered as a COBOL picture
You can specify it in the Data creation wizard. In this case, it will be automatically carried over to the other format fields: input format, internal format, and output format. However, all these formats can be modified in the editor.
You can also leave the default format unspecified in the Data creation wizard and specify it in the Data editor.
After you have completed the first page, you can click Finish to create the instance.
You can also click Next to display the second page of the wizard.
Second page
On the second page, you manage the properties of the new instance before you create it. A property is a variable that is used in the code. Each property is constituted of a name, a value, and an optional description. Upon generation, the variable is replaced with the indicated value.
By default, the table of the wizard displays the Skeleton properties that were assigned the Overload option in the Definition tab of this Skeleton. You can modify the properties in the creation wizard.
You can also add or remove properties by clicking the corresponding buttons.
The properties that are specified in the table will be automatically displayed, in a read/write mode, in the Definition tab of the new instance.
- The property name (mpcode for example),
- The default value of the property (MP01 for example),
- The property description (Micropattern code for example).
- A parameter that is indicated in a Static Micropattern call in the source of the calling instance,
- A variable that is defined as a property in the Definition tab of the calling instance,
- A variable that is defined as a property in the Definition tab of the Skeleton.