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

Low values check in SORT??


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

New User


Joined: 19 Dec 2005
Posts: 7
Location: Chennai

PostPosted: Thu Jan 05, 2006 6:24 pm
Reply with quote

Hi,

How to check Low-Values in SYNCSORT and DFSORT in INCLUDE COND

Thanks,
Kris
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: Thu Jan 05, 2006 9:31 pm
Reply with quote

By Low-Values, do you mean binary zeros? If so you can use a DFSORT INCLUDE statement like this:

Code:

   INCLUDE COND=(1,5,BI,EQ,X'00')


DFSORT will pad the hex string on the right with binary zeros to the length of the field, so in this case positions 1-5 would be compared to X'0000000000'.

If you mean something else by Low-Values, tell us what you mean.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Alternative of JoinKeys in SORT DFSORT/ICETOOL 2
No new posts count contained values of several col... DB2 5
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Simplify SORT CARD to combine INREC a... DFSORT/ICETOOL 6
Search our Forums:


Back to Top