With this entity, you insert code lines by calling the Software Development Kit dedicated micropattern in the code of a COBOL Program, COBOL Copybook, or Source Code. This particular micropattern is the RPPMPF Static Micropattern. When the calling instance is generated again, the Static Micropattern call is replaced with the corresponding code lines.
In the Static Micropattern, you declare code blocks. Each block is constituted of an ID that can be assigned one or more code lines. These code lines can contain parameters.
When you call the RPPMPF Static Micropattern in the code of an instance, you must indicate the block. If the code lines contain parameters, you must specify their values for this call. You can insert the Static Micropattern from the Snippets view, under RPP SDK Micropattern Snippets.
*!RPPMPF Project="myproj" Package="mypkg" Name="mpname" Id="blockid"
where myproj is the project, mypkg is the package, mpname is the Static Micropattern, and blockid is the block ID.
*- Param1="param1_value" Param2="param2_value"
RPPMPF_myproj_mypkg_mpname_blockid_nn
where myproj is the project, mypkg is the package, mpname is the name of the Static Micropattern, blockid is the block ID, and nn is the iteration number of the insertion, if the call is inserted more than once in the same code.