how to read records from DB2 table through routines
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 50
- Joined: Mon Sep 25, 2006 11:18 pm
- Location: Chennai
- Contact:
how to read records from DB2 table through routines
Hi to all,
Can anybody tell how to get the records from DB2 table through routines?
if possible, pls send the routine.
Advanced Thanks.
Ragunathan J.
Can anybody tell how to get the records from DB2 table through routines?
if possible, pls send the routine.
Advanced Thanks.
Ragunathan J.
It is very much like you execute your OS command.
You have Command line call facility avaialble in DB2.
>db2 connect to database.....
>db2 "select * from .....";
You need to wrap this command as the OS comand call.
You have Command line call facility avaialble in DB2.
>db2 connect to database.....
>db2 "select * from .....";
You need to wrap this command as the OS comand call.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
-
- Participant
- Posts: 50
- Joined: Mon Sep 25, 2006 11:18 pm
- Location: Chennai
- Contact:
-
- Participant
- Posts: 50
- Joined: Mon Sep 25, 2006 11:18 pm
- Location: Chennai
- Contact:
Find the full detail of CLP here.
http://publib.boulder.ibm.com/infocente ... 010412.htm
And revert back if you still find any further issues.
http://publib.boulder.ibm.com/infocente ... 010412.htm
And revert back if you still find any further issues.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Perhaps you could share with us why you 'need' to do this, why the requirement? Then we can tell you why you don't want to do it that way and give you an alternative or two.ragunathan13 wrote:actually my req. is, using routines i have to extract the records from db2 table
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 50
- Joined: Mon Sep 25, 2006 11:18 pm
- Location: Chennai
- Contact: