IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Subprograms package question


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prabhucs01
Warnings : 1

New User


Joined: 07 Mar 2005
Posts: 43

PostPosted: Thu Aug 09, 2007 6:16 pm
Reply with quote

I have a main program calling 2 sub programs. And if I have changes in subprogram (All the three programs have DB2 components. Now with respect to plan package concepts, which are the packages and plan that, have to complied. For instance each of these subprograms of individual packages
Back to top
View user's profile Send private message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Thu Aug 09, 2007 6:42 pm
Reply with quote

To avoid this problem use Dynamic call for calling Sub program, If u use the static call u need to recompile all the program including main programs in same packge.
Back to top
View user's profile Send private message
prabhucs01
Warnings : 1

New User


Joined: 07 Mar 2005
Posts: 43

PostPosted: Thu Aug 09, 2007 7:23 pm
Reply with quote

another basic doubt. as i said before if i have a main programs and 2 subprograms, do all these programs come under same package or different package?
Back to top
View user's profile Send private message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Mon Aug 13, 2007 11:16 am
Reply with quote

Ideally it should come under diffrent packages...

Usually program to package relation is one to one and hence package to plan relation is many to one..
Back to top
View user's profile Send private message
ashok_uddaraju

New User


Joined: 21 Feb 2007
Posts: 72
Location: US

PostPosted: Mon Aug 13, 2007 2:37 pm
Reply with quote

hi all,

whenever any modifacation is done in db2, the programs need to be recomplied and the all related pakages are to be binded
Back to top
View user's profile Send private message
paban_patt

New User


Joined: 19 Jul 2007
Posts: 5
Location: bangalore

PostPosted: Tue Aug 14, 2007 1:40 pm
Reply with quote

if the main program is a cobol program, na subprogram is a cobol-db2 , how to compile.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Question for file manager IBM Tools 7
No new posts question for Pedro TSO/ISPF 2
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts panel creation question TSO/ISPF 12
No new posts Sort w/OUTREC Question DFSORT/ICETOOL 2
Search our Forums:

Back to Top