View previous topic :: View next topic
|
Author |
Message |
jemonthomas
New User
Joined: 24 Jul 2006 Posts: 35 Location: india
|
|
|
|
I have to filter out a binary field ie comp value from a file. The field is an account number.
I have to filter account number with values 15,22,200.can u please tell me how to write the include statement in sort jcl |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
INCLUDE FORMAT=BI,COND=(pos,len,EQ,1522200)
or
OMIT FORMAT=BI,COND=(pos,len,EQ,1522200)
should do, depending on what you mean by 'filter out'.
Garry. |
|
Back to top |
|
|
jemonthomas
New User
Joined: 24 Jul 2006 Posts: 35 Location: india
|
|
|
|
thanks a lot |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
Back to top |
|
|
Ashish Ranjan
New User
Joined: 12 Jan 2009 Posts: 2 Location: pune
|
|
|
|
But as mentioned on the top of discussion field is an ACCOUNT NUMBER. Could not be negative. So I think better to use Data format as BI only. |
|
Back to top |
|
|
|