I have two files with LRECL=80 and both are fixed block (FB). There are only one record in both the file of lenght 8. For example it can be like:
First file record:
Code: Select all
12345678
Code: Select all
12345677
Now I need to compare these two files and if the vlaue in first file is greater than the value in file 2 then my job should return a RC=4. Is it possiblie in SORT? Can someone pleease help.