Page 1 of 1

Checking for numeric fieds in DFSort.

Posted: Sat Sep 10, 2016 9:03 pm
by guddu
We use DFsort OMIT cards to eliminate unwanted records from a file. One of the criteria is non-numeric data in certain fields. I was wondering if there was a way to set up a way to see if a filed is numeric like we have in IS NUMERIC in COBOL?

Re: Checking for numeric fieds in DFSort.

Posted: Sat Sep 10, 2016 11:14 pm
by Magesh_j
Yes, you can do it by checking condition NUM

Code: Select all

INCLUDE COND=(1,6,FS,EQ,NUM)
this will include records have numeric value in 1,6 position

If you want exclude records having numeric then use OMIT COND

Thanks
Magesh