Hi, I've got this problem with INCLUDE COND: how to include all the empty records for SORTIN with LRECL=400. I usually use the statement INCLUDE COND=(1,1,CH,EQ,C' ') but in this case I've 400 spaces and not only 1 space.
If you consult the manual you'll see that you can do a "repeat" value in front of the literal. 250C' ' should give 250 spaces, for instance. You can also find out whether you can use X in the comparison. 250X is 250 spaces.
You don't have to code 400 spaces. You can check with a single space. But the limit is 256 bytes , so you need to split the 400 bytes into chunks of 256 bytes and check. Use the following control cards