Rational Developer for System z

Micropatterns: principle and use

A micropattern is a group of lines you enter in the COBOL code of an instance, using the PDP LPEX editor. When the instance is generated again, these lines are recognized and are expanded with information fetched from the instance design or from the use context.

Using micropatterns enables you to organize the inserted lines exactly as you want to in the COBOL code. You can group them in the same place to make the COBOL code easier to read and maintain, or sort them in a special order. The inserted micropatterns are kept in the COBOL code unless you remove them explicitly.

To be recognized, a micropattern must be entered as a comment with a special format; it must include a start tag, an identifier, the content lines themselves, and an end tag. The identifier and the content lines are specific to each micropattern.
Note: For explanations on the input formats of the various micropatterns, click the links displayed as the related reference below.
Micropatterns are divided into two categories:
The code generated from the micropattern is automatically updated upon each generation if:
You can specify micropatterns in the following generated COBOL files:

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)