Can we find the free CA space for a VSAM file or catalog using REXX. If yes, could you please help to write a REXX code or some direction to write one.
Time Sharing Option, Interactive System Productivity Facility and REstructured eXtended eXecutor
2 posts • Page 1 of 1
- Registered Member
- Posts: 11
- Joined: Sat Aug 16, 2014 11:25 pm
- Global Moderator
- Posts: 1275
- Joined: Fri Jun 28, 2013 1:22 am
- Location: East Dubuque Illinois
- Has thanked: 2 times
- Been thanked: 90 times
You can find the free CA space for a VSAM data set (z/OS only has files on tape or in Unix; referring to a VSAM data set as a "VSAM file" is WRONG) simply by running a LISTCAT and subtracting the HI-U-RBA from the HI-A-RBA. A REXX program is not needed but you could write one to parse the output of LISTCAT and extract the two numbers from it. Note that free CA space may be quite different from the total free space.
Who is online
Users browsing this forum: CommonCrawl [Bot] and 0 guests