FunctionsDeclaration - TypeCobolTeam/TypeCobol GitHub Wiki
CALL <procedure-name>
<INPUT clause>?
<INOUT clause>?
<OUTPUT clause>?
END-CALL?INPUT < <SENDING MODE clause>? <parameter-name> >+BY? <CONTENT | REFERENCE | VALUE>INOUT <parameter-name>+OUTPUT <parameter-name>+-
❏ TCRFUN_MATCH_PARAMETERS_SIZE
The logical size (without any concern about comp-*) of allINPUT,INOUT,OUTPUTparameters provided on a given procedure call must match the logical size of all parameters of at least one declared procedure of the same name. -
❏ TCRFUN_MATCH_PARAMETERS_COMPRESSION
The physical compression of allINPUT,INOUTparameters provided on a given procedure call must match the physical compression (same comp-* between caller and callee) of all parameters of at least one declared procedure of the same name. -
✓ TCRFUN_EMPTY_CALL
ACALLstatement that has none of theUSING,INPUT,INOUT,OUTPUTorRETURNINGclauses is recognized as:-
a procedure invocation if there is a procedure declared with no
INPUT,INOUTorOUTPUTparameter visible in the current scope ; -
a function invocation if there is a function declared with no
INPUTorRETURNINGparameter visible in the current scope ; -
a standard COBOL
CALLstatement if there is neither.
-