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

Crash IMS database


IBM Mainframe Forums -> IMS DB/DC
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
aprocon

New User


Joined: 26 Oct 2010
Posts: 41
Location: chennai

PostPosted: Fri Aug 17, 2012 10:08 am
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Aug 17, 2012 12:59 pm
Reply with quote

ibmmainframes.com/about50065.html
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Aug 17, 2012 4:30 pm
Reply with quote

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
View user's profile Send private message
aprocon

New User


Joined: 26 Oct 2010
Posts: 41
Location: chennai

PostPosted: Fri Aug 17, 2012 6:09 pm
Reply with quote

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
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Fri Aug 17, 2012 6:51 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Aug 17, 2012 6:58 pm
Reply with quote

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... icon_neutral.gif
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Fri Aug 17, 2012 7:08 pm
Reply with quote

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... icon_neutral.gif

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
View user's profile Send private message
aprocon

New User


Joined: 26 Oct 2010
Posts: 41
Location: chennai

PostPosted: Fri Aug 17, 2012 7:33 pm
Reply with quote

No Worries, I am a DBA.

Fortunately I know how to cancel a BMP job:)
Back to top
View user's profile Send private message
Gary Jacek

New User


Joined: 17 Dec 2007
Posts: 64
Location: Victoria, BC, Canada

PostPosted: Sat Aug 18, 2012 1:52 am
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sat Aug 18, 2012 10:44 am
Reply with quote

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"...icon_biggrin.gif
Back to top
View user's profile Send private message
antzel itay

New User


Joined: 16 Jul 2012
Posts: 1
Location: israel

PostPosted: Wed Feb 06, 2013 2:50 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts What database does Jobtrac use CA Products 4
No new posts Capturing COBOL job and program names... All Other Mainframe Topics 2
No new posts Products/Tools to Optimize Adabas Dat... Compuware & Other Tools 2
No new posts AUTHORIZED database error in HALDB IMS DB/DC 2
No new posts linking an ALC program to a Relationa... PL/I & Assembler 1
Search our Forums:

Back to Top