JCL to reverse the file records
There are two ways to read the sequential file in reverse order 1. Using FileAid // STEP0100 EXEC PGM=FILEAID //SYSPRINT DD SYSOUT=* ...
I do not believe there is a standard method for doing this in COBOL. However, if the file contains fixed length records you might try processing it ...
Thank you so much for ur gr8 expalnation ! I'm a novice Mainframe- Developer icon_lol.gif .
Read them into an array, then display the array in reverse order. Top ...
Let's say, there is a file in the order from a number from 100 to 199 and we need ... When the JCL is read the OS reads it and sets up whatever it ...
mainframe-tips-and-tricks.blogspot.com
2. Copy the dataset to ...
Being a flat file, we cant be sure that it will have a unique key field. So, External to the cobol program , using SORT utility, we can add a serial no column, and then ...
Where InputFile is the file name you wish to read in reverse order . %%a contains each returned record. ReadReverse.bat contains: @echo off if .
Hi,Can any one post that is the cobol having the facility to read a sequential file( Other than on tape) in reverse order?. If not , is it possible??