Thank you for the prompt reply.I ran the jcl provided by you I did not get what I had expected. I think I was not able to state the problem clearly. I have a PDS that contains around 10,000 JCL's. We follow a naming convention to identify to which module or system a particular jcl belongs. My requirement is to get only the JCL name (the content is not required) belonging to a particular system. Lets assume for system ABC I named my jobs as JBAB****, where the next four characters can be anything. I want a job that can list the Jcls (only name) belonging to ABC system. I tried using a combination of IEBPPTCH and sort utility. I was successfull. But the job was taking a long time to run and it was dumPng the directory contents to the intermediate dataset :x Can you please suggest me an optimal solution ? I am pasting my JCL code below. Its crude but it works :lol:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum