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
 
Number of Packages required for static and dynamic calling

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

New User


Joined: 17 Sep 2018
Posts: 2
Location: India

PostPosted: Mon Sep 17, 2018 7:14 pm    Post subject: Number of Packages required for static and dynamic calling
Reply with quote

Hi All,

I have to develop an application using main and sub programs. I am using dynamic call while calling sub program from Main Program. Both the programs are cobol-db2. I am sure that we require two db2 packages and one plan to execute this.

I want to know how many packages required if i use static call.
Back to top
View user's profile Send private message

Rohit Umarjikar

Senior Member


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

PostPosted: Mon Sep 17, 2018 7:22 pm    Post subject:
Reply with quote

Welcome!!
To know what you wants to know is to do some research about it and did you do that anywhere and if yes then what have you learned and if No then that's the first step to lead to your answer and still if you face concerns or doubts post us back with your findings?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2126
Location: UK

PostPosted: Mon Sep 17, 2018 7:45 pm    Post subject: Reply to: Number of Packages required for static and dynamic calling
Reply with quote

Have you looked at the "sticky" (4th post in this section of the forum)? If not, why not?
Back to top
View user's profile Send private message
manojthokala7

New User


Joined: 17 Sep 2018
Posts: 2
Location: India

PostPosted: Mon Sep 17, 2018 7:45 pm    Post subject:
Reply with quote

I agree with you. That is good way to learn. But i don't have access to create DB2 package as of now. That is the reason i posted this question.

Let me know if my assumption is correct or not. To compile main program, first we need to compile sub program to use static calling. If i do sub program compilation, all embedded queries will go to one DBRM lib. After that we will do main program compilation, all Embedded queries will go to another DBRM. So it requires two packages.

I am thinking we need two packages for static call as well. Correct me if i am wrong.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


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

PostPosted: Wed Sep 19, 2018 12:03 am    Post subject:
Reply with quote

Quote:
Let me know if my assumption is correct or not. To compile main program, first we need to compile sub program to use static calling. If i do sub program compilation, all embedded queries will go to one DBRM lib. After that we will do main program compilation, all Embedded queries will go to another DBRM. So it requires two packages
Yes.
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 calling java code(on mainframe from c... elixir1986 COBOL Programming 1 Fri Nov 30, 2018 1:57 am
No new posts Need advise in calling DFSORT from REXX ajithajt CLIST & REXX 9 Thu Nov 29, 2018 10:50 am
No new posts How to count the number of times key ... vnktrrd DFSORT/ICETOOL 14 Thu Nov 15, 2018 9:19 pm
No new posts Accessing control blocks to retrieve ... menonkiran COBOL Programming 5 Wed Nov 14, 2018 9:08 pm
No new posts Get line number where cursor is from ... satish.ms10 CLIST & REXX 3 Wed Oct 24, 2018 12:23 am

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