z/OS Rexx Function : TESTKSDS

Navigate back to home page
z/OS related collateral
Windows related collateral
SQL/mySQL related collateral
Link to code that can be used on websites.
Link to ASL Program Documentation
All our latest news
Contacting Abbydale Systems
Obtain product support/suggestions
Terms and conditions for the site
General disclaimer
All about Abbydale Systems
How we got our company name
Our privacy policy
Our development strategy
Visit our guestbook

As ever, you use this free program at your own risk.

Feel free to use the free software on this site but please honor the copyright.

TESTKSDS is Rexx facilty that can be used as a quick and dirty way of checking to see if a VSAM KSDS dataset is ready to be re-organized or not.

TESTKSDS lets the user define their own site's threshold criteria for comparison.

TESTKSDS is not meant to replace the IBM Tivoli offering but it is free and is a pretty easy to use exec.

TESTKSDS looks at 3 (well 4 really) bits of information and compares the values of these bits of information to the site values and indicates if the dataset needs to be reorganized or not.

The information checked is:

  1. Number of extents the dataset is in.
  2. Freespace percentage.
  3. Number of CI and CA splits.

The exec does not actually reorganize the dataset. That is the site's responsibility.

To reorganize a VSAM file please refer to your site data administrator, but basically it involves the following process:

  • Export the file.
  • Delete the file.
  • Redefine the file again.
  • Import the file.

Please check with your site to see if any benefit can be gained from reorganizing a KSDS as there are situations (RAID drives, Solid State DASD etc.) where doing so produces little to zero benefit.

TESTKSDS has 2 aliases (REORG & TESTVSAM) these are for historical reasons and can be deleted they are not needed.

To see a demonstration of TESTKSDS can be found on YouTube here.
Link
Description
This link will take you to a file that contains the z/OS TSO TRANSMIT library containing the TESTKSDS facility. This file should be transferred to the z/OS system using a file transfer program. The file must be transferred as a BINARY file.


Installation Instructions


For installation instructions click the button below.




This material has been used successfully by Abbydale Systems LLC. and to the best of our knowledge this material and any system(s) of which it is a part are operational as of the service level or date stated in the body of this material (if so stated). However, NO warranty is given or implied as to the accuracy of this material or any related material or systems, and no responsibility is assumed for any effect or modification directly or indirectly caused by the use of this material.

It is the responsibility of any user of this material to evaluate its usefulness to the user's environment.

Abbydale Systems LLC. does not guarantee to keep this or any related material current, nor does it guarantee to provide any corrections or extensions described by any users of this material or any corrections or extensions made in the future by Abbydale Systems LLC. itself.


If you need any support or assistance with any of the code on this site
or
if you would just like to contact us, please click here

follow us on facebook
Follow us on Facebook




Subscribe to our YouTube Channel Subscribe to our YouTube channel


CBT Tape Home Page MVS and OS/390 Freeware Link to the CBT website


Copyright © Abbydale Systems LLC 2015-2026

Abbydale Systems LLC Lic. 802696149. All rights reserved.