Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us