>>>Suppose the programmer wishes to compare to binary zeroes, Gil,
Comparing to binary zeros will let you include short records who have length less than 21 bytes. But that is an easy fix. Since we are dealing with VB records, the actual length is in RDW so you can add the RDW validation in the INCLUDE condition. Something like this //SYSIN DD * OPTION COPY,VLSCMP INCLUDE COND=(01,2,BI,GE,21,AND, 21,1,CH,EQ,X'00') /* >>Are complicated Boolean expressions supported? Yes. Check this link https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.icea100/ice2ca_Relational_condition.htm Thanks, Kolusu DFSORT Development IBM Corporation ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN