cobol db2 update query

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
rekha
Member
Posts: 4
Joined: Wed Aug 27, 2008 12:00 pm
Location: coimbatore

cobol db2 update query

Post by rekha » Wed Dec 03, 2008 4:38 pm

HI,
i m running a query and it is an update query..i want it to write it to a ps file and count the number of rows updated.so my question is how to write the updated fields alone to the ps...and how the cursor to be used..because using cursors oly we can write the resuklt fetched to a ps file..?????????

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

cobo db2

Post by Natarajan » Wed Dec 03, 2008 6:05 pm

same question posted at the following location and answered there only.

http://www.mainframegurukul.com/Mainfra ... php?p=6081



Please post this in DB2 forum.

Moderators - Please delete/move this post.
Natarajan
Chennai

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others