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 Cobol DB2 program from a cobol pgm

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
nkjain87

New User


Joined: 21 Jul 2016
Posts: 1
Location: India

PostPosted: Thu Jul 21, 2016 5:12 pm    Post subject: Calling Cobol DB2 program from a cobol pgm
Reply with quote

PGM-A is simple Cobol program which calls PGM-B which is a COBOL-DB2 program and PGM-B calls final routine PGM-C which is COBOL-DB2 program.

Here, Pgm-B and Pgm-C are prepared long back at different times and pgm-A is developed recently.

Now What would be the process(pre-compilation, compilation, link editing, binding etc. of any of the above programs) to follow before executing Run JCL? And also what shall I input in place of 'pgm' and 'plan' in runjcl?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Thu Jul 21, 2016 6:23 pm    Post subject:
Reply with quote

Compiling programs is specific to a site -- some sites use source code management facilities, some don't; some sites customize the IBM-provided procedures, some don't, etc. You need to consult with your co-workers, your team leader, your manager, or your site support group to use what works at your site.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

PostPosted: Thu Jul 21, 2016 9:07 pm    Post subject:
Reply with quote

Did you consult anyone else at your work site before posting here ?
Quote:
Now What would be the process(pre-compilation, compilation, link editing, binding etc. of any of the above programs) to follow before executing Run JCL?
Code:
Main Program :compilation-> link editing-> binding
Quote:
And also what shall I input in place of 'pgm' and 'plan' in runjcl?
Code:
IKJEFT01
Quote:
and 'plan' in runjcl?
Create a new plan for main program and bind it and use that.
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am


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