View previous topic :: View next topic
|
Author |
Message |
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
Hi all
I would like to crash my own IMS - HIDAM test database and recover using recvovery procedures. The intent is to learn rthe process of recovery. Could you provide some suggestions please?
Thanks in advance!! |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
If you search the word "crash" in IMS related IBM documentation, you'll hardly find anything. Since this morning I'd been trying to find it...
I'm not sure if there is some ready-made utility to do this. Possibly, write a COBOL program (if COBOL is your choice), which updates the DB in question, put in a delebrate abend - try to casue AI and or AO status code and now recover it.
PS.: This sounds intresting, I'll check if I can find out something later... |
|
Back to top |
|
|
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
Thanks Anuj..
Please let me know if you find anything.
Thanks Peter!! It looks like cancelling an update job will do the work for me.. I will try that. |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
aprocon wrote: |
Thanks Anuj..
Please let me know if you find anything.
Thanks Peter!! It looks like cancelling an update job will do the work for me.. I will try that. |
Whoa! Be careful how you "cancel" the job (I am presuming it is a BMP). If you initiate the cancel via SDSF, and you are unlucky, you may crash your IMS control region. This will not go unnoticed, and you will receive an angry phone call from your DBA and/or IMS systems programmer. Do it more than once and your boss will receive an angry phone call from their boss.
Talk to your IMS support staff and ask them what the proper procedure is to cancel an active BMP. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Don has brought in a valid point, however, I was under the impression that the OP is IMS-DBA/IMS-System Programmer. S/he talked about "recovery procedures", as in the case of "disaster recovery". Scope for an Application programmer is usually check-point-restart... |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Anuj Dhawan wrote: |
Don has brought in a valid point, however, I was under the impression that the OP is IMS-DBA/IMS-System Programmer. S/he talked about "recovery procedures", as in the case of "disaster recovery". Scope for an Application programmer is usually check-point-restart... |
I don't see how that follows; as an application programmer/analyst, I have been asked to do (low-level, to be sure) DBA-type activities, as creating and data bases, table spaces, etc., in the course of DR/BC exercises. If the person leading such an exercise told me, "We're going to corrupt a data base, and we want you to restore it", I wouldn't think of saying, "That's beyond my pay grade; get a DBA". |
|
Back to top |
|
|
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
No Worries, I am a DBA.
Fortunately I know how to cancel a BMP job:) |
|
Back to top |
|
|
Gary Jacek
New User
Joined: 17 Dec 2007 Posts: 64 Location: Victoria, BC, Canada
|
|
|
|
The IVP that ships with the IMS product has a series of jobs that do exactly what you want to do.
Talk to the Systems Programmer who installed your most recent version of IMS to find out how you can start the IVP dialogue which generates the JCL and other control records that you need.
It is generally found under the IMSAPPL menu that is supplied by IBM.
aprocon wrote: |
Hi all
I would like to crash my own IMS - HIDAM test database and recover using recvovery procedures. The intent is to learn rthe process of recovery. Could you provide some suggestions please?
Thanks in advance!! |
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Akatsukami wrote: |
I don't see how that follows; as an application programmer/analyst, I have been asked to do (low-level, to be sure) DBA-type activities, as creating and data bases, table spaces, etc. |
Now that's the difference between the work-duties of an "application analyst" and a "software engineer"... |
|
Back to top |
|
|
antzel itay
New User
Joined: 16 Jul 2012 Posts: 1 Location: israel
|
|
|
|
It's obvious that the IMS is a testing environment.
So I don't get what is the problem with performing cancel to the IMS region while on line transaction on the DB is running?
Is there another way to crash the IMS? |
|
Back to top |
|
|
|