Checking for numeric fieds in DFSort.

IBM's Sort Product, ICETOOL, ICEMAN and ICEGENER.
Post Reply
guddu
New Member
Posts: 2
Joined: Sat Sep 19, 2015 8:48 pm

Checking for numeric fieds in DFSort.

Post 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?
User avatar
Magesh_j
Registered Member
Posts: 33
Joined: Sun Sep 04, 2016 8:50 pm

Re: Checking for numeric fieds in DFSort.

Post 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
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM DFSort, ICETOOL, ICEMAN, ICEGENER.”