Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8593
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 XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us