Code Templates
In the code editor you can use templates to make writing your code faster and easier.
Templates can be created and maintained in the Global Options section by an AMT Developer Studio Administrator. Default templates are provided in AMT Developer Studio, i.e. ‘rou’, ‘if’ and ‘for’. Templates in the Global Options are available to all Developers.
To add or edit code templates, choose "Edit - Options - Global Options".
To use a code template, type the name of that template (e.g. "if" to add the complete routine skeleton) and press "CTRL+ENTER".
PROCEDURE DIVISION
if
if
Next, the template code will be inserted at the current cursor position.
PROCEDURE DIVISION
if
else
end-if
if
else
end-if