to Frederico
for the first sample,the program will be :
PERFORM UNTIL 'data not found'
CALL DBI USING 'read next' ...
******
PERFORM 'edit-process'
******
END-PERFORM
my question is whether the CURSOR can be kept in per execution(CALL) in the loop.
the flow of the loop will be ...
To all,
thanks for your response.
Now I am doing a migration project from XXX to DB2.
the request is all of the COBOL programs will access DB2 via DBI program(subroutine) not use a direct SQL.
I think it needs Dynamic SQL in the DBI.
for easy to do it,
1) The DBI will SELECT all records from...
Hi guys:
I am a mainframe cobol programmer, and now i need some helps.
I want to write a cobol subroutine it can provide functions for accessing DB2.
ex. there is a subroutine called DBI0000.
In cobol program, I can access DB2 use the DBI0000 as below.
CALL DBI0000 USING PARM-OPTION...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.