Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum 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: 2309
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: 2253
Location: Hampshire, 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: 2309
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 Sort to construct single record from ... Deepti_R SYNCSORT 3 Wed Nov 13, 2019 12:14 am
No new posts Create Dynamic Sort card with Omit co... balaji81_k DFSORT/ICETOOL 9 Thu Sep 26, 2019 10:06 pm
No new posts COMPUSET/XICS z/os document required Nic Clouston All Other Mainframe Topics 1 Tue Sep 03, 2019 12:42 pm
No new posts count the number of records from diff... janmejay CA Products 4 Mon Mar 25, 2019 11:29 pm
No new posts Build Dynamic Sort output and limit '... balaji81_k DFSORT/ICETOOL 3 Sat Feb 02, 2019 4:40 am

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