IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Cursor fetch in EZT


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sant532

New User


Joined: 02 Jun 2008
Posts: 48
Location: India

PostPosted: Fri Jan 30, 2009 8:46 pm
Reply with quote

I need to fetch information from a table using one cursor.
let wh-num=10
and the Cursor is:
select name
from maintb
where num = :wh-num


In the maintb we have 3 rows for wh-num=10
how to fetch all the 3 rows?

In EZT we need to close the cursor for every fetch I think.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Feb 04, 2009 3:44 am
Reply with quote

Hello,

Quote:
In EZT we need to close the cursor for every fetch I think.
Why do you think this?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Code Multi Row fetch in PL1 program PL/I & Assembler 1
No new posts Need to fetch data from so many DB2 t... DB2 9
No new posts fetch the record number from FMNMAIN ... CLIST & REXX 10
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
Search our Forums:

Back to Top