IBM Z and LinuxONE Software

 View Only

 Z/OS DFSORT V3R1 - JOIN of Two VSAM Variable Length Files

Girish Sajja's profile image
Girish Sajja posted Thu July 24, 2025 04:14 PM

Hi,

I am trying to create the data from two variable length VSAM files, but I have not been successful.  The task is to be able to identify the records missing from the two files are load them into the respective files.

ICE000I 1 - CONTROL STATEMENTS FOR 5655-ZOS, Z/OS DFSORT V3R1
            JOIN UNPAIRED,ONLY
            JOINKEYS F1=I2AA,FIELDS=(5,21,A),TYPE=V,
              INCLUDE=(05,08,CH,EQ,C'FT000000')
            JOINKEYS F2=T2AH,FIELDS=(5,21,A),TYPE=V,
              INCLUDE=(05,08,CH,EQ,C'FT000000')
            REFORMAT FIELDS=(F1:1,4,?,F1:5,F2:1,4,F2:5)
                                               $
ICE007A 4 SYNTAX ERROR

            OPTION COPY

Thank you.