If you just want to add values based on key, use of just SORT FIELDS\SUM FIELDS will suffice. join keys not required for this.
Please provide below information:
1: LRECL\RECFM of all input and output files
2: key field and other field positions\lengths
3: Sample input records
4: Expected output records for sample input shown.
You would have to give more details about what your trying to do before I could give you more specific help. Show an example of the records in each input file (relevant fields only) and what you expect for output. Explain the "rules" for getting from input to output. Give the starting position, length and format of each relevant field. Give the RECFM and LRECL of the input files. If file1 can have duplicates within it, show that in your example. If file2 can have duplicates within it, show that in your example.