Need to check whether file is ESDS file or not by using REXX

IBM's Command List programming language & Restructured Extended Executor
willy jensen
Posts: 481
Joined: Thu Mar 10, 2016 5:03 pm
Skillset: assembler rexx zOS ispf racf smf
Referer: saw it in the experts foprum thought I could help here

Re: Need to check whether file is ESDS file or not by using REXX

Postby willy jensen » Sat Aug 02, 2025 2:07 pm

Not a parameter, but you can calculate it. See the VOLUME section, the line(s) starting with 'TRACKS--', pull and accumulate the the number for each volume. Or try using the ALLOCATION SPACE-PRI number and add SPACE-SEC times the EXTENTS value from STATISTICS. They may end up be the same value, I haven't looked at it for a while.

willy jensen
Posts: 481
Joined: Thu Mar 10, 2016 5:03 pm
Skillset: assembler rexx zOS ispf racf smf
Referer: saw it in the experts foprum thought I could help here

Re: Need to check whether file is ESDS file or not by using REXX

Postby willy jensen » Sat Aug 02, 2025 7:16 pm

That latter should of course have been: ALLOCATION SPACE-PRI number and add SPACE-SEC times the (EXTENTS value from STATISTICS -1)

  • Similar Topics
    Replies
    Views
    Last post