IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Elimate records having zeors in one of field


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jayreddy

New User


Joined: 07 Apr 2008
Posts: 10
Location: Mumbai

PostPosted: Wed Sep 03, 2008 6:01 pm
Reply with quote

HI

Iam having a file of lenght 211 .

and there is a field BALANCE of length 17 from 139 to 156.

now I want to elimate the records havign zeors in the field Balance

The field Balance is defined a char field

Please let me know if you need any infromation

Regards
JAY
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Wed Sep 03, 2008 9:33 pm
Reply with quote

If the 17-byte field has character zeros (C'0's), you can use these DFSORT statements:

Code:

   OPTION COPY
   OMIT COND=(139,17,CH,EQ,C'00000000000000000')


If the 17-byte field has zeros in some other form, you need to tell me what those "zeros" look like in hex.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Join multiple records using splice DFSORT/ICETOOL 5
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top