Help generating a report against PDS members

Document ID : KB000045689
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:  

How can I generate a report against PDS members that will contain Member name, with update and execute time stamps?

 

Answer:

 Use JCLSERV

// JOB JCLSERV 

// EXEC PROC=JCLSERV 

./ DIR PDS: *.*

./ END 

/* 

 NAME    TYPE    RECS BLKS ..LAST.UPDATED..  .LAST.EXECUTED..  

                                                            

AAPCL    JCL     7    1    07/15/11 16.49.35           07/15/11 16.49.37 

PDS can be any pds such as the MON or VIO or it can be a user defined PDS

You can also use masking A*.JCL

Sample output

MEMBER  DATA   NBR  NBR   DATE AND TIME     DATE AND TIME    

ABC0026  JCL     8   1  08/21/14 09.23.08         08/29/14 16.59.59 

Additional Information:

For more information on JCLSERV see the CA FAQS PCS Operations Guide, Chapter 12 

https://support.ca.com/cadocs/1/k043821e.pdf