Endevor

 View Only
  • 1.  CA-Endevor Utility

    Posted Apr 09, 2019 01:52 PM

    Hi, Does CA-Endevor has a Utility that can return the number of members in a Endevor controlled PDS ? If none, i appreciate suggestions. Thanks.



  • 2.  Re: CA-Endevor Utility

    Posted Apr 09, 2019 03:24 PM

    If you have PDSMAN installed you can do a VERIFY of one PDS or several.

     

    Partial output report from a PDSMAN VERIFY: 

    FCO110I VALIDATING PDS OUTDD=IN VOL=PRM222 DSN=aaaaaaaa.bbbbbbbb.cccccccc

    FCO160U MEMBERS 237 TOTAL 237 IN-PLACE 0 MOVED

     

    In the output report of the VERIFY you will see the PDS name and the number of members in that PDS.

     

    The output report of the VERIFY can be searched with a REXX going after what is important to you, like the PDS name and number of members.



  • 3.  Re: CA-Endevor Utility

    Posted Apr 10, 2019 11:16 AM

    Dan's method below is way better!



  • 4.  Re: CA-Endevor Utility
    Best Answer

    Posted Apr 10, 2019 06:33 AM

    See also the REXX statement LISTDSI. It can obtain virtually any attribute of a dataset.  Here is  simple example showing number of members....

     

    myDSN ='WALJO11.REXX'
    RCODE = LISTDSI("'"myDSN"'" RECALL DIRECTORY);
    say myDSN 'has' SYSMEMBERS 'members'