Update on how to import a database table into a cobol table
i corrected the fetch but there's still something wrong
need some help
thx for the post 'fredericofonseca'.
exec sql declare cursor1
cursor for
select name,gender
from aTable...
exec sql declare cursor1
cursor for
select number, name
from TestVraag
where gender = :gender
end-exec
display SQLcode
display sqlstate
//result can be multiple rows
exec sql open cursor1 end-exec
perform sizeTable...
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.