1. your field layout of the file does not account for 1200 bytes.
but you do not want a field comparison,
you want a byte for byte (1200 of them) comparison.
2. in order to accomplish that in sort
you would have to join the records
and then have 1200 IFTHEN's.
3. FileManager is based on templates
and since your template would consist of 1200 1 char fields
you would have large templates.
4. I suggest you do this thru the HLL of your choice (COBOL/PL1/HASM/)
i would personally use COBOL
and run three indexes: one for file 1, the second for file 2, the third for the printline.
definitely, much less code. _________________ Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
I know of nothing in either sort or File-AID that will show the posted results you want.
The good news is that this is a rather easy bit of code to implement.
What kind of data is being compared? Is there a "key" to the data in these files? Is this compare to compare one file against a "newer" copy of the same file (i.e. after updates have been applied)? If there is a key and the value has changed due to inserts/deletes, a key match will be needed, not just a record by record compare. _________________ Have a good one
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum