I have an input file (LRECL=100,RECFM=FB) as shown below:
record 2010
record 2008
record 2007
record 2010
record 2007
record 2008
record 2010
record 2009
..
..
..
..
record 2008
record 2007
record 2008
record 2007
record 2010
record 2007
record 2008
record 2010
record 2009
..
..
..
..
record 2008
record 2007
I want to copy only the first occurence of "record 2007" to output.
Please help me with the SORT card.
Thanks.