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

Relation between Cobol, JCL & Db2


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
somshekharreddy

New User


Joined: 05 Sep 2006
Posts: 1
Location: INDIA

PostPosted: Wed Sep 06, 2006 3:30 pm
Reply with quote

Hi All,

I am very new to the Mainframes world. I am just in the learning stage of it.

I have very general questions about Cobol,JCL,Db2.

I want to know the relation between these three and how are they used in a particular programe from the time of coding the programe till the execution.
Please explain with examples if possible.

Thank you so much,

Shekhar Reddy
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Sep 06, 2006 5:20 pm
Reply with quote

COBOL is a programming language, use mostly for business applications.
JCL is a control language, used only for jobs.
DB2 is a relational database which might be accessed using programs or utilities.

COBOL, as programming language, may include access commands to DB2, which can be identified (mostly) by using the statement "EXEC SQL".

A COBOL program, after compilation, may be invoked using JCL.

O.
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top