REXX/JCL to retrieve PROC GROUP from ENDEVOR

Hi Friends,
I have list of 3000+ elements for which I need to retrieve PROC GROUP from ENDEVOR. I need to do this multiple times for my current assignment.
Please help me with what options I can use in REXX or JCL to do so.
Thanks
Nikesh
I have list of 3000+ elements for which I need to retrieve PROC GROUP from ENDEVOR. I need to do this multiple times for my current assignment.
Please help me with what options I can use in REXX or JCL to do so.
Thanks
Nikesh