Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Batch Subscription Management

060000MJ5X gravatar image
Question by JDHannis  (0) | Oct 19, 2016 at 12:40 PM db2idr-cdcoraclebatchsolarisz-os

Looking for help on how to automate/batch the update source/target table descriptions & mapping of source/target column for a z/OS DB2 source to Solaris Oracle target mirror continuous subscription.

A common task for us is to ALTER ADD columns to tables currently used in multiple CDC subscriptions. The manual work required to do this via Management Console is tedious and time consuming. Thus I'm looking an alternative process to use - i.e. batch and/or script.

For a subscription where the source is z/OS DB2 and the target is Solaris Oracle, does anyone know how to build a batch process or script to do the following - I have z/OS CDC commands for all but steps 4 & 5):

Mirror Continuous Subscription XXXXXXXX: Source = z/OS DB2, Target = Solaris Oracle
(1) End Replication for XXXXXXXX (Can be done via z/OS CDC command ENDTSMIR)
(2) OUTSIDE OF CDC - On DB2 source, do ALTER ADD COLUMN on table abc
(3) OUTSIDE OF CDC - ON Oracle target, do ALTER ADD COLUMN on table abc
(4) For table abc within subscription XXXXXXXX, update source table & target table descriptions
(5) For table abc, map all columns - including new ones - based on column name from source to targe
(6) 'Describe' operation on subscription XXXXXXXX (Can be done via z/OS CDC command STRTSDCS)
(7) Mark table abc for REFRESH in subscription XXXXXXXX (Can be done via z/OS CDC command SETMIRSTS)
(8) Start Replication for XXXXXXXX (Can be done via z/OS CDC command STRTSMIR)

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
2700013TF4 gravatar image

Answer by Rphilo (1266) | Apr 17, 2014 at 04:04 AM

Hi

If you have Infosphere Data Replication 10.2 on both source and target you can use the chcclp utility introduced in that version to do all the CDC steps.

If you are still on 6.5 or below I would recommend that you upgrade to 10.2 to get the benefit of the newer functionality. You will probably need to speak to your account manager to get your CDC entitlement migrated to IDR.

Info on chcclp here http://pic.dhe.ibm.com/infocenter/iidr/v10r2m0/index.jspl

Regards

Robert

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

94 people are following this question.

Answers

Answers & comments

Related questions

Oracle / Solaris 4 Answers

Sample notifications user exit program 1 Answer

Defined expressions lost after an upgrade 4 Answers

Stored procedure for DB2 CDC 1 Answer

What all use cases (Rule) can be used in solaris OS? Please check attachment for example file 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges