Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Calling a COBOL+DB2 program from pure COBOL program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Khwairakpam Raju Singh

New User


Joined: 05 Dec 2007
Posts: 29
Location: Bangalore

PostPosted: Tue Jul 06, 2010 6:24 pm    Post subject: Calling a COBOL+DB2 program from pure COBOL program
Reply with quote

Hello,

Coluld anyone hepl me finding out the exect answer for following question.

Q1. Suppose COBOL program A calls B, B calls C.
As of now all the program A, B,C are pure COBOL program and it can be execute with PGM=A in JCL.
Now, due to some requirement, Program C will be calling program D, which is a COBOL+DB2 program.
i) What are the procedure to be done in terms of compilation(suppose program used Dynamic calls)
ii) How to run the program A. Do we need to convert program A from cobol program to COBOL+DB2 and execute it from JCl with PGM=IKJEFT01

Thanks in advance.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8614
Location: Back in jolly old England

PostPosted: Tue Jul 06, 2010 6:27 pm    Post subject:
Reply with quote

The concept of the interview questions forum is that you the poster tell us what your answers were, and then the rest of the forum will comment.
Back to top
View user's profile Send private message
Khwairakpam Raju Singh

New User


Joined: 05 Dec 2007
Posts: 29
Location: Bangalore

PostPosted: Tue Jul 06, 2010 6:47 pm    Post subject:
Reply with quote

Soory for that. Following were my answers:
Quote:

i) What are the procedure to be done in terms of compilation(suppose program used Dynamic calls)


The program A(as it will be converted to COBOL+DB2), C (as changes will be done to call program D) and new program D has to be compiled and bind to make time stamp in sycn.

Quote:

How to run the program A. Do we need to convert program A from cobol program to COBOL+DB2 and execute it from JCl with PGM=IKJEFT01

Prgram A has to conver to COBOL+DB2 program and plan has to created for program A. (not sure about the answer and even I am not sure that can be done without converting program A to COBOL+DB2 program.)
Back to top
View user's profile Send private message
Khwairakpam Raju Singh

New User


Joined: 05 Dec 2007
Posts: 29
Location: Bangalore

PostPosted: Fri Jul 16, 2010 5:01 pm    Post subject:
Reply with quote

Still I am not sure about the answer which I have given is correct or not. It will be great if someone explain more in this.

Thanks in advance.
Back to top
View user's profile Send private message
ragbose

New User


Joined: 11 Jan 2010
Posts: 13
Location: chennai/hyderabad

PostPosted: Thu Jun 02, 2011 2:10 pm    Post subject: Reply to: Calling a COBOL+DB2 program from pure COBOL progra
Reply with quote

Hi,

Please refer the below link it helps u to understand better

http://ibmmainframes.com/viewtopic.php?t=15704

Once you understand please let us know what you understood icon_smile.gif

Thanks
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us