Re: IBM VSAM Statistics are often Bogus

2005-07-14 Thread Ed Finnell
 
In a message dated 7/13/2005 8:35:44 P.M. Central Standard Time,  
[EMAIL PROTECTED] writes:

Unfortunately, we are!




I though M$ had the patent on this delivery  model...

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-14 Thread Ed Gould

On Jul 14, 2005, at 9:36 AM, Ed Finnell wrote:



In a message dated 7/13/2005 8:35:44 P.M. Central Standard Time,
[EMAIL PROTECTED] writes:

Unfortunately, we are!






I though M$ had the patent on this delivery  model...


Speaking about M$ did you see where they are attempting to get into the 
storage business? Talk about scary.


Ed

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-13 Thread Skip Robinson
Please forgive me if this is old news. OA11927 was PE'ed on 7/11 . This is
the guy that set out to 'restore' the bogus stats in LISTCAT so that
programs expecting numeric data would not blow up S0C7; the stats would be
marked invalid in some other field. Unfortunately, OA11927 somehow mixed up
the conditions at the 1.4 and 1.5 levels (1G0 and 1H0) and reported on
validity in the opposite way. Good is bad; bad is good. A philosophical and
ethical conundrum if ever there was one. The 1.6 (1J0) level is OK,
however.

.
.
.
JO.Skip Robinson
Southern California Edison Company
SHARE MVS Program Co-Manager
626-302-7535 Office
323-715-0595 Mobile
[EMAIL PROTECTED]

IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU wrote on 07/02/2005
09:59:57:

snip

 Anyhow, I only learned of OA11927 in this thread. Good decision. I
haven't
 seen the modified output but will install the fix ASAP. Sure hope I don't
 have to beat up on Serena again right after they finally fixed the
INVALID
 problem. ;-)


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-13 Thread Tim Hare
SO, Skip,   are you saying 1.6 is bad (good is bad, bad is good) or 1.6 
is good? But then, I just used bad when I meant bad but bad is good 
so did I mean good? 
I certainly meant well. grin

Tim Hare
Senior Systems Programmer
Florida Department of Transportation
(850) 414-4209

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-13 Thread Ed Finnell
 
In a message dated 7/13/2005 3:41:56 P.M. Central Standard Time,  
[EMAIL PROTECTED] writes:

the  conditions at the 1.4 and 1.5 levels (1G0 and 1H0) and reported on
validity  in the opposite way. Good is bad; bad is good. A philosophical and
ethical  conundrum if ever there was one. The 1.6 (1J0) level is  OK,
however.



Holy spaghetti Batman, who's testing these  things?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: FW: IBM VSAM Statistics are often Bogus

2005-07-12 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 07/08/2005
   at 10:37 PM, Joel C. Ewing [EMAIL PROTECTED] said:

LISTCAT stats have been around for at least several decades, maybe
since  the beginnings of OS/360. 

There was no AMS, LISTCAT or VSAM in OS/36 0. VSAM came in as an ICR
for OS/VS1 and OS/VS2 R1 (SVS).
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: FW: IBM VSAM Statistics are often Bogus

2005-07-11 Thread Ron and Jenny Hawkins
Joel,

 
 If those 20 minutes of stats show enough CI splits to justify a
 reorganize of the file, it doesn't matter that this only represents 20
 minutes of activity.  If the CI-split count is above your reorg
 threshold, it also doesn't matter if you lost 15 hours of CI-split
 counts because of a CICS crash, a reorg is still justified.  You may be
 late with a decision to reorganize, but better late than never.  With no
 stats at all, an automated process has no basis for choosing whether to
 reorganize or not, and arbitrarily choosing to reorganize could be a bad
 choice for a large, rarely-updated VSAM file - especially if doing an
 unnecessary  reorganize delays the availability of a critical online
 application.
 
 
I come from the Ron F. school of VSAM tuning... Highly likely that the high
split count in that last 20 minutes of batch has happened because the
dataset was reorged (by the restore). Refer to Ron's posts and books for
more info.

 LISTCAT stats have been around for at least several decades, maybe since
 the beginnings of OS/360.  Automated maintenance procedures and
 heuristic guidelines have been developed based on LISTCAT statistics and
 we have become dependent on them, because you build tools based on what
 is available, even if not perfect.  Without LISTCAT stats, we would have
 to expend resources to rethink and redesign a number of automated batch
 processes that have been working reasonable well up to now (z/OS 1.4).
 

I've used LISTCAT to tune VSAM CI and freespace, but I put the listcat in a
step before and after the updates step. It is really much easier to use type
64 SMF records.

 ...
 
 --
 Joel C. Ewing, Fort Smith, AR[EMAIL PROTECTED]
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-10 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED],
on 07/06/2005
   at 05:29 PM, Donald Pagdin [EMAIL PROTECTED] said:

So it is assembler that can bite the unwary yet diligent programmer.

That's the theory, but there seem to be more problems with buffer
overruns in C programs than with other languages, including assembler.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-10 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED],
on 07/06/2005
   at 10:32 AM, Farley, Peter x23353 [EMAIL PROTECTED] said:

I never even envisioned automated tools looking at VSAM stats.  My
ASSumption when reading Mark's posts was that he was referring to
individual programmers looking at individual VSAM file stats for
guidance.  My experience is obviously severely limited in this
regard, as in my varied positions over the years the usual case was
that all of the applications' datasets (including VSAM) were our (the
application programmers') responsibility to feed and care for, and we
never had thousands to contend with.

The application programmers had access to the production data sets?
There are security ramifications there.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-09 Thread Robert A. Rosenberg
At 06:49 -0500 on 07/07/2005, Chase, John wrote about Re: IBM VSAM 
Statistics are often Bogus:



Aren't they the same IBM lab that gave us IGDZILLA?


If there was a IMG prefix, they could do IMGOJIRA (I'm GOJIRA) - 
Gojira being the real name of the Japanese Monster called Godzilla in 
the US translations. In fact the Gojira/Godzilla issue was addressed 
in the US made Godzilla movie where the monster was originally called 
Gojira but was renamed by a TV Reporter mangling the name into 
Godzilla.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-09 Thread Robert A. Rosenberg
At 08:22 -0700 on 07/07/2005, Mark Thomen wrote about Re: IBM VSAM 
Statistics are often Bogus:



Robert A. Rosenberg [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...

  Since CEMT P SHUT I causes a CONTROLLED issuance of an Abnormal
  Termination, there is no reason why a request to flush the statistics

 BEFORE doing the Abnormal Termination can't be done.


Since once the ABEND is issued it's too late, it would be up to the
application (i.e. CICS) to flush the statistics by closing the files
before the ABEND is issued.


Which is what I was saying. CICS is running normally and the operator 
issues the  CEMT P SHUT I request/order. CICS accepts the request 
and can process it however it wants including flushing the stats 
BEFORE pulling the plug by doing the ABEND/Abnormal Termination. It 
is not as if the operator aborted CICS (Force Cancel/etc) instead of 
asking it to do the abort itself in an orderly manner.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-09 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED],
on 07/06/2005
   at 12:00 AM, Ted MacNEIL [EMAIL PROTECTED] said:

Open/Close processing is not cheap.
Also, if you have (partial-)release on close, you can easily create a
multi-(tiny)extent file in no time.

No. TCLOSE is not CLOSE. The data set remains open and there is no
release. 
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: FW: IBM VSAM Statistics are often Bogus

2005-07-08 Thread R.S.

So, we come into philosofical considerations.
After VSAM restore (bacause of job failure) we have reorganized cluster. 
Assumed logical backup/restore.
BTW: We say 'cluster', but the considerations are mostly for KSDS or 
vRRDS. There are no splits in ESDS, LDS, or RRDS.

Ab ovo: What stats are for just-restored cluster ?
I guess that original - from the time of backup.
Second guess - zeroized, like for just defined cluster.

BOTH statistics are incorrect, when we want to decide about 
reorganization. As Ron F. pointed recently, the numbers are important 
when we know WHEN the splits occured, what is split distribution, I/O 
trends etc.
BTW: The last one is possible to collect - it is enough to write down 
the statistics before after every close. I mena some historical file. 
Just additional step using CSI or something.


--
Radoslaw Skorupka
Lodz, Poland


Ron and Jenny Hawkins wrote:

Radoslaw,

As far as I recall it uses Export for Catalogs and REPRO for other VSAM.

Ron



Unless it was physical dump. It depends on backup technique and datamover.
BTW: is it REPRO or EXPORT ?



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-08 Thread Ed Gould

On Jul 8, 2005, at 2:42 AM, R.S. wrote:


So, we come into philosofical considerations.
After VSAM restore (bacause of job failure) we have reorganized 
cluster. Assumed logical backup/restore.
BTW: We say 'cluster', but the considerations are mostly for KSDS or 
vRRDS. There are no splits in ESDS, LDS, or RRDS.

Ab ovo: What stats are for just-restored cluster ?
I guess that original - from the time of backup.
Second guess - zeroized, like for just defined cluster.

BOTH statistics are incorrect, when we want to decide about 
reorganization. As Ron F. pointed recently, the numbers are important 
when we know WHEN the splits occured, what is split distribution, I/O 
trends etc.
BTW: The last one is possible to collect - it is enough to write down 
the statistics before after every close. I mena some historical file. 
Just additional step using CSI or something.


--
Radoslaw Skorupka
Lodz, Poland


Which brings up a question (at least in my mind).

Job is updating the vsam cluster. Job abends.
Job is checkpoint restarted.
job completes (with closes to the dataset in question)

Are the stats now correct?

Ed

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-08 Thread Martin Kline
Ed asked:

Which brings up a question (at least in my mind).

Job is updating the vsam cluster. Job abends.
Job is checkpoint restarted.
job completes (with closes to the dataset in question)

Are the stats now correct?

Since they are unreliable, it does not matter.


CONFIDENTIALITY NOTICE:  This electronic transmission (including any
accompanying attachments) is intended solely for its authorized
recipient(s), and may contain confidential and/or legally privileged
information.  If you are not an intended recipient, or responsible for
delivering some or all of this transmission to an intended recipient, be
aware that any review, copying, printing, distribution, use or disclosure of
the contents of this message is strictly prohibited.  If you have received
this electronic message in error, please contact us immediately by
electronic mail at [EMAIL PROTECTED] or notify us
immediately by telephone at 1-800-345-2021 or 816-531-5575 and destroy the
original and all copies of this transmission (including any attachments).
Thank you.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-08 Thread Bruce Black

Job is updating the vsam cluster. Job abends.
Job is checkpoint restarted.
job completes (with closes to the dataset in question)

Are the stats now correct? 



If by statistics, you mean those things listed under STATISTICS in a LISTCAT

STATISTICS 

  REC-TOTAL--6 SPLITS-CI--0 
EXCPS-10  
  REC-DELETED3 SPLITS-CA--0 
EXTENTS1  
  REC-INSERTED---7 FREESPACE-%CI--0 
SYSTEM-TIMESTAMP: 
  REC-UPDATED0 FREESPACE-%CA--0  
X'BC34491B1E5CB160'  
  REC-RETRIEVED-15 FREESPC---733184

the answer is probably no.  These numbers are updated at the time of a 
good CLOSE and the updates are lost on an ABEND CLOSE or system 
failure.  I don't believe that checkpoint saves the VSAM control blocks 
(AMDSB, I think) with this info.   


--
Bruce A. Black
Senior Software Developer for FDR
Innovation Data Processing 973-890-7300
personal: [EMAIL PROTECTED]
sales info: [EMAIL PROTECTED]
tech support: [EMAIL PROTECTED]
web: www.innovationdp.fdr.com

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-08 Thread Ed Gould

On Jul 8, 2005, at 4:04 PM, Bruce Black wrote:


Job is updating the vsam cluster. Job abends.
Job is checkpoint restarted.
job completes (with closes to the dataset in question)

Are the stats now correct?



If by statistics, you mean those things listed under STATISTICS in a 
LISTCAT


STATISTICS
  REC-TOTAL--6 SPLITS-CI--0 
EXCPS-10REC-DELETED3 
SPLITS-CA--0 EXTENTS1
REC-INSERTED---7 FREESPACE-%CI--0 
SYSTEM-TIMESTAMP:   REC-UPDATED0 
FREESPACE-%CA--0  X'BC34491B1E5CB160'
REC-RETRIEVED-15 FREESPC---733184
the answer is probably no.  These numbers are updated at the time of a 
good CLOSE and the updates are lost on an ABEND CLOSE or system 
failure.  I don't believe that checkpoint saves the VSAM control 
blocks (AMDSB, I think) with this info.

--



Bruce,

Hmmm...I would think yes as IBM keeps said that they reason they can't 
clean up properly is that the vsam control blocks are in key 8 (user 
storage). Checkpoint restart should (at least I think it should) put 
the control blocks back as the job needs to continue.


IBM, anyone?

Ed

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: FW: IBM VSAM Statistics are often Bogus

2005-07-08 Thread Joel C. Ewing

Ron and Jenny Hawkins wrote:

Tom, et al,

I was just thinking... CICS aside, when a job ABENDS while updating a KSDS
file, what is the most common thing that happens to allow the job to be
rerun? Delete and restore the KSDS, right? So what good are the accumulated
statistics at this point - valid or invalid? Well there worth zilcho,
because they were just deleted. Gone forever.


The ABENDing job steps can also use VSAM datasets READ only, in which 
case the stats will be inaccurate but no restore is needed.  Even in 
case of an updated file, it can depend on the application and nature of 
updates whether a restore is needed or not.


And the next day someone takes a LISTCAT of that file and makes some
decision based on those stats, assuming that it represents 24 hours of
activity, when it is really just the last 20 minutes of the batch run. Smart
move!


If those 20 minutes of stats show enough CI splits to justify a 
reorganize of the file, it doesn't matter that this only represents 20 
minutes of activity.  If the CI-split count is above your reorg 
threshold, it also doesn't matter if you lost 15 hours of CI-split 
counts because of a CICS crash, a reorg is still justified.  You may be 
late with a decision to reorganize, but better late than never.  With no 
stats at all, an automated process has no basis for choosing whether to 
reorganize or not, and arbitrarily choosing to reorganize could be a bad 
choice for a large, rarely-updated VSAM file - especially if doing an 
unnecessary  reorganize delays the availability of a critical online 
application.


I would rather we just got rid of all the stats from LISTCAT. We don't have
a listdb2, listdl1, listfastpath or listqsam, so why the religious fervour
around LISTC stats?



Ron



LISTCAT stats have been around for at least several decades, maybe since 
the beginnings of OS/360.  Automated maintenance procedures and 
heuristic guidelines have been developed based on LISTCAT statistics and 
we have become dependent on them, because you build tools based on what 
is available, even if not perfect.  Without LISTCAT stats, we would have 
to expend resources to rethink and redesign a number of automated batch 
processes that have been working reasonable well up to now (z/OS 1.4).


...

--
Joel C. Ewing, Fort Smith, AR[EMAIL PROTECTED]

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: FW: IBM VSAM Statistics are often Bogus

2005-07-07 Thread R.S.

Ron,
Please, correct me if I'm wrong.
Job fails, so cluster must be deleted and restored from backup. Am I 
right ?

So, IMHO restore also restores VSAM stats, doesn't it ?
I mean restore, not REPRO or IMPORT.

--
Radoslaw Skorupka
Lodz, Poland



Ron and Jenny Hawkins wrote:


Tom, et al,

I was just thinking... CICS aside, when a job ABENDS while updating a KSDS
file, what is the most common thing that happens to allow the job to be
rerun? Delete and restore the KSDS, right? So what good are the accumulated
statistics at this point - valid or invalid? Well there worth zilcho,
because they were just deleted. Gone forever.

And the next day someone takes a LISTCAT of that file and makes some
decision based on those stats, assuming that it represents 24 hours of
activity, when it is really just the last 20 minutes of the batch run. Smart
move!

I would rather we just got rid of all the stats from LISTCAT. We don't have
a listdb2, listdl1, listfastpath or listqsam, so why the religious fervour
around LISTC stats?

Ron


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Chase, John
 -Original Message-
 From: IBM Mainframe Discussion List On Behalf Of Edward E. Jaffe
 
 Mark Thomen wrote:
 
 That's what module IFG0TC0A (IFG-gotcha) does.
 
 I've always called it I-F-Gotcha! or just I've Gotcha!

And VSE VSAM gives us IKQVDU (IKQ Voodoo).

-jc-

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Chase, John
 -Original Message-
 From: IBM Mainframe Discussion List On Behalf Of Ted MacNEIL
 
 ...
 1) One can always do one's own interval accounting by opening 
 and closing the file periodically.
 ...
 
 I hope you are joking!

That would be somewhat like sending separate 18-wheelers to deliver
individual pencils.

-jc-

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: FW: IBM VSAM Statistics are often Bogus

2005-07-07 Thread R.S.

Ron and Jenny Hawkins wrote:


Radoslaw,

Now there's an interesting point. If I recall correctly a Logical Dataset
Restore uses IDCAMS REPRO under DFDSS, so what you get is a reorged KSDS
with stats that say it isn't.


Unless it was physical dump. It depends on backup technique and datamover.
BTW: is it REPRO or EXPORT ?

--
Radoslaw Skorupka
Lodz, Poland

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Chase, John
 -Original Message-
 From: IBM Mainframe Discussion List On Behalf Of Ron and Jenny Hawkins
 
 Tom, et al,
 
 I was just thinking... CICS aside, when a job ABENDS while 
 updating a KSDS file, what is the most common thing that 
 happens to allow the job to be rerun? Delete and restore the 
 KSDS, right? So what good are the accumulated statistics at 
 this point - valid or invalid? Well there worth zilcho, 
 because they were just deleted. Gone forever.
 
 And the next day someone takes a LISTCAT of that file and 
 makes some decision based on those stats, assuming that it 
 represents 24 hours of activity, when it is really just the 
 last 20 minutes of the batch run. Smart move!
 
 I would rather we just got rid of all the stats from LISTCAT. 
 We don't have a listdb2, listdl1, listfastpath or listqsam, 
 so why the religious fervour around LISTC stats?

Hysterical reasons.  :-)

With today's DASD being almost completely virtualized, it would seem that
the only relevant stats are space used (i.e., number of records,
HARBA/HURBA, and for KSDSes number of index levels and records).  For most
application-oriented intents and purposes, the other stats are little more
than tourist info.

-jc-

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread McKown, John
 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ed Gould
 Sent: Wednesday, July 06, 2005 9:47 PM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: IBM VSAM Statistics are often Bogus
 
 

snip

 
 Peter,
 
 Somewhere in the back of my paged out (permanently?) memory is there 
 used to be (or there is one currently) a utility that went 
 through the 
 catalog and looked for vsam datasets and listed any  that 
 according to 
 its recommendation ones that needed
   re-orging. My mind just can't remember the name. It may have built 
 idcams control cards as well.
 
 Can anyone come up with the name of the product?
 
 Ed

I don't know if it is what you're speaking of, but we have a CA product
called VSAMAID which does that.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Bruce Black



The programme prefix for dfpSMS is IGD.

Years ago, either the main module or an alias was IGDZILLA.

“I, God-Zilla”.


Still true.  Back when SMS was new, the lmod size was about 1M, making
it the largest module in LPA.  Today the size is about 2.3M, still the
largest module in LPA by a goodly factor.  We once had a presentation
slide with a title of SMS and a picture of you know who.

I don't know for sure but I suspect the name was a developer's in-joke
that was probably intended to be changed before it got released.

--
Bruce A. Black
Senior Software Developer for FDR
Innovation Data Processing 973-890-7300
personal: [EMAIL PROTECTED]
sales info: [EMAIL PROTECTED]
tech support: [EMAIL PROTECTED]
web: www.innovationdp.fdr.com

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Bruce Black
Somewhere in the back of my paged out (permanently?) memory is there 
used to be (or there is one currently) a utility that went through the 
catalog and looked for vsam datasets and listed any  that according to 
its recommendation ones that needed
 re-orging. My mind just can't remember the name. It may have built 
idcams control cards as well.


Can anyone come up with the name of the product? 


Ed, I don't know if this is what you were thinking of, but our product 
FDRREORG does exactly that for VSAM, IAM, and PDS datasets.  You provide 
the criteria and we select and reorg the datasets.  Doesn't use IDCAMS.


--
Bruce A. Black
Senior Software Developer for FDR
Innovation Data Processing 973-890-7300
personal: [EMAIL PROTECTED]
sales info: [EMAIL PROTECTED]
tech support: [EMAIL PROTECTED]
web: www.innovationdp.fdr.com

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Compton, John
... Macro-4 used to do one called VSAMTUNE, didn't they? (tho' it might've
been only for use on VSE...)

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of McKown, John
Sent: 07 July 2005 14:18
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: IBM VSAM Statistics are often Bogus

 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ed Gould
 Sent: Wednesday, July 06, 2005 9:47 PM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: IBM VSAM Statistics are often Bogus
 
 

snip

 
 Peter,
 
 Somewhere in the back of my paged out (permanently?) memory is there 
 used to be (or there is one currently) a utility that went 
 through the 
 catalog and looked for vsam datasets and listed any  that 
 according to 
 its recommendation ones that needed
   re-orging. My mind just can't remember the name. It may have built 
 idcams control cards as well.
 
 Can anyone come up with the name of the product?
 
 Ed

I don't know if it is what you're speaking of, but we have a CA product
called VSAMAID which does that.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Ray Mullins
Don't overtax yourself looking for it.  :-)

It's the company where Herr Schiradin works.  But, for a translation - Alte
- old - Leipziger - of the city of Leipzig.  (It's an insurance company,
located near Frankfurt.)

Later,
Ray

-- 
M. Ray Mullins 
Roseville, CA, USA 
http://www.catherdersoftware.com/
http://www.mrmullins.big-bear-city.ca.us/ 
http://www.the-bus-stops-here.org/ 

 

 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ted MacNEIL
 Sent: Tuesday 05 July 2005 17:00
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: IBM VSAM Statistics are often Bogus
 
 ...
 As for Alte-Leipziger I can say it's not issue for us.
 ...
 
 I couldn't find the meaning of that compound word.
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Mark Thomen
Robert A. Rosenberg [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 At 07:36 -0500 on 07/06/2005, Chase, John wrote about Re: IBM VSAM
 Statistics are often Bogus:

 The fact remains that CEMT P SHUT I causes an ABNORMAL termination of
CICS,
 as would the MVS CANCEL or FORCE command.  The fact also remains that on
a
 commanded ABNORMAL termination of (anything), VSAM cannot update the
dataset
 statistics because the issuer of the command has INTENTIONALLY prevented
it
 from doing so.

 Since CEMT P SHUT I causes a CONTROLLED issuance of an Abnormal
 Termination, there is no reason why a request to flush the statistics
 BEFORE doing the Abnormal Termination can't be done.

Since once the ABEND is issued it's too late, it would be up to the
application (i.e. CICS) to flush the statistics by closing the files
before the ABEND is issued.

However most people use immediate shutdown because they don't WANT to wait
for the files to get closed normally.  Their choice.


Thanks,
Mark Thomen
Catalog/IDCAMS/VSAM Development

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread McKown, John
 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ed Gould
 Sent: Thursday, July 07, 2005 11:36 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: IBM VSAM Statistics are often Bogus
 
 

snip

 Bruce,
 
 Not sure it was either... But getting back to the issue on incorrect 
 stats... does it use the stats in the catalog or does it 
 examine the 
 vsam dataset to make the recommendation?
 
 Ed

If he's talking about VSAMAID from CA, the manual states:

quote
Once installation has been completed, it is necessary to perform a
statistics collection run for the VSAM clusters in batch. Although this
process has been optimized to execute as quickly as possible, the
elapsed time depends on the number of clusters selected and how many
records each one contains. Each cluster is read in its entirety.
/quote

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Dave Juraschek
Tom said:
I commend Mark for taking the issue in hand and trying to implement a long
term solution, and for raising it to the level where it is discussed so
that the appropriate awareness is reached, but Mark doesn't need my
commendation for job satisfaction.

Say what you want about IBM but its people are still among the best
architects of software around.  This issue is convoluted at best.

Just, for the record, and knowing (now) that Mark has only been in this
arena a relatively short time, I do want to thank Mark for his open and
candid responses, and that he (at least) has tried to do something about
this long standing issue.

I really don't have an issue with IBM either.  It has just floored me to
find out that they have uncharacteristically left a problem - and a very
visual one at that - remain without resolution for such an extended period
of time.

Thanks.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Ed Gould

--SNIP---



If he's talking about VSAMAID from CA, the manual states:

quote
Once installation has been completed, it is necessary to perform a
statistics collection run for the VSAM clusters in batch. Although this
process has been optimized to execute as quickly as possible, the
elapsed time depends on the number of clusters selected and how many
records each one contains. Each cluster is read in its entirety.
/quote




John,

Thanks that is interesting.

Ed

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Arsenault, Randy
There is a product from Mainstar Software that we used many years ago
called VSAM Manager.

I checked their web site - www.mainstar.com and it is still listed with
the following description:

 
VSAM Manager analyzes logical record to CI relationships - checking for
potential efficiency problems, requested and achieved distributed
FREESPACE within CIs and CAs, and DASD space utilization of the data
set. It also provides information that identifies where record insertion
activity is occurring within the file - showing where CA splits have
been done - and how many are at each location. 


They had a sense of humour as well as every report carried a message at
the end something like:

THANK YOU FOR USING VSAM MANAGER. AS WE SAY IN THE BUSINESS, 'KEEP 'EM
SPLITTING'

-
Randy Arsenault
Enterprise Performance  Capacity Management
Hewlett-Packard (Canada) Co.
e-mail: [EMAIL PROTECTED]
--
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Martin Kline
I believe John suggested using CLOSE TYPE=T to get a user equivalent of
interval recording. This should update the catalog, and generate a type-64
SMF record with bit 4 of SMF64RIN set.  My question is whether multiple
such
type-64 records have to be manually accumulated.  In other words, if I
generate 20 such records for a single file, does each one include the
statistics
from the previous record in the before OPEN or in the Change section?


CONFIDENTIALITY NOTICE:  This electronic transmission (including any
accompanying attachments) is intended solely for its authorized
recipient(s), and may contain confidential and/or legally privileged
information.  If you are not an intended recipient, or responsible for
delivering some or all of this transmission to an intended recipient, be
aware that any review, copying, printing, distribution, use or disclosure of
the contents of this message is strictly prohibited.  If you have received
this electronic message in error, please contact us immediately by
electronic mail at [EMAIL PROTECTED] or notify us
immediately by telephone at 1-800-345-2021 or 816-531-5575 and destroy the
original and all copies of this transmission (including any attachments).
Thank you.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Tom Schmidt
On Thu, 7 Jul 2005 14:30:16 -0500, Martin Kline wrote:

I believe John suggested using CLOSE TYPE=T to get a user equivalent of
interval recording. This should update the catalog, and generate a type-64
SMF record with bit 4 of SMF64RIN set.  My question is whether multiple
such type-64 records have to be manually accumulated.  In other words, if I
generate 20 such records for a single file, does each one include the
statistics from the previous record in the before OPEN or in
the Change section?


In the case of CLOSE TYPE=T (TCLOSE) I believe you should see multiple type
64 records with only one type 62 (VSAM Open) SMF record, and that type 62
will be (naturally) created before any of the type 64s.  If that's true you
would discard any but the last type 64 records' data.

(Someone might want to verify that first though.)

You wouldn't want to be doing a large number of TCLOSEs per run... on the
order of 1's or maybe 10's but not 100's and certainly not 1000's.  You'll
be swatting a gnat with a nuclear device in short order with this
approach.  (These statistics just aren't that important.)

--
Tom Schmidt
Madison, WI

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Martin Kline
 You wouldn't want to be doing a large number of TCLOSEs per run... on
the order of 1's or maybe 10's but not 100's and certainly not 1000's.
You'll be swatting a gnat with a nuclear device in short order with
this approach.  (These statistics just aren't that important.)

I agree to doing a relative few TCLOSEs. 1 per 100,000 gets/puts is
probably sufficient.

Are the statistics ever important?

There's always an exception to the rule (except when there's not.)

Case in point - Batch job using 100 big VSAM files.  Code uses common
I/O module for all files. After executing for 16 hours, user declares
this is a problem. Problem has something to do with buffers and
numbers of sequential and random reads, inserts, deletes. The stats
for this problem are critical to fixing it. Unfortunately, they are
not recorded in the catalog, and are also missing from the type-64
records. Which file needs more buffers? Which files received updates
and now need to be restored before restarting the job? Which files
have the most activity? What kind of activity?

The current approach (without TCLOSE) will have to be to just
restore all files and rerun the job to let it complete. Only then
can someone examine the statistics.


CONFIDENTIALITY NOTICE:  This electronic transmission (including any
accompanying attachments) is intended solely for its authorized
recipient(s), and may contain confidential and/or legally privileged
information.  If you are not an intended recipient, or responsible for
delivering some or all of this transmission to an intended recipient, be
aware that any review, copying, printing, distribution, use or disclosure of
the contents of this message is strictly prohibited.  If you have received
this electronic message in error, please contact us immediately by
electronic mail at [EMAIL PROTECTED] or notify us
immediately by telephone at 1-800-345-2021 or 816-531-5575 and destroy the
original and all copies of this transmission (including any attachments).
Thank you.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Craddock, Chris
Geez is this thread ever going to die? It has not edged 
towards Jaffe's conjecture yet, so it might keep limping
along. Darren could kill it at any second (if we're lucky)

  I do want to thank Mark for his open and
 candid responses, and that he (at least) has tried to do 
 something about this long standing issue.

Mark's a stand-up dude and he's doing the best he can to
undo decades of neglect. We can all cut him some slack.
FWIW and IMO only, IBM could ditch the stats altogether and 
nobody would miss that function. There is just too much 
compelling evidence that their usage cases are even more 
wrong than the statistics themselves are. 

 I really don't have an issue with IBM either.  It has just 
 floored me to find out that they have uncharacteristically
 left a problem - and a very visual one at that - remain 
 without resolution for such an extended period of time.

My my my. If you only knew how many of such problems there
were... On second thought, lets not go there today.

:o)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: FW: IBM VSAM Statistics are often Bogus

2005-07-07 Thread Ron and Jenny Hawkins
Radoslaw,

As far as I recall it uses Export for Catalogs and REPRO for other VSAM.

Ron

 
 Unless it was physical dump. It depends on backup technique and datamover.
 BTW: is it REPRO or EXPORT ?
 
 --
 Radoslaw Skorupka
 Lodz, Poland
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Richards.Bob
Dave,

Your reply is wrong on so many levels that I don't know where to start. It is 
obvious to me that the topic of this thread *is not clear to you.* 

In the case of an ABEND or CICS close immediate situation, what information 
would you like Mark to write to the file? And where is this information 
supposed to come from?

Remember, we are only talking about VSAM statistics for datasets that were not 
closed *normally*. For normal closures, the statistics are just fine. 

To use your words, the lousy disclaimer has been known to me since I first 
learned about VSAM. Ron Ferguson has traveled around the world for a few 
decades now telling all who will listen these two major points:

1) Statistics garnered from listcats of open VSAM datasets are invalid
2) Statistics garnered from listcats of VSAM datasets that were not closed 
properly are also invalid

Your final comments about SMF and RMF are pure nonsense. Once again, to quote 
Ted, invalid data is invalid data!   

Bob 

 -Original Message-
From:   IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]  On Behalf Of 
Dave Juraschek
Sent:   Wednesday, July 06, 2005 4:32 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject:Re: IBM VSAM Statistics are often Bogus

I guess what really peeves me is not that the stats are invalid - although
that is certainly disturbing to say the least.
That is clear (to me now).

What really is unconscionable is Mark's admission that IBM has known this
for 30+ years and has not cared or bothered to fix it yet.  Mark's response
(whether he likes to admit is or not) and IBM's response seems to be shame
on you for using our bogus [for John] numbers, and never shame on us for
knowing about this for so long and just not giving a rip.  A lousy
disclaimer in one paragraph of one manual is hardly notification to end-
users who might need this kind of information that what IBM is providing
them is ... um, again ... bogus.  Not having fixed this in 30+ years
(according to Mark) is both arrogant and sloppy on IBM's part.

I wonder where the disclaimer paragraph is that I missed about SMF stats,
RMF stats, and ever other statistic IBM provides disclaiming it's validity
too.

-Dave

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html 
  
  
  
LEGAL DISCLAIMER 
The information transmitted is intended solely for the individual or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of or taking action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you have received this email in error please 
contact the sender and delete the material from any computer. 
  
Seeing Beyond Money is a service mark of SunTrust Banks, Inc. 
[ST:XCL] 
 
 
 
 
 
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Bill Fairchild
 
In a message dated 7/6/2005 5:22:42 A.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:
 
 In the case of an ABEND or CICS close immediate situation, what  
information would you like Mark to write to the file? And where is this  
information 
supposed to come from?

 
I think you are assuming there is only one way to fix this  problem.  E.g., 
in the case of SMF data the solution is called interval  accounting.  Every X 
minutes SMF records are written to reflect the  activity during the last X 
minutes.  The VSAM statistics in question could  be updated on intervals.  You 
will miss all the activity that occurs during  the last partial interval just 
before a system crash.  Application programs  or even access methods (e.g., at 
OPEN time) could be enhanced to add ABEND  recovery routines that invoke a new 
service which would add the last partial  interval's stats into the proper 
buckets.  This assumes the stats are kept  in storage that was not trashed as 
part of the error leading to the ABEND.   If the operator FORCEs the job or the 
system crashes, there is no hope.   But for most abnormal ends there are ways 
to fix the stats.  The  information comes from the same place where it comes 
from now in the case of  normal CLOSE.  The minimum we would need is a new 
service which the user  would invoke to update stats.
 
Bill Fairchild


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Farley, Peter x23353
I never even envisioned automated tools looking at VSAM stats.  My
ASSumption when reading Mark's posts was that he was referring to individual
programmers looking at individual VSAM file stats for guidance.  My
experience is obviously severely limited in this regard, as in my varied
positions over the years the usual case was that all of the applications'
datasets (including VSAM) were our (the application programmers')
responsibility to feed and care for, and we never had thousands to contend
with.

As for my ASSumption on criticality, the normal performance variations (once
a good initial design and shakeout was done) for an individual (set of)
application file(s) were never that critical unless severe volume increases
occurred.  A parochial point of view, I must freely admit.

I stand humbly corrected.  My vision is obviously way too narrow.

Peter

-Original Message-
From: Richards.Bob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 05, 2005 6:32 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: IBM VSAM Statistics are often Bogus

Snipped

Your paragraph:

 Just because they are not written when something BAD happens is NOT a
reason to see them as invalid or useless.  Like anything else in this
business (or life, for that matter), you need to know what you are talking
about when you use statistics to justify a decision.

If these statistics were being inspected one-by-one, I might concede that
last half of the second sentence. In my experience though, decisions of this
sort are being made in an automated fashion without consideration for
knowing what you are talking about. They are being made under *the
assumption that the statistics are accurate*, a point that has clearly been
demonstrated as wrong!

Urgent or critical? Without empirical evidence to the contrary, how can *you
assume* that it is neither/nor?  

I raise your two cents and make it my $.04 cents. grin

Bob 

_
This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Farley, Peter x23353
See my earlier reply to Mr. Richards for the ASSumptions behind that
statement.

Peter

-Original Message-
From: Ted MacNEIL [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 05, 2005 6:14 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: IBM VSAM Statistics are often Bogus

...
Just because they are not written when something BAD happens is NOT a reason
to see them as invalid or useless.
...

I don't get it!
Invalid data is invalid data!

We make enough bad decisions with valid data.

How can you say that with a straight face?

_
This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Mark Thomen
Dave Juraschek [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
  ... CICS close immediate situation

 This really is a red herring.

 The CICS CEMT PERFORM SHUT IMMEDIATE is completely IBM code.  This is an
 example of where this is absolutely not a user/application/customer
problem.

 If it is violating some IBM VSAM file rule, it's still an IBM problem and
 one would think that the IBM VSAM folks would have asked the IBM CICS
folks
 to play by their restrictive rules years and years and years ago -
 especially, if this is a primary cause of the statistics corruption as
Mark
 claims.

CICS distributes a program that can be tailored by the installation to
determine whether an application is waiting for an I/O to complete, or just
sitting idle.  CICS does not attempt to terminate a transaction that is
performing I/O and uses a wait timer (I believe also specified by the
installation) on how long to wait before deciding to terminate the
transaction on an immediate shutdown.

The solution is there for the customer - they just have to make use of it.
Almost nobody has.  It's called options...

Thanks,
Mark Thomen
Catalog/IDCAMS/VSAM Development
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Tom Schmidt
On Wed, 6 Jul 2005 06:57:38 EDT, Bill Fairchild wrote:

In a message dated 7/6/2005 5:22:42 A.M. Central Daylight Time,
Bob Richards writes:

 In the case of an ABEND or CICS close immediate situation, what
information would you like Mark to write to the file? And where is this
information supposed to come from?

I think you are assuming there is only one way to fix this  problem.
E.g., in the case of SMF data the solution is called interval
accounting.  Every X minutes SMF records are written to reflect the
activity during the last X minutes.  The VSAM statistics in question
could  be updated on intervals.  You will miss all the activity that
occurs during  the last partial interval just before a system crash.
Application programs  or even access methods (e.g., at OPEN time) could be
enhanced to add ABEND  recovery routines that invoke a new
service which would add the last partial  interval's stats into the proper
buckets.  This assumes the stats are kept in storage that was not trashed
as part of the error leading to the ABEND.   If the operator FORCEs the
job or the system crashes, there is no hope.   But for most abnormal ends
there are ways to fix the stats.  The  information comes from the same
place where it comes from now in the case of  normal CLOSE.  The minimum
we would need is a new service which the user  would invoke to update
stats.

Bill Fairchild

There is a more fundamental issue here: VSAM keeps its statistics records
in KEY 8 storage in the address space's private area, since it normally
runs as an extension to the application program code.  Those statistics
records can, and often are in the case of a storage overlay, subject to
corruption and/or destruction because of that inherent lack of protection.

VSAM (and other access methods perhaps) needs to have a protected area for
such apparently customer-important data as statistics.  Anything less is a
band-aid.

VSAM could move the statistics to a data space, either owned by the
application address space or perhaps owned by the system (somewhere).  But
it would probably still end up being a KEY 8 data space since it is still
an extension of the application program code... so it would be 'security by
obscurity' and not iron-clad.  That should still offer a marked improvement
over the private area.  But it would also introduce performance concerns in
the middle of an obvious performance path.  Sticky detail.

The problem with using interval accounting to try to anticipate the ABENDs
is that storage overlays do not always (or even often) inflict the fatal
damage on the first strike.  The statistics records could, possibly, be the
first storage to be overlaid (or worse, partially overlaid) and the result
would be difficult to see... certainly difficult for poorly written LISTCAT
automation to see.  Again, this introduces a (smaller? maybe not)
performance concern by pushing out excess SMF records in the middle of the
I/O (performance) path.

A problem with having the access method inflict its own recovery during
ABENDs would be the new conflict(s) that would result, for example which
percolates to which and how could the access method get control first ...
should the access method REALLY get control first?  LE would probably
vote 'no' and other products (or applications) might vote similarly... then
what?  Even if VSAM's shiny new recovery intercept got control at the ABEND
who is to say that its statistics data wasn't already overlaid?  Too late.

As for why it took IBM so long to address the issue... I personally don't
blame IBM for taking so long, since the statistics were always (as far as I
know) documented to be an indicator and there was (as is obvious by this
thread) a huge misunderstanding in the customer (and vendor) community over
the scope and impact of the problem, if any.  There was documentation
warning against use of LISTCAT as a programming interface that goes back to
(at least) 1981 ... caveat emptor.

I commend Mark for taking the issue in hand and trying to implement a long
term solution, and for raising it to the level where it is discussed so
that the appropriate awareness is reached, but Mark doesn't need my
commendation for job satisfaction.

Say what you want about IBM but its people are still among the best
architects of software around.  This issue is convoluted at best.

--
Tom Schmidt
Madison, WI

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Ed Finnell
 
In a message dated 7/6/2005 10:26:57 A.M. Central Standard Time,  
[EMAIL PROTECTED] writes:

invalid  data?  If your checking statement said you had $3,127.47 but next
to  it in parentheses it said (but this amount is invalid), would you go
out  and try to spend the money?  No, I think you'd be kinda cautious so  you
didn't get arrested for fraud.  I wonder how businesses can make  decisions
on the same invalid data.




We had a competitor who had a customer withdraw his mistakenly
debited $3M. His claim was that he had prayed for riches and
his prayers were answered. The glee was that the competitor had
to explain under oath that it was human error totally and that
their recon system needed a little work. No jail time for the
fervent, but the competitor got scheduled visits from the Fed.
 
Guess another consideration is that the stats have been bogus  for
so long many, many application delete and redefine nightly adding
cycles to an already tight window. No way for 24/7. Runs  customers
off in droves. Can you say tanked revenue?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread McKown, John
You want good stats to base things such as REORGs on? Go to DB2. And
pay for it. 

Only in FOSS will you get something for free (either Libre or Gratis).
And, in FOSS, if you don't like it, you can fix it yourself. If you
don't have the talent to fix it yourself, then either: (1) nicely ask
the maintainer to fix it; (2) pay somebody to fix it; (3) learn how
to fix it yourself; (4) learn to live with it.

With z/OS, you don't have option (3). And options (1) and (2) are
similar in that IBM must do any fixing. Option (4) is always
available. I tried to refrain from mentioning that option (4) is the
Windows way.grin


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Thomas Conley
- Original Message - 
From: Mark Thomen [EMAIL PROTECTED]

Newsgroups: bit.listserv.ibm-main
Sent: Wednesday, July 06, 2005 11:26 AM
Subject: Re: IBM VSAM Statistics are often Bogus




Had I worked in VSAM for 30+ years I'd have made this change a long time
ago and this issue would never have been so contentious.  But I've only
been working directly in VSAM for a couple of years now so I apologize for
not publicizing this sooner.  And as several users have pointed out,
invalid data is invalid data - and how can you make business decisions on
invalid data?  If your checking statement said you had $3,127.47 but next
to it in parentheses it said (but this amount is invalid), would you go
out and try to spend the money?  No, I think you'd be kinda cautious so 
you

didn't get arrested for fraud.  I wonder how businesses can make decisions
on the same invalid data.

We do have plans to correct the problem, but it's dependent on resources,
and time.



Mark,

The only beef I had with this whole thing is that IBM did not protect the 
customer investment with the first fix.  I know you hate the compromise fix, 
but it was the right thing to do.  Ensuring that customer code runs 
uninterrupted wherever possible should be one of the highest development 
priorities.  The new fix allows application code to run unchanged (although 
REXX will probably still fail because the '*' is abutted to the end of the 
number), while giving the new information that the data is potentially 
invalid.


Regards,
Tom Conley 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Bill Fairchild
 
In a message dated 7/6/2005 12:56:40 P.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:

It  doesn't take a weatherman to know
which the wind is  blowing.

...which WAY the wind is blowing.  (Unless you were  trying to imply
no 'way' in your original  sentence?)



If we are going to quibble over the lyrics, let's go to the Principles of  
Operation itself:
You  don’t need a weather man
To  know which way the wind blows [Bob Dylan:  1965;  “Subterranean Homesick 
Blues”]
 
Bill Fairchild

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Mark Thomen
[EMAIL PROTECTED] wrote in message
news:OFD38D43EF.26E4669D-ON85257036.005F128B-85257036.005
[EMAIL PROTECTED]...
 Ok, I'll be the whipping boy.

 Why can't the Operating System be Enhanced to intercept the Abend and
 close the files.

That's what module IFG0TC0A (IFG-gotcha) does.It is an exit invoked
by task termination to process open files.  However, there are problems
closing files as I mentioned before.

Most of the VSAM control blocks are in user key.  If these have been
overlaid or incorrectly modified, writing this data to the catalog may
BREAK THE DATA SET.  The effects of breaking the data set are much worse
than throwing away the data and verifying the data set on the next open.
No one wants an online application to have to recover a major data set and
be down for hours because it was broken closing it during an ABEND because
data was overlaid.

 Close any input file and/or VSAM file.  There is already alot of
processing
 that occurs after
 the abend by building the dump thru Abend-Aid and other debuggers.  We
 already have CICS
 with DTB feature that will backout changes and adds back to the last
 SYNCPOINT.  DB2 can
 backout changes and adds back to the last COMMIT.  So why can't Z/OS be
 changed to make sure that
 VSAM files are closed during Abend process ??

Because the only code at the moment is during task termination.  As I
mentioned before, the access methods do NOT have recovery routines because
of the overhead and performance implications.  Not that we're not trying to
solve that problem, but it's going to take quite a while to do it.
Movement of the control blocks into protected storage is a goal also, but
given the number of users/vendors/applications that try to touch these
blocks (and sometimes change them) means there are a lot of issues with
doing this.  Not that we're not going to do it, but existing references by
programs will have to be changed.

So when CICS and/or DB2 recovery routines get entered, they can do backout,
etc.  However control has been yanked away from the access method until
task termination processing, WAY after the application recovery routines
have been deleted.

Thanks,
Mark Thomen
Catalog/IDCAMS/VSAM Development
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Bill Fairchild
 
In a message dated 7/6/2005 2:51:54 P.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:

Most of  the VSAM control blocks are in user key.  If these have been
overlaid  or incorrectly modified, writing this data to the catalog may
BREAK THE  DATA SET.  The effects of breaking the data set are much worse
than  throwing away the data and verifying the data set on the next open.
No  one wants an online application to have to recover a major data set and
be  down for hours because it was broken closing it during an ABEND  because
data was overlaid.



A Devil's Advocate might be tempted to say just because you don't ABEND  does 
not mean that a user did not overlay or incorrectly modify VSAM control  
blocks that are in user key.  How can you ever trust the stats?
 
Bill Fairchild

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Ted MacNEIL
...
1) One can always do one's own interval accounting by opening and closing 
the file periodically.
...

I hope you are joking!


-teD

In God we Trust!
All others bring data!
  --Deming

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread McKown, John
 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ted MacNEIL
 Sent: Tuesday, July 05, 2005 7:00 PM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: IBM VSAM Statistics are often Bogus
 
 
 ...
 1) One can always do one's own interval accounting by opening 
 and closing 
 the file periodically.
 ...
 
 I hope you are joking!
 
 
 -teD
 

Why? I've been known to do CLOSE TYPE=T on sequential datasets after
processing n records. Of course, IIRC, it was a specialized
application. Lost is the mists of pre-history, now.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread john gilmore

Bill Fairchild writes:

A Devil's Advocate might be tempted to say just because you don't ABEND  
does not mean that
a user did not overlay or incorrectly modify VSAM control blocks that are 
in user key.  How can

you ever trust the stats?


and there is of course a sense in which his argument is unanswerable; but it 
is finally irrelevant because too fertile (and sophomoric): It can be used 
to argue that no result of any program's execution can be trusted.


I have already made it clear that the tone of many of the posts in this 
thread is offensive.  Much of it is also silly.  He who uses a report format 
as a programming interface may think himself clever, but he has no basis for 
complaint when t changes.


John Gilmore
Ashland, MA 01721
USA

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Donald Pagdin
A Devil's Advocate might be tempted to say just because you don't ABEND  does
not mean that a user did not overlay or incorrectly modify VSAM control
blocks that are in user key.  How can you ever trust the stats?
Bill Fairchild

Note:
CICS, recovering an application abend (via DTB) does not have to Close a VSAM 
file, since the in-flight work is backed out, and the CIs that are frozen 
(enqueued) are released at sync-point rollback. This lets other transactions 
continue against that VSAM file. Closing during/after DTB is irrelevant. DB2 
and IMS are careful users of VSAM also.

Another thread on this list is discussing destructive moves, etc.  Why 
mention it?
The point is this. In higher level languages one has to be particularly lax as 
a programmer to cause VSAM control block overlays and destructive (when 
unintended) moves.

So it is assembler that can bite the unwary yet diligent programmer. But if you 
are coding assembler in the first place, it is because you need some function 
that should be denied to Joe programmer. This language imposes a stiffer 
testing methodology and (dare I say) greater knowledge about how things work on 
the developer.

TRUST is inherent in a (debuged) language and (debuged) OS, since the hardware 
will do exactly what it is told... no more, no less.
What user? We're talking programmer.
What programmer? Using his native language?
Perhaps there should be a TRUST quotient assigned to each program based on 
the author's skill and care and test time, divided by the language complexity 
and factored by its size and host of the program (CICS, batch, Websphere, etc).

If you want VSAM to make the stats trustworthy, write trustworthy programs. At 
least acknowledge the probability of a failure and plan for it.

(I'll not debate the imagined solution of user-written ESTAEx and the problems 
of having an FFR, VSAM under SRB, VSAM in a Plex under RRS in the CCF, 
distributed LUWs, etc)



--

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Ted MacNEIL
...
Who said IBM doesn't have a sense of humor?   Thanks,Mark, that gave me 
the giggles.
...

I verified this one years ago.
I don't know if it's still true.

The programme prefix for dfpSMS is IGD.

Years ago, either the main module or an alias was IGDZILLA.

“I, God-Zilla”.

(8-{]}


-teD

In God we Trust!
All others bring data!
  --Deming

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Ted MacNEIL
...
Why? I've been known to do CLOSE TYPE=T on sequential datasets after
processing n records. Of course, IIRC, it was a specialized
application. Lost is the mists of pre-history, now.
...

Open/Close processing is not cheap.
Also, if you have (partial-)release on close, you can easily create a 
multi-(tiny)extent file in no time.


-teD

In God we Trust!
All others bring data!
  --Deming

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Schiradin,Roland HG-Dir itb-db/dc
Will this thread never end? Mark Thomen explained now several times the why and 
the current state of this issue. Please raise requirements if you relay on 
those statistics and explain the business case
and also how did you handle this the last nn years in the past. I believe a lot 
of customers 
will not vote for such a requirement because of the possible performance issue. 

As for Alte-Leipziger I can say it's not issue for us.

Roland

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Ted MacNEIL
...
As for Alte-Leipziger I can say it's not issue for us.
...

I couldn't find the meaning of that compound word.

-teD

In God we Trust!
All others bring data!
  --Deming

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Bill Fairchild
 
In a message dated 7/6/2005 4:24:41 P.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:

A  Devil's Advocate might be tempted to say just because you don't ABEND   
does not mean that
a user did not overlay or incorrectly modify  VSAM control blocks that are 
in user key.  How can
you  ever trust the stats?

and there is of course a sense in which his  argument is unanswerable; but it 
is finally irrelevant because too fertile  (and sophomoric): It can be used 
to argue that no result of any program's  execution can be trusted.



My point was that it does not seem to me to be any more likely that the  
stats have been hosed if all we know is that an ABEND has occurred.  If you  
want 
to determine the likelihood that the stats have been hosed, you should  
examine the stats for reasonableness, whether ABENDing or NORMENDing.
 
Bill Fairchild

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Richards.Bob
Peter,

Well, as long as we are bearing our sins, I must humbly admit that I have coded 
REXX to process the entire catalog structure based on LISTCAT output (then 
changed to CSI output) and then taken actions. The shame of it all. I have Ron 
F. to thank for showing me the error of my ways of trusting stats on open 
and/or corrupted files and leading me back to the path of right-stat-ness. 
grin

My problem is not having a narrow vision. Mine is having visions that are often 
too grand! :)

The penance for both of us is to write Invalid data is invalid data ten 
thousand times. Under ISPF EDIT, it should take us roughly ten seconds. vbg 

Bob 

 -Original Message-
From:   IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]  On Behalf Of 
Farley, Peter x23353
Sent:   Wednesday, July 06, 2005 10:32 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject:Re: IBM VSAM Statistics are often Bogus

I never even envisioned automated tools looking at VSAM stats.  My
ASSumption when reading Mark's posts was that he was referring to individual
programmers looking at individual VSAM file stats for guidance.  My
experience is obviously severely limited in this regard, as in my varied
positions over the years the usual case was that all of the applications'
datasets (including VSAM) were our (the application programmers')
responsibility to feed and care for, and we never had thousands to contend
with.

As for my ASSumption on criticality, the normal performance variations (once
a good initial design and shakeout was done) for an individual (set of)
application file(s) were never that critical unless severe volume increases
occurred.  A parochial point of view, I must freely admit.

I stand humbly corrected.  My vision is obviously way too narrow. 
  
  
  
LEGAL DISCLAIMER 
The information transmitted is intended solely for the individual or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of or taking action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you have received this email in error please 
contact the sender and delete the material from any computer. 
  
Seeing Beyond Money is a service mark of SunTrust Banks, Inc. 
[ST:XCL] 
 
 
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Ed Gould

On Jul 5, 2005, at 7:00 PM, Ted MacNEIL wrote:


...
1) One can always do one's own interval accounting by opening and 
closing

the file periodically.
...

I hope you are joking!



Ted,

Along similar lines we had a programmer close and open a vsam dataset 
after each search. I agree with you.


Ed

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


FW: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Ron and Jenny Hawkins
Tom, et al,

I was just thinking... CICS aside, when a job ABENDS while updating a KSDS
file, what is the most common thing that happens to allow the job to be
rerun? Delete and restore the KSDS, right? So what good are the accumulated
statistics at this point - valid or invalid? Well there worth zilcho,
because they were just deleted. Gone forever.

And the next day someone takes a LISTCAT of that file and makes some
decision based on those stats, assuming that it represents 24 hours of
activity, when it is really just the last 20 minutes of the batch run. Smart
move!

I would rather we just got rid of all the stats from LISTCAT. We don't have
a listdb2, listdl1, listfastpath or listqsam, so why the religious fervour
around LISTC stats?

Ron

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
 Behalf Of Tom Savor
 Sent: Thursday, 7 July 2005 1:28 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: IBM VSAM Statistics are often Bogus
 
 Ok, I'll be the whipping boy.
 
 Why can't the Operating System be Enhanced to intercept the Abend and
 close the files.
 Close any input file and/or VSAM file.  There is already alot of
 processing
 that occurs after
 the abend by building the dump thru Abend-Aid and other debuggers.  We
 already have CICS
 with DTB feature that will backout changes and adds back to the last
 SYNCPOINT.  DB2 can
 backout changes and adds back to the last COMMIT.  So why can't Z/OS be
 changed to make sure that
 VSAM files are closed during Abend process ??  I'm probably wrong, but
 this
 sounds much
 easier to do, than what CICS and DB2 does.
 
 
 Tom Savor
 Certegy Card Services
 11720 Amber Park Drive, Suite 500
 Alpharetta, GA  30004
 
 Phone: 678-867-8431
 cell:  404-660-6898
 E-Mail: [EMAIL PROTECTED]
 /\/\_00_/\/\

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Ed Finnell
 
In a message dated 7/6/2005 6:52:42 P.M. Central Standard Time,  
[EMAIL PROTECTED] writes:

The  penance for both of us is to write Invalid data is invalid data ten 
thousand  times. Under ISPF EDIT, it should take us roughly ten seconds. vbg  



R10 Invalid data is invalid data
rr
rr
 
3.7 secs.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Richards.Bob
Ed, 

You must be a typist. It took me 7 of the 10 to type the words!

Bob 

 -Original Message-
From:   IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]  On Behalf Of 
Ed Finnell
Sent:   Wednesday, July 06, 2005 10:36 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject:Re: IBM VSAM Statistics are often Bogus

 
In a message dated 7/6/2005 6:52:42 P.M. Central Standard Time,  
[EMAIL PROTECTED] writes:

The  penance for both of us is to write Invalid data is invalid data ten 
thousand  times. Under ISPF EDIT, it should take us roughly ten seconds. vbg  



R10 Invalid data is invalid data
rr
rr
 
3.7 secs. 
  
  
  
LEGAL DISCLAIMER 
The information transmitted is intended solely for the individual or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of or taking action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you have received this email in error please 
contact the sender and delete the material from any computer. 
  
Seeing Beyond Money is a service mark of SunTrust Banks, Inc. 
[ST:XCL] 
 
 
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Ed Gould

On Jul 6, 2005, at 9:32 AM, Farley, Peter x23353 wrote:


I never even envisioned automated tools looking at VSAM stats.  My
ASSumption when reading Mark's posts was that he was referring to 
individual

programmers looking at individual VSAM file stats for guidance.  My
experience is obviously severely limited in this regard, as in my 
varied
positions over the years the usual case was that all of the 
applications'

datasets (including VSAM) were our (the application programmers')
responsibility to feed and care for, and we never had thousands to 
contend

with.

As for my ASSumption on criticality, the normal performance variations 
(once

a good initial design and shakeout was done) for an individual (set of)
application file(s) were never that critical unless severe volume 
increases

occurred.  A parochial point of view, I must freely admit.

I stand humbly corrected.  My vision is obviously way too narrow.

Peter
-SNIP_



Peter,

Somewhere in the back of my paged out (permanently?) memory is there 
used to be (or there is one currently) a utility that went through the 
catalog and looked for vsam datasets and listed any  that according to 
its recommendation ones that needed
 re-orging. My mind just can't remember the name. It may have built 
idcams control cards as well.


Can anyone come up with the name of the product?

Ed

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Ed Finnell
 
In a message dated 7/6/2005 9:43:31 P.M. Central Standard Time,  
[EMAIL PROTECTED] writes:

You must  be a typist. It took me 7 of the 10 to type the  words!




I'm decent, but was able to just cut and paste! Then I went and
did a review of the Oracle Grid. Hmmm, wonder how in the world they
stay up forever with no abends and no catalogs???  Hmmm.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM statistics are often bogus

2005-07-06 Thread Richards.Bob
John,

I'll take your word on the automation coding time. For now, I off to search the 
Internet for the meaning of boustrophedon. grin

Bob 

 -Original Message-
From:   IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]  On Behalf Of 
john gilmore
Sent:   Wednesday, July 06, 2005 10:47 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject:Re: IBM VSAM statistics are often bogus

  The  penance for both of us is to write Invalid data is invalid data 
ten  thousand  times. Under ISPF EDIT, it should take us roughly ten 
seconds. vbg

A more exiguous penalty is clearly called for.

My preference would be to require you format it in boustrophedon 
parametrically in full n-character lines, n = 131, which it would take you 
rather longer to automate.

John Gilmore
Ashland, MA 01721
USA 
  
  
  
LEGAL DISCLAIMER 
The information transmitted is intended solely for the individual or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of or taking action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you have received this email in error please 
contact the sender and delete the material from any computer. 
  
Seeing Beyond Money is a service mark of SunTrust Banks, Inc. 
[ST:XCL] 
 
 
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM statistics are often bogus

2005-07-06 Thread Ed Finnell
 
In a message dated 7/6/2005 9:54:54 P.M. Central Standard Time,  
[EMAIL PROTECTED] writes:

boustrophedon


'Hot air balloon'

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM statistics are often bogus

2005-07-06 Thread Richards.Bob
Not quite!

It is a writing style compare to an ox plowing a field where 
  .noitcerid etisoppo eht ni seog dna snrut ylerem eh

  

Bob 

 -Original Message-
From:   IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]  On Behalf Of 
Ed Finnell
Sent:   Wednesday, July 06, 2005 10:57 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject:Re: IBM VSAM statistics are often bogus

 
In a message dated 7/6/2005 9:54:54 P.M. Central Standard Time,  
[EMAIL PROTECTED] writes:

boustrophedon


'Hot air balloon'

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html 
  
  
  
LEGAL DISCLAIMER 
The information transmitted is intended solely for the individual or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of or taking action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you have received this email in error please 
contact the sender and delete the material from any computer. 
  
Seeing Beyond Money is a service mark of SunTrust Banks, Inc. 
[ST:XCL] 
 
 
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Ed Gould

On Jul 6, 2005, at 9:48 PM, Ed Finnell wrote:


--SNIP-



I'm decent, but was able to just cut and paste! Then I went and
did a review of the Oracle Grid. Hmmm, wonder how in the world they
stay up forever with no abends and no catalogs???  Hmmm.




Well, I am not a ORACLE fan but at least their catalog stats are 
probably correct.


Ed

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-06 Thread Robert A. Rosenberg
At 07:36 -0500 on 07/06/2005, Chase, John wrote about Re: IBM VSAM 
Statistics are often Bogus:



The fact remains that CEMT P SHUT I causes an ABNORMAL termination of CICS,
as would the MVS CANCEL or FORCE command.  The fact also remains that on a
commanded ABNORMAL termination of (anything), VSAM cannot update the dataset
statistics because the issuer of the command has INTENTIONALLY prevented it
from doing so.


Since CEMT P SHUT I causes a CONTROLLED issuance of an Abnormal 
Termination, there is no reason why a request to flush the statistics 
BEFORE doing the Abnormal Termination can't be done.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-05 Thread Mark Thomen
Joel C. Ewing [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 I strongly disagree on the desirability of suppressing VSAM statistics
 in these cases.  It would be much better to display them while
 indicating that they are incomplete.

 The delta in the LISTCAT VSAM statistics correctly reflects the activity
 to the VSAM data set between two points in time, as long as you compare
   between two points where the VSAM file is closed and also know there
 are no intervening OPENs without a valid CLOSE.  This is extremely
 useful as an activity measurement tool, even if the absolute values are
 missing counts from earlier accesses.

Most people don't do this.  They look at the stats and make decisions.
They don't look at the delta before and after using the data set.

As I said earlier, the biggest place where we see the problem are people
that do immediate shutdowns of CICS.  You load a file with 100K records on
Sunday night, and by Saturday night you've done 150K adds, 379K updates,
and 75K deletions.  Then you do an immediate shutdown and guess what you
get?  Stats that show 100K records in the file, no updates, no deletes, no
splits, no nothing.


 I would hate to see one program ABEND make it impossible to get any
 statistics from all VSAM datasets used by the program until those
 datasets have been reorganized by unload/reload, as in some cases it may
 not be practical to reorganize the files for weeks or months.

Sorry, but the stats don't get updated on an ABEND.


 This also suggests that calling the statistics INVALID may be too
 strong a pejorative, as all the counts reflect actual activity to the
 file -  it's just that they do not represent ALL the activity to the
file.

I'm afraid I don't understand how this doesn't make the results invalid.
If your gas gauge says 1/4 tank as your engine coughs and halts, wouldn't
you consider your gas gauge registering invalid?

Thanks,
Mark Thomen
Catalog/IDCAMS/VSAM Development
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-05 Thread Ted MacNEIL
...
 This also suggests that calling the statistics INVALID may be too
 strong a pejorative, as all the counts reflect actual activity to the
 file -  it's just that they do not represent ALL the activity to the
file.

I'm afraid I don't understand how this doesn't make the results invalid.
If your gas gauge says 1/4 tank as your engine coughs and halts, wouldn't
you consider your gas gauge registering invalid?
...

Hear! Hear!

Incomplete. Invalid. Meaningless.
Semantics.

The bottom line: the stats cannot help you!

Everything else is noise.


-teD

In God we Trust!
All others bring data!
  --Deming

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-05 Thread Farley, Peter x23353
PMFJI here, but I cannot hold my (virtual) tongue any longer.

ALL of what is being argued about here ASSuMEs that somthing BAD has
happened.  Either an ABEND or a CICS IMMediate shutdown or some other
ABNORMAL event.

ISTM that for the vast majority of programmers who might use those VSAM
statistics, there are LONG stretches of time where their VSAM files are JUST
FINE, with no abends or other bad events to disturb the statistics.

In those cases, the stats are just what they say they are, and can
reasonably be used to make decisions (like when to reorganize or review
performance, etc.).

Just because they are not written when something BAD happens is NOT a reason
to see them as invalid or useless.  Like anything else in this business (or
life, for that matter), you need to know what you are talking about when you
use statistics to justify a decision.

Mark, I think your view might be warped by only getting involved from the
IBM side when something BAD has already happened to the hapless user.

Lighten up guys.  It's not that urgent or critical, really.  It's only
stats, after all.

Just my USD$0.02 worth.

Peter

-Original Message-
From: Mark Thomen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 05, 2005 5:41 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: IBM VSAM Statistics are often Bogus


Joel C. Ewing [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 I strongly disagree on the desirability of suppressing VSAM statistics
 in these cases.  It would be much better to display them while
 indicating that they are incomplete.

 The delta in the LISTCAT VSAM statistics correctly reflects the activity
 to the VSAM data set between two points in time, as long as you compare
   between two points where the VSAM file is closed and also know there
 are no intervening OPENs without a valid CLOSE.  This is extremely
 useful as an activity measurement tool, even if the absolute values are
 missing counts from earlier accesses.

Most people don't do this.  They look at the stats and make decisions.
They don't look at the delta before and after using the data set.

As I said earlier, the biggest place where we see the problem are people
that do immediate shutdowns of CICS.  You load a file with 100K records on
Sunday night, and by Saturday night you've done 150K adds, 379K updates,
and 75K deletions.  Then you do an immediate shutdown and guess what you
get?  Stats that show 100K records in the file, no updates, no deletes, no
splits, no nothing.


 I would hate to see one program ABEND make it impossible to get any
 statistics from all VSAM datasets used by the program until those
 datasets have been reorganized by unload/reload, as in some cases it may
 not be practical to reorganize the files for weeks or months.

Sorry, but the stats don't get updated on an ABEND.


 This also suggests that calling the statistics INVALID may be too
 strong a pejorative, as all the counts reflect actual activity to the
 file -  it's just that they do not represent ALL the activity to the
file.

I'm afraid I don't understand how this doesn't make the results invalid.
If your gas gauge says 1/4 tank as your engine coughs and halts, wouldn't
you consider your gas gauge registering invalid?

_
This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-05 Thread Ted MacNEIL
...
Just because they are not written when something BAD happens is NOT a reason
to see them as invalid or useless.
...

I don't get it!
Invalid data is invalid data!

We make enough bad decisions with valid data.

How can you say that with a straight face?

-teD

In God we Trust!
All others bring data!
  --Deming

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-05 Thread Richards.Bob
PMFJI also, but I totally disagree with what you said, Peter.

All of what is being said *does not* assume anything. Mark should know; he 
coded it for a specific reason so that others, attempting to use the stats, 
would know they were inaccurate and that *they not assume* any information 
there as being relevant to reality.

Making any decision knowing that the information is inaccurate is, at best, 
foolish. At worst, possibly harmful to response time, wall clock time, CPU 
time, necessary/unnecessary REORG time, space calculations, performance 
indications, etc. The list is not endless, but you get my point. And if this 
foolishness is extended to thousands of VSAM datasets through automated 
processes, the costs of those *inaccurate decisions* could be very significant 
indeed.  

Mentioning the ones with stats that are fine in the context of this thread is 
irrelevant. Analyze those to your heart's content.

Your paragraph:

 Just because they are not written when something BAD happens is NOT a reason 
to see them as invalid or useless.  Like anything else in this business (or 
life, for that matter), you need to know what you are talking about when you 
use statistics to justify a decision.

If these statistics were being inspected one-by-one, I might concede that last 
half of the second sentence. In my experience though, decisions of this sort 
are being made in an automated fashion without consideration for knowing what 
you are talking about. They are being made under *the assumption that the 
statistics are accurate*, a point that has clearly been demonstrated as wrong!

Urgent or critical? Without empirical evidence to the contrary, how can *you 
assume* that it is neither/nor?  

I raise your two cents and make it my $.04 cents. grin

Bob 

 -Original Message-
From:   IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]  On Behalf Of 
Farley, Peter x23353
Sent:   Tuesday, July 05, 2005 5:52 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject:Re: IBM VSAM Statistics are often Bogus

PMFJI here, but I cannot hold my (virtual) tongue any longer.

ALL of what is being argued about here ASSuMEs that somthing BAD has
happened.  Either an ABEND or a CICS IMMediate shutdown or some other
ABNORMAL event.

ISTM that for the vast majority of programmers who might use those VSAM
statistics, there are LONG stretches of time where their VSAM files are JUST
FINE, with no abends or other bad events to disturb the statistics.

In those cases, the stats are just what they say they are, and can
reasonably be used to make decisions (like when to reorganize or review
performance, etc.).

Just because they are not written when something BAD happens is NOT a reason
to see them as invalid or useless.  Like anything else in this business (or
life, for that matter), you need to know what you are talking about when you
use statistics to justify a decision.

Mark, I think your view might be warped by only getting involved from the
IBM side when something BAD has already happened to the hapless user.

Lighten up guys.  It's not that urgent or critical, really.  It's only
stats, after all.

Just my USD$0.02 worth.

Peter 
  
  
  
LEGAL DISCLAIMER 
The information transmitted is intended solely for the individual or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of or taking action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you have received this email in error please 
contact the sender and delete the material from any computer. 
  
Seeing Beyond Money is a service mark of SunTrust Banks, Inc. 
[ST:XCL] 
 
 
 
 
 
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-05 Thread Richards.Bob
Ted,

I don't get it either. That line of thought carried to an extreme is...well, 
let's just say I shudder at the thought that if those lines of reasoning were 
being extended to actuarial tables, government decisions on labor statistics, 
etc, what the outcome might be.

Straight face? Heck, how about a clean conscience? 

Bob 

 -Original Message-
From:   IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]  On Behalf Of 
Ted MacNEIL
Sent:   Monday, July 04, 2005 8:00 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject:Re: IBM VSAM Statistics are often Bogus

...
Just because they are not written when something BAD happens is NOT a reason
to see them as invalid or useless.
...

I don't get it!
Invalid data is invalid data!

We make enough bad decisions with valid data.

How can you say that with a straight face?

-teD 
  
  
  
LEGAL DISCLAIMER 
The information transmitted is intended solely for the individual or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of or taking action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you have received this email in error please 
contact the sender and delete the material from any computer. 
  
Seeing Beyond Money is a service mark of SunTrust Banks, Inc. 
[ST:XCL] 
 
 
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-05 Thread Ted MacNEIL
...
Straight face? Heck, how about a clean conscience?
...

I have been burned too many times making decisions/recommendations
based on valid data.

Invalid data? ... don't think so!

BTW.

My set of initials was:

BTDT. DLI. DWTDIA!

Been there, done that.
Didn't like it.
Don't want to do it again!


-teD

In God we Trust!
All others bring data!
  --Deming

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-05 Thread Ed Gould

On Jul 4, 2005, at 7:00 PM, Ted MacNEIL wrote:


-SNIP--


In God we Trust!
All others bring data!
  --Deming




And don't trust VSAM stats either:-)

Ed

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-02 Thread Joel C. Ewing
Ask yourself which is easier and faster in a case where one has reason 
to suspect a VSAM usage problem:

(1) running LISTCAT, running program, running LISTCAT;
or
(2) running program, waiting until following day when offloaded SMF 
records become generally available, running or requesting a run of a 
batch program to read through 1M+ SMF records to possibly locate 
relevant statistics?


The simplest approach is frequently better.

The fallacy of John's casino analogy is that the underreporting of VSAM 
statistics is not caused by unpredictable and unknown actions of 
individuals, but by specific understood system events which are mostly 
observable (ABEND or cancellation of address spaces) or associated with 
the running of specific programs.  You may not know exactly what was 
lost, but generally can determine when the losses occurred.  There are 
many useful cases where one can be 100% sure that you have an interval 
in which no statistics have been lost, and can therefore accurately 
assess the number of additional EXCP's, CI/CA splits, records 
fetched/added/deleted, etc. resulting from applications run in that 
interval.


As with many statistics related to MVS, one has to understand what they 
mean and their limitations in order to use them intelligently.  I don't 
accept that it makes sense to eliminate LISTCAT VSAM statistics just 
because some users don't understand the limitations.  Flagging the 
statistics as incomplete or questionable ought to be sufficient to warn 
neophyte users that there may be something about the values they don't 
understand - hopefully prompting them to research and understand the 
limitations.




Ron and Jenny Hawkins wrote:

Isn't that why we have an SMF Type 64 record?



The delta in the LISTCAT VSAM statistics correctly reflects the activity
to the VSAM data set between two points in time, as long as you compare
 between two points where the VSAM file is closed and also know there
are no intervening OPENs without a valid CLOSE.  This is extremely
useful as an activity measurement tool, even if the absolute values are
missing counts from earlier accesses.


...
john gilmore wrote:
 Joel C. Ewing writes:
 This also suggests that calling the statistics INVALID may be too
 strong a pejorative, as all the counts reflect actual activity to the
 file -  it's just that they do not represent ALL the activity to the
 file.

 and there is a perspective from which his view has merit.

 The operators of gambling casinos sometimes under-report their betting
 volumes and thus also their profits.  This practice, called skimming,
 has the merit that it reduces their tax liabilities.

 However convenient this under-reporting may sometimes be, its defense
 because these low reported figures reflect actual activity . . . just
 not . . ALL the activity in the casino is disingenuous, as is Mr.
 Ewing's defense of the use of invalid, because biased in the technical
 sense, VSAM statistics.
...

--
Joel C. Ewing, Fort Smith, AR[EMAIL PROTECTED]

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-02 Thread Skip Robinson
I would not have imagined that many customers care deeply about the OTHER
stats--other than HURBA and HARBA--until we began running z/OS 1.6 and
discovered otherwise. The LISTCAT change was apparently made in 1.5, but we
had skipped that release. The LISTCAT change came to our attention rather
rudely: programs that try to digest stats suddenly died with S0C7. The
outstanding case for us was StarTool, which apparently reads the stats when
opening a VSAM cluster. Boom.

The case for inserting INVALID in a field that had been numeric since the
dawn of time was that some customer(s) objected to being presented with
values that were known to be incorrect in some unpredictable and
unreconstructable way. It's hard to imagine that this uncertainty was any
more painful than the inability to even open a VSAM cluster until it had
been recreated. We all understand that a report format is not a 'documented
interface'. On the other hand, how many decades of consistency does it take
to constitute a 'constant interface'?

Anyhow, I only learned of OA11927 in this thread. Good decision. I haven't
seen the modified output but will install the fix ASAP. Sure hope I don't
have to beat up on Serena again right after they finally fixed the INVALID
problem. ;-)

.
.
.
JO.Skip Robinson
Southern California Edison Company
SHARE MVS Program Co-Manager
626-302-7535 Office
323-715-0595 Mobile
[EMAIL PROTECTED]

IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU wrote on 06/30/2005
11:08:10:

 McKown, John [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]...

  Personally, I think that NO statistics are better than incorrect
  statistics. Of course, I am very dependant on the Hi-used vs.
  Hi-Allocated RBAs being correct. The rest are not of any use to me.

 HURBA is fixed by a VERIFY (or the next open of the data set) when it
 wasn't closed properly.  HARBA is always correct.

 Thanks,
 Mark Thomen
 Catalog/IDCAMS/VSAM Development

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-02 Thread Ron and Jenny Hawkins
Joel,

Why do you wait to the next day - when I want SMF data in a hurry I just
read the SYS1.MANx directly. Waiting until the next day to read 1 million
plus SMF records is a procedure problem and not a technical issue.

As far as the accuracy of VSAM statistics go, I concede that using SMF is no
more accurate than using LISTCAT. The same job that abends without updating
the statistics will also fail produce a type 64 records. I just happen to
think it is simpler to read a type 64 record than it is to insert a LISTCAT
before and after every job step that access a VSAM file. YMMV.

There are two basic problems with VSAM statistics. One is that you may be
missing frequency counts for inserts, splits, deletions, EXCP and whatever
for anything that has a VSAM file open when the power fails, the system
crashes, or the address itself fails for whatever reason. The counts for
those jobs are gone forever. I really don't see how a verify could possibly
correct that. How important these counters are to you really depends on what
you are doing with them, but where I have worked it is common practice to
start out any LISTC based analysis with a freshly reorged file, and discard
anything that has been touched by a failure.

The second problem is that there are counts such as number of records that
can become invalid. For example, if I have a KSDS with 1000 records, and I
have inserted 1500 more records when my CICS region abends, then my LISTCAT
will still show 1000 records. If subsequent processing then deletes 1001
records then my LISTCAT will be negative 1 record, while the actual count is
1499. If Verify is to rectify this statistic then it is going to have to
read the whole KSDS from front to back and count the records. And the logic
to actually figure out how the number of CI and CA splits that have occurred
in prior Opens really escapes me.

Calculating the difference for various statistics from a LISTCAT before and
after a job step is a perfectly valid and simple way to measure VSAM
activity for that open. Comparing before and after statistics in this way is
unaffected by the accuracy of the statistics, because it is the difference
between the two that you are measuring. But if you want to take a LISTCAT of
a VSAM dataset that was defined 18 months ago and use those statistics for
some sort meaningful tuning or capacity planning - well I for one fail to
see how it would be useful whether the statistics were in error or not.

Ron

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
 Behalf Of Joel C. Ewing
 Sent: Saturday, 2 July 2005 3:50 PM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: IBM VSAM Statistics are often Bogus
 
 Ask yourself which is easier and faster in a case where one has reason
 to suspect a VSAM usage problem:
 (1) running LISTCAT, running program, running LISTCAT;
 or
 (2) running program, waiting until following day when offloaded SMF
 records become generally available, running or requesting a run of a
 batch program to read through 1M+ SMF records to possibly locate
 relevant statistics?
 
 The simplest approach is frequently better.
 
 The fallacy of John's casino analogy is that the underreporting of VSAM
 statistics is not caused by unpredictable and unknown actions of
 individuals, but by specific understood system events which are mostly
 observable (ABEND or cancellation of address spaces) or associated with
 the running of specific programs.  You may not know exactly what was
 lost, but generally can determine when the losses occurred.  There are
 many useful cases where one can be 100% sure that you have an interval
 in which no statistics have been lost, and can therefore accurately
 assess the number of additional EXCP's, CI/CA splits, records
 fetched/added/deleted, etc. resulting from applications run in that
 interval.
 
 As with many statistics related to MVS, one has to understand what they
 mean and their limitations in order to use them intelligently.  I don't
 accept that it makes sense to eliminate LISTCAT VSAM statistics just
 because some users don't understand the limitations.  Flagging the
 statistics as incomplete or questionable ought to be sufficient to warn
 neophyte users that there may be something about the values they don't
 understand - hopefully prompting them to research and understand the
 limitations.
 
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-01 Thread john gilmore

Joel C. Ewing writes:

This also suggests that calling the statistics INVALID may be too strong 
a pejorative, as all the counts reflect actual activity to the file -  it's 
just that they do not represent ALL the activity to the file.


and there is a perspective from which his view has merit.

The operators of gambling casinos sometimes under-report their betting 
volumes and thus also their profits.  This practice, called skimming, has 
the merit that it reduces their tax liabilities.


However convenient this under-reporting may sometimes be, its defense 
because these low reported figures reflect actual activity . . . just not . 
. . ALL the activity in the casino is disingenuous, as is Mr. Ewing's 
defense of the use of invalid, because biased in the technical sense, VSAM 
statistics.





John Gilmore
Ashland, MA 01721
U.S.A.

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-01 Thread Ted MacNEIL
...
This also suggests that calling the statistics INVALID may be too 
strong a pejorative, as all the counts reflect actual activity to the 
file -  it's just that they do not represent ALL the activity to the file.
...

If they do not represent ALL, how can you use them to make a decision?

You are taking chance any time you make a choice without ALL the facts!

Any actvity count from a failed (ABENDed) process is suspect.
Not just I/O; CPU, Memory, Network, Print, etc.

As a capacity analyst, I have scars I could show you from making
recomendations from incomplete facts.
Most of the time we thought they were complete.

(In God we Trust!
 All others bring data!
  -- Peter Demming)
-teD
(The secret to success is sincerity.
If you can fake that,
you've got it made!)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-01 Thread Gibney, Dave
If a number less than ALL indicates a need for action, then surely the
greater number which would represent ALL if known could indicate a
greater need for action.

Now, I really don't know how the statistics in question, even when
accurate, translate into a need for action. But someone may have reason
to be concerned.


 -Original Message-
 From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
 Behalf Of Ted MacNEIL
 Sent: Thursday, June 30, 2005 5:00 PM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: IBM VSAM Statistics are often Bogus
 
 ...
 This also suggests that calling the statistics INVALID may be too
 strong a pejorative, as all the counts reflect actual activity to the
 file -  it's just that they do not represent ALL the activity to the
file.
 ...
 
 If they do not represent ALL, how can you use them to make a decision?
 
 You are taking chance any time you make a choice without ALL the
facts!
 
 Any actvity count from a failed (ABENDed) process is suspect.
 Not just I/O; CPU, Memory, Network, Print, etc.
 
 As a capacity analyst, I have scars I could show you from making
 recomendations from incomplete facts.
 Most of the time we thought they were complete.
 
 (In God we Trust!
  All others bring data!
   -- Peter Demming)
 -teD
 (The secret to success is sincerity.
 If you can fake that,
 you've got it made!)
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
 Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-01 Thread Ted MacNEIL
...
If a number less than ALL indicates a need for action, then surely the
greater number which would represent ALL if known could indicate a
greater need for action.

Now, I really don't know how the statistics in question, even when
accurate, translate into a need for action. But someone may have reason
to be concerned
...

I give up.
Decisions made on bad data are bad decisions.
Period.
End of statement.
Etc, etc!
-teD
(The secret to success is sincerity.
If you can fake that,
you've got it made!)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-07-01 Thread Ron and Jenny Hawkins
Isn't that why we have an SMF Type 64 record?

 
 The delta in the LISTCAT VSAM statistics correctly reflects the activity
 to the VSAM data set between two points in time, as long as you compare
   between two points where the VSAM file is closed and also know there
 are no intervening OPENs without a valid CLOSE.  This is extremely
 useful as an activity measurement tool, even if the absolute values are
 missing counts from earlier accesses.
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


IBM VSAM Statistics are often Bogus

2005-06-30 Thread Juraschek, David F
Are you z/OS 1.4 or later?
Have you looked at a LISTCAT for a lot of files lately?

Have you noticed that the data for many files is ... well ... wrong?

This is what I've been told:
VSAM statistics have always been suspect for accuracy
even before OS/390. IBM decided in release Z/OS 1.4 to
show 'INVALID' instead of any statistics when certain statistic
fields were corrupted usually by not properly closing VSAM clusters.

[Note:  Even if it's IBM products and software doing the close, not some
poorly written, hosebag, application program!!)

IBM, in release Z/OS 1.6, has recognized that this has caused some
pain in the VSAM user community. Therefore they will show  the invalid
statistics but they will be properly flagged as invalid. The invalid
statistics can only be repaired by reorg or export/import.

That's right folks.  You'll see *INVALID* in the stats for many VSAM
files in z/OS 1.4 and later.  As of z/OS 1.6, with relatively current PTFs
applied, you can now see bogus, invalid and inaccurate statistics
again from LISTCAT, with the STATISTICS area of the display flagged
as:'STATISTICS  (* - VALUE MAY BE INCORRECT)'.

It's like going to a major fast food hamburger chain and finding out all
the burgers are made from sawdust.  Oh, our ordering and distribution
system has had a problem for years.  They've been adding way too
much sawdust for some time now.  That's the way it is and has been
for quite a while - you just didn't know it and we've either been reporting
no information - or misinformation about what is really in your burger.
We have no intention of fixing this because we're too busy concentrating
about adding new products to our menu now, and we don't want to think about
those darn burgers too much.  Would you like fries with your sawdust ...
er  ... burger?

If IBM can devote the time and attention to releases of the OS, one would
think that they are capable of fixing this problem - a long, long time ago
when they were first aware of it.

Doesn't this bother anyone else but me?

-Dave

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-06-30 Thread Imbriale, Donald (Exchange)
How do you propose that they fix this?

Don Imbriale


-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf
Of Juraschek, David F
Sent: Thursday, June 30, 2005 12:36 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: IBM VSAM Statistics are often Bogus

Are you z/OS 1.4 or later?
Have you looked at a LISTCAT for a lot of files lately?

Have you noticed that the data for many files is ... well ... wrong?

This is what I've been told:
VSAM statistics have always been suspect for accuracy
even before OS/390. IBM decided in release Z/OS 1.4 to
show 'INVALID' instead of any statistics when certain statistic
fields were corrupted usually by not properly closing VSAM
clusters.

[Note:  Even if it's IBM products and software doing the close, not
some
poorly written, hosebag, application program!!)

IBM, in release Z/OS 1.6, has recognized that this has caused some
pain in the VSAM user community. Therefore they will show  the
invalid
statistics but they will be properly flagged as invalid. The
invalid
statistics can only be repaired by reorg or export/import.

That's right folks.  You'll see *INVALID* in the stats for many VSAM
files in z/OS 1.4 and later.  As of z/OS 1.6, with relatively current
PTFs
applied, you can now see bogus, invalid and inaccurate statistics
again from LISTCAT, with the STATISTICS area of the display flagged
as:'STATISTICS  (* - VALUE MAY BE INCORRECT)'.

It's like going to a major fast food hamburger chain and finding out
all
the burgers are made from sawdust.  Oh, our ordering and distribution
system has had a problem for years.  They've been adding way too
much sawdust for some time now.  That's the way it is and has been
for quite a while - you just didn't know it and we've either been
reporting
no information - or misinformation about what is really in your burger.
We have no intention of fixing this because we're too busy
concentrating
about adding new products to our menu now, and we don't want to think
about
those darn burgers too much.  Would you like fries with your sawdust
...
er  ... burger?

If IBM can devote the time and attention to releases of the OS, one
would
think that they are capable of fixing this problem - a long, long time
ago
when they were first aware of it.

Doesn't this bother anyone else but me?



***
Bear Stearns is not responsible for any recommendation, solicitation, 
offer or agreement or any information about any transaction, customer 
account or account activity contained in this communication.
***

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-06-30 Thread Dave Juraschek
Don asks how I proprose IBM fixes this.

It's not my problem to fix, it's IBMs.

I don't fix IBM code (especially since it's OCO), they do - or at least one
would expect that they would fix an outstanding problem they've know about
for years.

Good grief.

-Dave

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-06-30 Thread McKown, John
 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On Behalf Of Imbriale, Donald (Exchange)
 Sent: Thursday, June 30, 2005 11:59 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: IBM VSAM Statistics are often Bogus
 
 
 How do you propose that they fix this?
 
 Don Imbriale

Personally, I think that NO statistics are better than incorrect
statistics. Of course, I am very dependant on the Hi-used vs.
Hi-Allocated RBAs being correct. The rest are not of any use to me.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-06-30 Thread Mark Thomen
Juraschek, David F [EMAIL PROTECTED] wrote in message
news:OF28FF1D46.703B3284-ON85257030.00596139-85257030.005
[EMAIL PROTECTED]...

 If IBM can devote the time and attention to releases of the OS, one would
 think that they are capable of fixing this problem - a long, long time
ago
 when they were first aware of it.

 Doesn't this bother anyone else but me?

Well, I'm glad you brought this up.  Apparently you haven't read the
section Closing Data Sets in the DFSMS Using Data Sets manual which has
said for many, many years:

When you issue a temporary or a permanent CLOSE macro, VSAM updates the
data set's catalog records. If your program ends with an abnormal end
(ABEND) without closing a VSAM data set the data set's catalog records are
not updated, and contain inaccurate statistics. 

It has been this way since the very beginning of time for VSAM.  This is
because many of the blocks that contain VSAM information are in the user
key (since record management needs to access and change them), and on an
abnormal termination there is no way to determine that those values are
correct - they could have been overlaid by a user program.  This includes
information about extents that exist, RBA ranges, index levels,
configuration information about the data set, etc.  Would you prefer that
we blindly write out the data and break your data set?  I suppose not, so
we don't.  The statistics are also a by-product of this.

Even though the statistics have never been updated since the beginning of
VSAM for an abnormal termination, the issue has apparently NEVER COME UP
because prior to this IDCAMS did not flag the statistics as invalid.  Only
when we did (as a warning to the user community), did people start to
realize oh my gosh, this data is BAD!.   Most of the users have said oh
cool, that's why my numbers don't match.  However there's another group of
people that still want to use this invalid data to make business decisions.
They don't care the numbers are invalid, they want to use them.  Even if
they're orders of magnitude off (and in some cases they are). If you can
give me a rational explanation for that decision it would help me sleep at
night.  We thought telling them the data was invalid would be enlightening
- apparently it wasn't.

Until VSAM record management has the ability to protect the control blocks
from user overlays (which means running in a different key), this problem
cannot be fixed.  That's a goal we're working towards, but it's going to
take a while to do.  It's a very simple problem called resources.  On the
grand scale of problems, invalid statistics are pretty close to the bottom
of the list.Realize that NONE of the data management access methods
have recovery, or blocks that are protected.  It's been that way for
performance reasons since the beginning.

Because of that small group of people that wanted the numbers (even though
they were invalid) we have changed the output and now list the numbers
(APAR OA11927) with the indication they're invalid.  What comfort these
invalid numbers will give people is unknown, but because they wanted the
invalid data, they've now got it.

Thanks,
Mark Thomen
Catalog/IDCAMS/VSAM Development
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-06-30 Thread Gary Green
Mark,

Are the numbers corrected after a subsequent open and proper close?  Or do
they remain invalid for life, or a reorg/unload-load?

Thanks.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Mark Thomen
Sent: Thursday, June 30, 2005 1:31 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: IBM VSAM Statistics are often Bogus

Juraschek, David F [EMAIL PROTECTED] wrote in message
news:OF28FF1D46.703B3284-ON85257030.00596139-85257030.005
[EMAIL PROTECTED]...

 If IBM can devote the time and attention to releases of the OS, one 
 would think that they are capable of fixing this problem - a long, 
 long time
ago
 when they were first aware of it.

 Doesn't this bother anyone else but me?

Well, I'm glad you brought this up.  Apparently you haven't read the section
Closing Data Sets in the DFSMS Using Data Sets manual which has said for
many, many years:

When you issue a temporary or a permanent CLOSE macro, VSAM updates the
data set's catalog records. If your program ends with an abnormal end
(ABEND) without closing a VSAM data set the data set's catalog records are
not updated, and contain inaccurate statistics. 

It has been this way since the very beginning of time for VSAM.  This is
because many of the blocks that contain VSAM information are in the user key
(since record management needs to access and change them), and on an
abnormal termination there is no way to determine that those values are
correct - they could have been overlaid by a user program.  This includes
information about extents that exist, RBA ranges, index levels,
configuration information about the data set, etc.  Would you prefer that we
blindly write out the data and break your data set?  I suppose not, so we
don't.  The statistics are also a by-product of this.

Even though the statistics have never been updated since the beginning of
VSAM for an abnormal termination, the issue has apparently NEVER COME UP
because prior to this IDCAMS did not flag the statistics as invalid.  Only
when we did (as a warning to the user community), did people start to
realize oh my gosh, this data is BAD!.   Most of the users have said oh
cool, that's why my numbers don't match.  However there's another group of
people that still want to use this invalid data to make business decisions.
They don't care the numbers are invalid, they want to use them.  Even if
they're orders of magnitude off (and in some cases they are). If you can
give me a rational explanation for that decision it would help me sleep at
night.  We thought telling them the data was invalid would be enlightening
- apparently it wasn't.

Until VSAM record management has the ability to protect the control blocks
from user overlays (which means running in a different key), this problem
cannot be fixed.  That's a goal we're working towards, but it's going to
take a while to do.  It's a very simple problem called resources.  On the
grand scale of problems, invalid statistics are pretty close to the bottom
of the list.Realize that NONE of the data management access methods
have recovery, or blocks that are protected.  It's been that way for
performance reasons since the beginning.

Because of that small group of people that wanted the numbers (even though
they were invalid) we have changed the output and now list the numbers (APAR
OA11927) with the indication they're invalid.  What comfort these invalid
numbers will give people is unknown, but because they wanted the invalid
data, they've now got it.

Thanks,
Mark Thomen
Catalog/IDCAMS/VSAM Development
--
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the
archives at http://bama.ua.edu/archives/ibm-main.html

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.7/34 - Release Date: 6/29/2005
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-06-30 Thread Gates, Guy
Greetings,

 Take a look at II14008 as it describes this situation. 


Thanks...Guy M. Gates Jr.
TTI Z/OS Systems Programmer
Phone: (817) 740-9000 x-4627
Email: [EMAIL PROTECTED]
 

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Imbriale, Donald (Exchange)
Sent: Thursday, June 30, 2005 11:59 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: IBM VSAM Statistics are often Bogus

How do you propose that they fix this?

Don Imbriale


-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf
Of Juraschek, David F
Sent: Thursday, June 30, 2005 12:36 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: IBM VSAM Statistics are often Bogus

Are you z/OS 1.4 or later?
Have you looked at a LISTCAT for a lot of files lately?

Have you noticed that the data for many files is ... well ... wrong?

This is what I've been told:
VSAM statistics have always been suspect for accuracy
even before OS/390. IBM decided in release Z/OS 1.4 to
show 'INVALID' instead of any statistics when certain statistic
fields were corrupted usually by not properly closing VSAM
clusters.

[Note:  Even if it's IBM products and software doing the close, not
some
poorly written, hosebag, application program!!)

IBM, in release Z/OS 1.6, has recognized that this has caused some
pain in the VSAM user community. Therefore they will show  the
invalid
statistics but they will be properly flagged as invalid. The
invalid
statistics can only be repaired by reorg or export/import.

That's right folks.  You'll see *INVALID* in the stats for many VSAM 
files in z/OS 1.4 and later.  As of z/OS 1.6, with relatively current
PTFs
applied, you can now see bogus, invalid and inaccurate statistics again

from LISTCAT, with the STATISTICS area of the display flagged
as:'STATISTICS  (* - VALUE MAY BE INCORRECT)'.

It's like going to a major fast food hamburger chain and finding out
all
the burgers are made from sawdust.  Oh, our ordering and distribution 
system has had a problem for years.  They've been adding way too much 
sawdust for some time now.  That's the way it is and has been for quite

a while - you just didn't know it and we've either been
reporting
no information - or misinformation about what is really in your burger.
We have no intention of fixing this because we're too busy
concentrating
about adding new products to our menu now, and we don't want to think
about
those darn burgers too much.  Would you like fries with your sawdust
...
er  ... burger?

If IBM can devote the time and attention to releases of the OS, one
would
think that they are capable of fixing this problem - a long, long time
ago
when they were first aware of it.

Doesn't this bother anyone else but me?



***
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***

--
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-06-30 Thread Mark Thomen
McKown, John [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...

 Personally, I think that NO statistics are better than incorrect
 statistics. Of course, I am very dependant on the Hi-used vs.
 Hi-Allocated RBAs being correct. The rest are not of any use to me.

HURBA is fixed by a VERIFY (or the next open of the data set) when it
wasn't closed properly.  HARBA is always correct.

Thanks,
Mark Thomen
Catalog/IDCAMS/VSAM Development

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-06-30 Thread Mark Thomen
Dave Juraschek [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 Mark:

 This isn't just user data sets, it's MVS system data sets which are ONLY
 touched by IBM programs, utilities, etc.  You can't blame user's for
 screwing up non-user data sets.

VSAM is VSAM - we don't distinguish between user and system data sets.
And if the user does something that causes the program to terminate
abnormally (like cancelling it, hitting PA1 on TSO, etc) then the results
will be the same.  It's an ACCESS METHOD with NO RECOVERY, just like all
the other access methods.  If we could fix the numbers for system data
sets, we could fix it for user data sets too - but we can't do either at
this point.

The most common cause we've seen for the invalid numbers is an immediate
shutdown of CICS, because users don't want to wait for a normal shutdown.


 Shouldn't a verify or something fix the file if it is detectable that it
 was opened an never closed properly?

VERIFY (either an implicit through OPEN or explicit through VSAM) only
determines the actual HURBA of the data set and resets it so the data set
will be valid for adding records.

  As it is, you have to completely
 repro off the cluster, delete and re-define it and re-load the cluster to
 get the statistics back.

Yes, that's correct.  Sorry, but that's the way it's been for 30+ years.
As I said, apparently a lot of people weren't even aware of this because
they didn't read the book.  I looked at the possibility of EXAMINE
resetting the stats, but there are serialization problems, particularly if
the data set is being used by another application while the EXAMINE is
running.  And the BEST that would happen is the record count would be
reset, all other stats would be zero.

 Verify returns a RC=0 but changes nothinge either.

As mentioned above, VERIFY resets the HURBA if necessary.


 Gary asks if the numbers are fixed with a subsequent close and reopen of
 the file.

No, they are not.  Practically speaking, how would we fix the numbers
when the record of how many updates, deletes, and adds were thrown away on
the abnormal termination?


 Nope.  Not a verify.  Nothing short of the draconian and drastic steps
 above will fix the statistics until they are next screwed up again.

 I agree with John.  No statistics are better than bad statistics.

I wish everyone else felt that way, but there are some people that want bad
statistics.  As I said, a rational explanation would help me sleep better
at night.


 At least fix VERIFY so that it somehow resets stuff.

Can't - as pointed out above.

  Fix something.

As I pointed out previously what is required, we plan to move in that
direction.  But it's going to take a while.

  But then, as you clearly imply - IBM is perfectly o.k. with this
erroneous data
 and sees no problem with it.

Not true - that's why I changed the listings in IDCAMS to absolutely inform
users that the statistics on their data sets were in fact invalid.  I can't
justify why it wasn't done years ago because I didn't work on IDCAMS, VSAM,
or Catalog when these decisions were made.  What I find most intriguing are
the people that want the numbers - bad or not -  to make business
decisions with, to take online applications down for reorgs, etc.

 Nope, IBM sees the user as an idiot for
 relying on IBM's bad numbers.

I object to that characterization.  I explicitly made a change to make
people aware.  The notification has been there for YEARS that these numbers
were invalid.  People apparently didn't even think about it until I started
putting INVALID in the output. Then they felt the sky was falling and
they HAD to have the numbers back - something to wrap their hands around
and feel comfortable with, even though the numbers were WRONG, WRONG,
WRONG.  When (and if) you talk to some of those users you can make your own
determination as to how YOU want to classify them.

Thanks,
Mark Thomen
Catalog/IDCAMS/VSAM Development
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-06-30 Thread john gilmore
I ordinarily have other things to do with my time that preclude spending it 
defending IBM, which is well able to defend itself.


This time. however, I am in MarkThomen's corner.  Meaningless or invalid 
statistics should be marked as such or, better, suppressed.


Moreover, I don't like the caption of this thread.

The word 'bogus' is not a general-purpose pejorative.  It means 
counterfeited or faked.  We are not dealing with anything  of that sort 
here, and the use of this word  here is thus wholly inappropriate, even 
perhaps slanderous.


John Gilmore
Ashland, MA 01721
USA

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-06-30 Thread Shmuel Metz (Seymour J.)
In
[EMAIL PROTECTED],
on 06/30/2005
   at 12:36 PM, Juraschek, David F
[EMAIL PROTECTED] said:

Doesn't this bother anyone else but me?

Almost certainly. The big question is what priority they put on it vis
a vis other issues.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IBM VSAM Statistics are often Bogus

2005-06-30 Thread Joel C. Ewing
I strongly disagree on the desirability of suppressing VSAM statistics 
in these cases.  It would be much better to display them while 
indicating that they are incomplete.


The delta in the LISTCAT VSAM statistics correctly reflects the activity 
to the VSAM data set between two points in time, as long as you compare 
 between two points where the VSAM file is closed and also know there 
are no intervening OPENs without a valid CLOSE.  This is extremely 
useful as an activity measurement tool, even if the absolute values are 
missing counts from earlier accesses.


I would hate to see one program ABEND make it impossible to get any 
statistics from all VSAM datasets used by the program until those 
datasets have been reorganized by unload/reload, as in some cases it may 
not be practical to reorganize the files for weeks or months.


This also suggests that calling the statistics INVALID may be too 
strong a pejorative, as all the counts reflect actual activity to the 
file -  it's just that they do not represent ALL the activity to the file.



john gilmore wrote:
I ordinarily have other things to do with my time that preclude spending 
it defending IBM, which is well able to defend itself.


This time. however, I am in MarkThomen's corner.  Meaningless or invalid 
statistics should be marked as such or, better, suppressed.


Moreover, I don't like the caption of this thread.

The word 'bogus' is not a general-purpose pejorative.  It means 
counterfeited or faked.  We are not dealing with anything  of that sort 
here, and the use of this word  here is thus wholly inappropriate, even 
perhaps slanderous.


John Gilmore
Ashland, MA 01721
USA

...

--
Joel C. Ewing, Fort Smith, AR[EMAIL PROTECTED]

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html