hariavinash
New User
Joined: 04 Jan 2006 Posts: 64
|
|
|
|
use X'40' (for spaces) in the offset check.
if its low/high values use equivalent hexa value.
eg: -
SORT FIELDS=COPY
INCLUDE COND=(10,1,CH,EQ,X'40')
END
cheers |
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
I want to know how to identify a Blank record in a dataset using DFSORT. |
It depends what you mean by "identify". If you want to remove blank records from the data set, you can use an INCLUDE statement like this where n is the LRECL. Substitute a blank for b:
Code: |
INCLUDE COND=(1,n,CH,EQ,C'b')
|
C'b' is (one blank) is padded out to n blanks for the comparison.
If you want to do something else, you need to explain in more detail what you want to do. |
|