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. When the calling instance is generated again, the micropattern call will be replaced with the specified code lines.
In the Micropattern Code, you declare micropattern fragments. Each fragment 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 micropattern, which is dedicated to the Software Development Kit, in the code of a calling instance, you must indicate the fragment. If the code lines contain parameters, you must specify their value for this call. You can insert the micropattern from the Snippets view, under RPP SDK Micropattern Snippets.
*!RPPMPF Project="myproj" Package="mypkg" Name="mpname" Id="fragmentid"
where myproj is the project, mypkg is the package, mpname is the Micropattern Code, and fragmentid is the fragment identifier.
*- Param1="param1_value" Param2="param2_value"
RPPMPF_myproj_mypkg_mpname_fragmentid_nn
where myproj is the project, mypkg is the package, mpname is the name of the Micropattern Code, fragmentid is the fragment id, and nn is the iteration number of the insertion, if the call is inserted more than once in the same code.