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

Extract data between range


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

New User


Joined: 25 Feb 2006
Posts: 38
Location: chennai-india

PostPosted: Fri Aug 12, 2011 12:01 am
Reply with quote

Hi All,

In fileaid we have BT operator to get the values between a range.
For example in column 11 if we have values between 20 & 25 then we can split by providing BT 20:25. Is there similar method in sort to do it ??
Back to top
View user's profile Send private message
sqlcode1

Active Member


Joined: 08 Apr 2010
Posts: 577
Location: USA

PostPosted: Fri Aug 12, 2011 12:22 am
Reply with quote

som_infotech,
Nothing in DFSort like BETWEEN as a keyword but similar logic can be written in sort. What exactly you are trying to do? Please show us sample input, expected output along with LRECL and RECFM of the input file.

Meanwhile RANGE gives you count of values between in a specified range, if that is what you are looking for.

Thanks,
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 12, 2011 1:42 am
Reply with quote

Hello,

As mentioned, it is best to post some sample data and the output you want from the sample data. Mention the recfm and lrecl of the files and all of the processing rules.

One way to do what you want is to use INCLUDE or OMIT.
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 How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts To get the count of rows for every 1 ... DB2 3
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top