Sort the file in the Reverse order using the option DESC(Descending Order) and then read the file.
Login to rate this answer.
Hi guys
input file
======
a
n
d
to get outupt
==========
d
n
a
if you use the desc sort, output will be display as z to a
if you insert the sequence no on file, than sort to get reverse order.
syntax is
OUTREC = (1, 5, SEQNUM, 5, ZD)
sequence no will be stored in 6 to 10
Regards
Rasipuram Manivannan M
Login to rate this answer.
open file in reverse
i.e OPEN input file-name Reverse
Login to rate this answer.