IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

how many cursors can be declared in single cobol-db2 program

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> DB2
View previous topic :: View next topic  
Author Message
manikumar_711



Joined: 11 Sep 2007
Posts: 7
Location: Chennai

Posted: Sat Jul 05, 2008 8:16 pm    Post subject: how many cursors can be declared in single cobol-db2 program  

Hi ,
can i declare single cobol-db2 program more than one cursor.
Any one can give me solution ?
Back to top  
dick scherrer



Joined: 23 Nov 2006
Posts: 8732
Location: 221 B Baker St

Posted: Sat Jul 05, 2008 9:59 pm    Post subject:  

Hello,

Yes, you can. They must have differnt names.

To test, duplicate an existing cursor in some test program and check it out.
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> DB2
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM