MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Plan/DBRM for Cobol programs

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
Anant
Beginner


Joined: 26 May 2005
Posts: 2
Topics: 1

PostPosted: Sun Oct 09, 2005 3:27 pm    Post subject: Plan/DBRM for Cobol programs Reply with quote

I've two cobol programs using different tables. Both will be compiled saperately but linked together in one load module. How do I create plan/package for the two? Do I need to mention all DB2 tables in plan for both programs or only the ones that are used by the respective program?
Also do I need any special processing while linking them?

Thanks,
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Sun Oct 09, 2005 5:24 pm    Post subject: Reply with quote

Anant,

Your question does not make any sense . How would you create a single load module for 2 different pgms ? Is one of the pgm a subroutine? If it is a subroutine , then you can need to create a Package list and put in the main program bind card.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anant
Beginner


Joined: 26 May 2005
Posts: 2
Topics: 1

PostPosted: Sun Oct 09, 2005 5:38 pm    Post subject: Reply with quote

Oops...! Incomplete information from my side...

Both are independent programs. There is one more driver program (main) that will call these two at different point of time. Going by your reply, I guess I need to create a package list and put in the Driver program in BIND card.

Thanks !
Back to top
View user's profile Send private message
ANIL SARATHY
Beginner


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Mon Oct 10, 2005 12:31 am    Post subject: Reply with quote

subprogram 1 - package 1

subprogram 2 - package 2

Now in Plan for Driver program use PKLIST or packages of wo subprograms.

Even if driver program doesn't use any table, it is required for plan.
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group