Call & Execute a COBOL-DB2 from a COBOL program?

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
User avatar
rangab
Active Member
Posts: 56
Joined: Fri Mar 17, 2006 3:21 pm

Call & Execute a COBOL-DB2 from a COBOL program?

Post by rangab » Fri May 05, 2006 10:41 am

Hi,

Can anybody explain me how to call and execute a COBOL-DB2 sub-program from a COBOL main program.

Please provide the JCL and other required details.

If it is a COBOL-DB2 program then we use IKJEFT01 utility and mention PLAN etc in the SYSTSIN DD * (instream data). Now, the calling program is a pure COBOL program and it's called program is a COBOL-DB2 program. Any idea?

Thanks for your help.
========
Ranga...:-0)
========
Learn Which You Don't Know - Teach Others Which They Don't Know.

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Tue Mar 10, 2009 7:33 pm

Hi,

Could you make any progress?
Regards,
Anuj

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