apentyala wrote:Hi,
I have a requirement in REXX.
i need to find a string in a list of PDS (ex: A.B.C.D,A.B.C.E etc) using command SRCHFOR and i need
to capture all those PDS wherever the string is found.Do we have any way in REXX to capture
the datasets ? pls suggest.
Your query is vague and imprecise. Do you mean: "Can the DSNs be recorded?" If so, yes; put the DSN (and such other information as you deem necessary) into a variable,
PUSH it onto the stack, and write it using
EXECIO to a data set that has been allocated in the JCL or through the
TSO ALLOCATE command.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day