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

IMS calls to database.


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dilip_bangalore

New User


Joined: 29 Sep 2011
Posts: 27
Location: India

PostPosted: Mon Sep 23, 2013 1:17 pm
Reply with quote

Hi,

Can anyone let me know how is the number of IMS calls to database is kept track of automatically without using any WS variable. What is the maximum number of IMS calls that can be made to database in a COBOL program.

Thanks,
Dilip
Back to top
View user's profile Send private message
Peter cobolskolan

Active User


Joined: 06 Feb 2012
Posts: 104
Location: Sweden

PostPosted: Mon Sep 23, 2013 3:30 pm
Reply with quote

Interview question ?
No one but you - the programmer, can keep track.
Why do you think there would be a limit? The problem to be solved by the program may cause one(1) or thousands Calls.
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: Mon Sep 23, 2013 7:01 pm
Reply with quote

Hello,

If IMS is like many other database products, it internally keeps track of activity.

Suggest you talk with your dba and see what might be available (unless this is just an interview question).

If you want custom statistics, do as Peter mentioned - implement code to do what you want.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Mon Sep 23, 2013 7:52 pm
Reply with quote

There is a built in reporting utility that you can run as part of the job. I don't have a lot of interest in it because there are more performance-minded tools that do it too.

The IBM built in will give a list of each PCB in the PSB and shows the calls and type of calls for them.

I've noticed that only very experienced DBAs can use that information wisely. I've seen a lot of people use that same information to do some stupid things and try to fix the wrong problems. That's why I use STROBE and Application Performance Analyzer.
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
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
Search our Forums:

Back to Top