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
 

 

bind card for accessing data from 2 databases

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
sh_ak

New User


Joined: 13 Jul 2005
Posts: 5

PostPosted: Tue Sep 26, 2006 11:12 am    Post subject: bind card for accessing data from 2 databases
Reply with quote

Hi,
My program (Cobol-DB2) uses data from two databases ABC & XYZ. Please let me know how to compile jcl for this. I am using a compile jcl with the below bind card :

DSN SYSTEM(XXX)
BIND PACKAGE(XXX.XXX) +
CURRENTDATA(NO) +
OWNER(XXX) +
ACTION(REPLACE) +
ISOLATION(CS) +
VALIDATE(BIND) +
MEMBER(JKL) +
ENABLE(BATCH)

This works if it uses data from 1 database. Please tell me how to code the bind card for the other database,so that the compile works fine.

Thanks,
sh_ak
Back to top
View user's profile Send private message

anamikak

New User


Joined: 10 May 2006
Posts: 64
Location: Singapore

PostPosted: Tue Sep 26, 2006 11:39 am    Post subject:
Reply with quote

icon_rolleyes.gif
go through the link:
http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db2.doc.apsg/bjnqmstr273.htm
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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
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