How to retrieve data from DB2 table to a output file

Ask question on - DataBase Concepts, IBM Mainframe DB2, DB2/UDB, DB2 Tools, SQL , DB2 programming with languages like COBOL, PL1.

Moderators: Kalicharan, Moderator Group

Post Reply
msampar
Member
Posts: 1
Joined: Tue Oct 15, 2013 1:04 am

How to retrieve data from DB2 table to a output file

Post by msampar » Tue Oct 15, 2013 1:11 am

Hi All,
I am beginner to Mainframe

Can any one one guide me on.. How to retrieve data from DB table to an output file.
I am not able to retrieve the data from table to an output file:(.
Can any one explain me with a sample code.

Thanks[/b]
Murali

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Oct 16, 2013 12:02 am

I am beginner to Mainframe
Once upon a time, we all were . . .
I am not able to retrieve the data from table to an output file
Why not? What happened when you tried?

How do others using your system retrieve data from db2? You will be better off using something that is already working on your system - rather than getting something that may not be available on hyour system.
Have a good one

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