skip to main content

ELK Directives

ELK Directives
ELK directives are special comments that allow for the customization of the generation of the Web Service bridge programs when the iscobol.compiler.servicebridge (boolean) is set to true. There are three syntaxes to specify an ELK directive.
Syntax 1:
$ELK directive-name [=directive-value]
Syntax 2:
*(( ELK directive-name [=directive-value] ))
The $ and the * must be in the comment area, that is column 7 in ANSI source format and column 1 in Terminal source format.
If the source code is written in Free format, ELK directives can appear at any column with the following syntax.
Syntax 3:
*>(( ELK directive-name [=directive-value] ))
The directive must appear above the field or the file that you want to customize in the LINKAGE SECTION of the source code.
Note: no spaces are allowed between the comment symbol and the couple of parenthesis. If spaces are present, the directive is treated as a standard comment and doesn’t have effects.
Multiple ELK directives can be distributed on multiple lines as follows:
 03 fd1-field1 pic 9(5).
or merged in a single line as follows:
 03 fd1-field1 pic 9(5).
Warning: ELK directives are ignored in Object and Factory methods. They can be used only in standard programs.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left