Joined: 25 Feb 2006 Posts: 38 Location: chennai-india
In fileaid we have BT operator to get the values between a range.
For example in column 11 if we have values between 20 & 25 then we can split by providing BT 20:25. Is there similar method in sort to do it ??
Nothing in DFSort like BETWEEN as a keyword but similar logic can be written in sort. What exactly you are trying to do? Please show us sample input, expected output along with LRECL and RECFM of the input file.
Meanwhile RANGE gives you count of values between in a specified range, if that is what you are looking for.