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

Calling a COBOL+DB2 program from pure COBOL program


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Jul 06, 2010 6:27 pm
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
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
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
Reply with quote

Hi,

Please refer the below link it helps u to understand better

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Need to validate the field using cobol COBOL Programming 3
No new posts How to get the message id thats trigg... Java & MQSeries 0
No new posts Tilde Characters Changing to COLONs i... CLIST & REXX 22
No new posts IDCAMS listcat service using cobol JCL & VSAM 1
No new posts Make cobol variable value a variable COBOL Programming 3
Search our Forums:

Back to Top