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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm


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