I have a need to search for a string in a sequential dataset that is RECFM=VB.
This is an example INCLUDE statement:
INCLUDE COND=(1,260,SS,EQ,C'BILL')
The problem is that any records within the file that are shorter than the length specified (260 in the case above), Syncsort simply drops/ignores the entire short record, even if it contains the search string. The result is that the "short" record is missing from the output.
Without utilizing an exit, how can I manipulate the sort control statements so that "short" records will also be processed?
Note: DFSORT pads the short records with x'00' by using OPTION VLSHRT,VLSCMP with the execution, and successfully processes the short records and finds the string. Is there an identical option with Syncsort?