MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

copy from production database to test database

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Thu Nov 06, 2008 10:54 am    Post subject: copy from production database to test database Reply with quote

Members,

I want to copy a production IMS database to a Test Database which is existing / or to a new database which should be created by me , can somebody help me in this regard ,what all should i do to have a copy of Prod to Test Database, how can i check after copying that it is in sync with the prod database.Please help me with the process.
Back to top
View user's profile Send private message
Sreejith
Intermediate


Joined: 02 Dec 2002
Posts: 155
Topics: 25
Location: N.Ireland

PostPosted: Thu Nov 06, 2008 11:50 am    Post subject: Reply with quote

If you have FileAid for IMS, use the extract and load feature.Otherwise use the production image copy.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Thu Nov 06, 2008 11:58 am    Post subject: Reply with quote

Sreejith,

Thanks for your reply.I do not have File Aid for IMS , can you please help me with the production image copy JCL and what should i have the necessary pre-requisite before i run the utility i mean what all should i create before i run the utility.
Back to top
View user's profile Send private message
Sreejith
Intermediate


Joined: 02 Dec 2002
Posts: 155
Topics: 25
Location: N.Ireland

PostPosted: Thu Nov 06, 2008 12:08 pm    Post subject: Reply with quote

Assuming you already have an image copy, the reload jcl will look something like following

Code:

//RELD1  EXEC PGM=DFSRRC00,PARM='ULU,DFSURGL0,dbdname'
//IMS      DD DSN=PROD.DBDLIB,DISP=SHR
//SYSPRINT DD SYSOUT=*
//DFSVSAMP DD DSN=
//DFSUINPT DD DSN=imagecopy
//dbddname1  DD DSN=
//dbddname2  DD DSN=
//SYSABEND DD SYSOUT=*


You may have to do a VSAMRESET before the load.

All these will be already there if you check with your IMS DBAs
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Thu Sep 17, 2009 6:27 am    Post subject: Reply with quote

Usually, there are some "in-house" COBOL-IMS program at every site to do what you asked for. IMS DB may contain some maskable information, which should not be loaded to a test envireonment DB. Suggest you get in touch with some peer at your shop before you proceed to do what you ask for.
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
ANIL SARATHY
Beginner


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Sat Dec 26, 2009 8:08 pm    Post subject: Reply with quote

IMS is nothing but VSAM files in most cases. Just copy the vsam files individually into your own test vsam files. You will be all set.
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Mon Dec 28, 2009 3:29 am    Post subject: Reply with quote

Hi Anil,

I did not understand your reply well, can you please elobrate on "copy the VSAM".

On the other hand, does that mean, as we have LDS in case of DB2, copy those LDS to test LPAR would allow us to browse through the prodcution data? Confused
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group