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

calling a DB2 subroutine


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

New User


Joined: 08 Aug 2005
Posts: 1

PostPosted: Mon Aug 08, 2005 4:13 pm
Reply with quote

Hi,

I have a doubt.I have coded a DB2 cobol(main program) which calls another DB2 subroutine.In the systsprt step in the JCL , i have used only the plan for the main program.How the main program access the tables used in the subroutines without specfying the plan for the subroutine in the jcl?

The program works fine.
Back to top
View user's profile Send private message
mainframesguru

New User


Joined: 24 Jun 2005
Posts: 36
Location: Hyderabad

PostPosted: Tue Aug 09, 2005 4:40 pm
Reply with quote

Hi,

This is the case where the concept of Package Binding comes into picture.

First all the packages are created for each Program,then they are binded
to make a single Plan and that Plan Name is mentioned in SYSTSPRT.

This is just thoeretical Knowledge.I didnt work with binding Packages,
but it is possible. Please Refer SPUFI Region.

Thanks And Regards
Vamshi
ICC-ISH
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 Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Calling an Open C library function in... CICS 1
No new posts calling a JCl inside a JCL JCL & VSAM 3
No new posts Calling IEHPROGM from REXX CLIST & REXX 7
Search our Forums:

Back to Top