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

DB2 Data Propagator adding a new set of tables to replicatio


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

New User


Joined: 20 Jun 2008
Posts: 30
Location: Hyderabad

PostPosted: Fri Sep 25, 2009 2:58 pm
Reply with quote

In our environment, we have DB2 DataPropagator for z/OS V8 installed in production environment, there are some tables that have SQL replication and scheduled batch jobs fot the apply process. These jobs replicate data to a Oracle server.

In our test environment we have DB2 DataPropagator for z/OS V9 installed, and we don’t have this replication process setup in test environment. Ther is a planned upgrade for DataPropagator in production environment. For this upgrade we have to change our production JCL's but as we don’t have the replication setup in test, I have to setup atleast one table for SQL replication in test environment and test the JCL changes proposed for this upgrade.

Please suggest how to create a new SQL replication subscription, and test the apply process in my test environment.

Thanks in advance
Regards,
Nagesh
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Fri Sep 25, 2009 4:07 pm
Reply with quote

I suppose you need to setup the Data propagator in test system for replicating data to Test Oracle Server.

You may first check the existing production replication subscription and customize it for test.
Back to top
View user's profile Send private message
nagesh54

New User


Joined: 20 Jun 2008
Posts: 30
Location: Hyderabad

PostPosted: Fri Sep 25, 2009 4:33 pm
Reply with quote

thanks for your prompt response

Yes, I have to setup the Data propagator in test system.

The questions I ask may seem trivial, but as I have never used Data propagator earlier.....

How do I check the subscriptions in prod and how to add wsubscriptions in test, should I update the ASN tables ...... or do I ahve to use some commands that will update the ASN tables....
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Fri Sep 25, 2009 4:55 pm
Reply with quote

Nagesh,
Can't help you much in this regard, except providing the following links.

www.ibm.com/developerworks/data/roadmaps/sqlrepl-roadmap.html

www.redbooks.ibm.com/abstracts/sg246828.html?Open
Back to top
View user's profile Send private message
nagesh54

New User


Joined: 20 Jun 2008
Posts: 30
Location: Hyderabad

PostPosted: Fri Sep 25, 2009 6:07 pm
Reply with quote

Thanks for the link's Srihari
Back to top
View user's profile Send private message
nagesh54

New User


Joined: 20 Jun 2008
Posts: 30
Location: Hyderabad

PostPosted: Wed Oct 21, 2009 2:33 pm
Reply with quote

I have gone through the above mentioned documents....

all the above documents show process to add new table registrations for replication either through control center or through ASNCLP command's.

As we are using the data propagator on mainframe the option of control center is ruled out as we dont have db2 connect installed. The only option I have is to execute ASNCLP commands through USS(unix system services) on mainframe, but when I am trying to execute the ASNCLP command, I get an error saying command not found....

Is there any JCL to run the ASNCLP on mainframe, I am not sure of it. Apply and capture process are operated through JCL's in our environment.

Can some one suggest from where I can run ASN commands on the mainframe to create a new replication registration.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Oct 21, 2009 8:42 pm
Reply with quote

Hello,

Quote:
I get an error saying command not found....
If the command is not found, the directory/file where the executable is stored is not in the search path being used.
Back to top
View user's profile Send private message
nagesh54

New User


Joined: 20 Jun 2008
Posts: 30
Location: Hyderabad

PostPosted: Wed Oct 21, 2009 10:05 pm
Reply with quote

I could not find the file ASNCLP in the BIN directory on my installtaion...

the only files in the bin directory are
asnacmd
asnapply
asncap
asnccmd
asnmcmd
asnmig8
asnmon
asnqacmd
asnqapp
asnqcap
asnqccmd
asnqmfmt
asntdiff
asntrc
asntrep

I was wondering if there is anything I ahve to do to enable ASNCLP in our environment
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Oct 21, 2009 11:27 pm
Reply with quote

Hello,

Which directory is used for Production?
Back to top
View user's profile Send private message
nagesh54

New User


Joined: 20 Jun 2008
Posts: 30
Location: Hyderabad

PostPosted: Thu Oct 22, 2009 3:21 pm
Reply with quote

the bin directory for production also has the same fiels as listed above ....
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Oct 22, 2009 8:55 pm
Reply with quote

Hello,

Suggest you ask someone how (from where) the process is run in Production. . .

If it is already working in Production, someone on that system knows how it works. However it works needs to be used on (or copied to) the test environment?

As the "how" is site-specific, i suspect someone local needs to provide the info.
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 Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Check data with Exception Table DB2 0
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top