View previous topic :: View next topic |
Author |
Message |
Anant Beginner
Joined: 26 May 2005 Posts: 2 Topics: 1
|
Posted: Sun Oct 09, 2005 3:27 pm Post subject: Plan/DBRM for Cobol programs |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Sun Oct 09, 2005 5:24 pm Post subject: |
|
|
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 |
|
|
Anant Beginner
Joined: 26 May 2005 Posts: 2 Topics: 1
|
Posted: Sun Oct 09, 2005 5:38 pm Post subject: |
|
|
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 |
|
|
ANIL SARATHY Beginner
Joined: 30 Aug 2005 Posts: 88 Topics: 3 Location: Syracuse,New york
|
Posted: Mon Oct 10, 2005 12:31 am Post subject: |
|
|
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 |
|
|
|
|