I want to list datasets say of the pattern using REXX.
I know we can use the wild card "ACH.*.REXX.JCLS". in and IDCAMS step or in LISTDS and then separate the required result. But in that case the tool will need to be changed if the wild card changes. I need to know if there is a direct way of getting all datasets with a given pattern.