Suppose we have an input file:
123456789+123456789+
FILE1 -X-X-X-X-X-X-X
ABCD 1234 XOXOXO 001
WXYZ 5678 YOYOYO 002
ABCD 0011 XOXOXO 003
I NEED TO SORT OUT THE DATA IN FILE2 WHEN INCLUDE=(11,6,CH,EQ,C'XOXOXO') WHICH IS EASY TO GET.
But I also need to check for first row (which is a header of file) should contain FILE1 written in first row. then only we can check for INCLUDE condition INCLUDE=(11,6,CH,EQ,C'XOXOXO')
I think I need IF then =( something like that)