Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Subprograms package question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Subprograms package question
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    Post subject:
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    Post subject:
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    Post subject:
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: bangalore

PostPosted: Mon Aug 13, 2007 2:37 pm    Post subject: Re: Subprograms package question
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    Post subject: hi
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    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 QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts Why myself doing Package Bind always ... Susanta DB2 5 Thu Mar 02, 2017 10:47 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us