I want to expand the Proc inside the JCL and keep everything in a single file.
My requirement : -
1. I have 100 JCL in Jcl Lib.
2. Inside each JCL there are few PROC.
3. I need to search each PROC in the proc Lib to find out what are the dataset whic are getting deleted after execution of the JCL (Such as DISP value (NEW,CATALOG,DEL)
4. There may be Datasets defined in the JCL itself
So i need to expand all the JCLs and PROCs inside each JCL to single file and then search for my required Dataset instead of Loopin for JCL and PROC inside each JCL.
So my concern is , Is there any way i can expand all JCL and all procs inside each JCL to a single file......