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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts JCL sort card - get first day and las... JCL & VSAM 9
Search our Forums:

Back to Top