The online Microfocus Cobol manual has, on the PERFORM PAGE some syntax of PERFORM USING but no explanation or example of how to use it
MicroFocus Perform page
The syntax is basically
PERFORM USING {local-name AS type-specifier = expression } ...
I'm not sure whether this is specific to Microfocus or whether it is a little known feature that is just glossed out in most COBOL implementations. Is the local-name a parameter to the performed paragraph or is this something else?
Basically I'm looking for an alternative to providing a procedure with parameters in a separate code block with a linkage section.
MicroFocus Perform page
The syntax is basically
PERFORM USING {local-name AS type-specifier = expression } ...
I'm not sure whether this is specific to Microfocus or whether it is a little known feature that is just glossed out in most COBOL implementations. Is the local-name a parameter to the performed paragraph or is this something else?
Basically I'm looking for an alternative to providing a procedure with parameters in a separate code block with a linkage section.