On Wed, 9 Sep 2020 17:19:55 +0000, Farley, Peter x23353 wrote: >Use these PARM options for SYNCSORT to allow field references beyond the >actual input record length: > >PARM=VLLTEST=2,VLTESTI=2' > >One of your VB input records is less than 17 bytes long (21 - 4 = 17). > A Google search seems to find those as SYNCSORT options but not as DFSORT options. Is that right? But on: https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.iceg200/ice2cg_Short_control_fields1.htm
Another way you can prevent DFSORT from terminating for VB records with short compare fields, if appropriate, is by specifying the VLSHRT option. For example: OPTION COPY,VLSHRT INCLUDE COND=(21,8,CH,EQ,C'Type 200') VLSHRT tells DFSORT to treat any comparison involving a short field as false. In this example, any records less than 28 bytes are not included. What other comparison operators are available. For example, I'd be interested in whether: OMIT COND=(21,8,CH,NE,C'Type 200') ... causes short records *not* to be omitted because "NE" is false. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN