Could someone help me out to continue the below coding to read all the member and find if it contains the field XXX in it.
THEPDS = "'MX9C.SAMPLE1.JCL'"
X = OUTTRAP('ML.')
"LISTDS "THEPDS" MEMBERS"
X = OUTTRAP('OFF')
DO N = 7 TO ML.0
SAY ML.N
O/p is
SAM1
SAM2
SAM3