Can I call from an isCobol program a stored procedure?

Question ID : 203
Created on 2013-07-15 at 4:09 AM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=203



Calling a stored procedure from isCOBOL is rather simple, since the supported ESQL includes the CALL statement. You should just write something like:
EXEC SQL
CALL procedure_name (:param1, :param2) into :result
END-EXEC
Where param1 and param2 and result are host variables defined in the Data Division of the program.



Back to Original Question