Selective processing in JCL.
Posted: Tue Jul 28, 2015 2:21 pm
Hi All,
i had a query related to using JCL for following :
have a input file with following values :
now the expected output is only those records with 1 and 2 in succession, and ignore the '1' records that dont have 2 in the subsequent record.. (here in this sample : the record # 4,5,8,9,10,11,13,14 are expected in the output)
output :
can anyone suggest of ways to do this using JCL ?
Thanks,
i had a query related to using JCL for following :
have a input file with following values :
Code: Select all
1
1
1
1
2
1
1
1
2
1
2
1
1
2
1
output :
Code: Select all
1
2
1
2
1
2
1
2
Thanks,