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 

Accessing JOB EXCPN-CNT values for executing job

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
southskies
Beginner


Joined: 14 Jul 2008
Posts: 9
Topics: 4

PostPosted: Wed Dec 21, 2011 12:56 am    Post subject: Accessing JOB EXCPN-CNT values for executing job Reply with quote

Hi,

I am needing to collect details about the total exception count from all the preceeding steps of an executing job.

Running SDSF in batch (DA "screen") will only get the count of the current step. Running SDSF in batch (with the job selected) does not give accurate values for each step, as these values are are often suffixed by "K".

Based on some prior REXX STORAGE scripts....

(http://www.mvsforums.com/helpboards/viewtopic.php?p=58130&sid=00fb9bae0fb73239f686dd230ba53d17)

I've been looking through the MVS Data manuals to see whether this information is stored in memory, but it is not obvious where these values are stored.

Any ideas?

I want to collect this information which the job is still executing, not once the job has finished.

Many thanks!

Steve
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Wed Dec 21, 2011 5:53 am    Post subject: Reply with quote

What is an exception count

Do you really mean the EXCP count, which indicates the number of EXecute Channel Program

Why would you need to know this for a subsequent job step.

Please explain fully what it is that you want to achieve and why
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
southskies
Beginner


Joined: 14 Jul 2008
Posts: 9
Topics: 4

PostPosted: Wed Dec 21, 2011 8:00 pm    Post subject: Reply with quote

Yes, correct ...the measure of amount of IO that has occurred during the execution of this step.
These details are also shown in the LOG of the job
"DSS3044 JOBNAME STEPNAME PROCSTEP RC EXCP CPU "

I wish to be able to collect the IO stats for an entire job so that a subsequent step can compare this value with past runs as part of a QA type integrity check exercise.
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Thu Dec 22, 2011 1:02 am    Post subject: Reply with quote

Hello,

Suggest you talk with your system support people and learn what SMF reporting and/or data extract processes are available on the system. Everything you want (and more) is stored in the SMF data and most organizations have analysis processes in place. These vary from site to site, so only someone familiar with your system would have a ready answer.
_________________
All the best,

di
Back to top
View user's profile Send private message
southskies
Beginner


Joined: 14 Jul 2008
Posts: 9
Topics: 4

PostPosted: Thu Dec 22, 2011 1:13 am    Post subject: Reply with quote

Hi,

I realise that the information is available within SMF, but a) the data is not available until after the job completes b) I was hoping to be able to access the data through the REXX STORAGE commands while the job is still running. You can access individual job steps RC and CPU time via direct access to STORAGE, and was hoping to get info from this forum on how to access EXCP IO counts using this method. It would be my expectation that MVS STORAGE would be the same across sites?
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Thu Dec 22, 2011 1:41 am    Post subject: Reply with quote

EXCP counts are not a true indication of I/O activity.

An EXCP will typically read / write one block, although there may be exceptions to this which perhaps one of the sysprogs could explain.

The SMF data is probably the most accurate way to achieve the desired result. It may be possible for you to write a program to interrogate the SMF buffers for a job or step, but that I believe would be an extremely difficult and hazardous task to undertake.

If for some reason you get it wrong and mess up the SMF data, which may be used for financial accounting purposes, you may well kiss your job a fond farewell.
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Thu Dec 22, 2011 4:39 pm    Post subject: Reply with quote

Quote:

I realise that the information is available within SMF, but a) the data is not available until after the job completes
Which is when more than 99% of this type of analysis is done. . . Why does someone in your organization believe this is needed "within the job"? If the goal is to compare how a job or jobs perform over time, everything but "this" job will already be complete.

Quote:

but that I believe would be an extremely difficult and hazardous task to undertake.
And even if you manage to get something running, it may all fall apart with the next release/upgrade of the Operating System. If SMF data is used, the probability of your work surviving is greatly improved.
_________________
All the best,

di
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 -> TSO and ISPF 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