Good day to all, This is our first post so thanks in advance for your attention and help,
We have a user coding a Cobol E35 user exit for a DFSORT program with the COPY Option.
This is the SYSIN for the DFSORT program:
OPTION COPY,VLSHRT,SKIPREC=0,STOPAFT=99999999999
INREC FIELDS=(1,36,49,66,203,400,703,20,803,200,1403,16,
1603,256,2973,5130,723,50,1941,516)
MODS E35=(E35COBX1,65535,,C)
RECORD TYPE=V,LENGTH=(,4100,4100,4100,4100)
OUTFIL FNAMES=SORTOUT,
FTOV
The SORTIN FILE is PS-E FB LRECL=8102, The SORTOUT DD is coded with these attributes: RECFM=VB,LRECL=4104,DSORG=PS.
The user has reviewed in depth the documentation on how to code and use the Interface with the Exit, but all the SORTOUT records she obtains are of the same length (4100+4) ,padded with X'B2' from their "expected" length to the end of the record.
Could anyone used to work with the E35 exit in Cobol help us in determining where is the error and how to fix it?
Thanks.