Can I call a stored procedure from an isCobol program?
isCOBOL's ESQL engine supports the CALL statement, making calling a stored procedure from isCOBOL easy.
Here's an example of a call to a procedure with parameters and their types specified, returning a status:
exec sql
call proc1(:p1 IN, :p2 OUT) into :exit-status
end-exe
You can read more about the syntax of a stored procedure CALL in the Language Reference/Embedded SQL Statements/CALL section of the isCOBOL documentation
Authored
by: Veryant Support
This question has been viewed 6763 times so far.
Click
Here to View all the questions in Data Access
category.
File Attachments
There are no attachment file(s) related to this question.
User Comments
There are no user comments for this question. Be the first to post a comment. Click Here