Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Usage of SKIPREC in ICETOOL of DFSORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
pattabiraman.baskaran

New User


Joined: 10 Aug 2006
Posts: 23

PostPosted: Mon Sep 11, 2006 6:35 pm    Post subject: Usage of SKIPREC in ICETOOL of DFSORT
Reply with quote

Hi,

My requirement is to skip certain records until specific condition is met.

For example:

My input file looks like this,
Code:
111111
kgskgs
ajggfa
sdgdfvasfjsvf
sfjghasfjaghf
asfjghfjhasf
asvfasj
asjgfasjf
111111


Now, If DFSORT reads and processes the record 111111, it should skip all the records until next 111111 record is found.

I want to do this only with DFSORT or ICETOOL. If SKIPREC doesnot support this functionality, please guide me towards suitable option.

Thanks in advance.
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


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

PostPosted: Mon Sep 11, 2006 9:11 pm    Post subject:
Reply with quote

SKIPREC only skips a specified number of records (e.g. skip first 5 records). It cannot skip groups of records. You can use the technique shown in the "Include or omit groups of records" Smart DFSORT Trick at:

http://www.ibm.com/servers/storage/support/software/sort/mvs/tricks/index.html

to do this kind of thing.

If you need more specific help, you need to give a better example of your input records (with more than one group) and expected output records, and explain clearly the "rules" you want to use to determine which groups should be skipped. Also, give the RECFM and LRECL of the input file.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DFSORT MUL FIELDS tspr52 DFSORT/ICETOOL 16 Fri Mar 03, 2017 11:53 pm
No new posts Converting decimal to numeric using I... Balaryan DFSORT/ICETOOL 4 Thu Feb 02, 2017 11:27 pm
No new posts How to get the remainder and quotient... vnktrrd DFSORT/ICETOOL 2 Mon Oct 31, 2016 10:59 am
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts ICETOOL/SYNCSORT - SYSPRINT output nartcr DFSORT/ICETOOL 17 Wed Oct 05, 2016 10:46 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us