Re: deleting large numbers of records
Mark A<nobody@nowher e.com01/24/07 7:40 PM >>>
it
We're doing it in kind of an odd way. And for now, we're only testing. We
are using "DB2 Server for VSE" as the client, with the IBM COBOL for VSE/ESA
compiler. But all of our databases are remote databases on DB2/LUW.
So we definitely fall in to the category of a remote client, not a client
running on the server.
But to answer your question anyway, I have been successful using both Micro
Focus Net Express (COBOL) 5.0 as well as OpenCobol 0.33 to access DB2/LUW
databases.
Frank
---
Frank Swarbrick
Senior Developer/Analyst - Mainframe Applications
FirstBank Data Corporation - Lakewood, CO USA
Mark A<nobody@nowher e.com01/24/07 7:40 PM >>>
>"Frank Swarbrick" <Frank.Swarbric k@efirstbank.co mwrote in message
>news:51qg1dF1l 7lvnU1@mid.indi vidual.net...
>
>It depends on where the program runs. If the program runs on server and the
>news:51qg1dF1l 7lvnU1@mid.indi vidual.net...
>Interesting. I just figured that this would be much less efficient than
>doing just the delete with the fullselect, because in the latter case no
>data need be returned to the AR. Anyway, I will give it a shot.
>doing just the delete with the fullselect, because in the latter case no
>data need be returned to the AR. Anyway, I will give it a shot.
>It depends on where the program runs. If the program runs on server and the
>static SQL is bound into a package that runs on the server, then there is
>not that much difference in performance (unless performance is
>ultra-critical). If the program is running remotely, then there would be a
>not that much difference in performance (unless performance is
>ultra-critical). If the program is running remotely, then there would be a
>big difference in performance.
>
>I have written SQL stored procedures to do mass deletes with a cursor and
>
>I have written SQL stored procedures to do mass deletes with a cursor and
>performs well.
>
>I haven't seen to many COBOL programs running on DB2 LUW. What compiler are
>
>I haven't seen to many COBOL programs running on DB2 LUW. What compiler are
>you using? I used MicroFocus COBOL against OS/2 Database Manager, but that
>was in 1991.
are using "DB2 Server for VSE" as the client, with the IBM COBOL for VSE/ESA
compiler. But all of our databases are remote databases on DB2/LUW.
So we definitely fall in to the category of a remote client, not a client
running on the server.
But to answer your question anyway, I have been successful using both Micro
Focus Net Express (COBOL) 5.0 as well as OpenCobol 0.33 to access DB2/LUW
databases.
Frank
---
Frank Swarbrick
Senior Developer/Analyst - Mainframe Applications
FirstBank Data Corporation - Lakewood, CO USA
Comment