Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts )SEL and )ENDSEL usage cvnlynn TSO/ISPF 4 Thu Jun 15, 2017 1:15 am
No new posts Using ICETOOL, how we can seperate th... bshkris SYNCSORT 5 Tue May 09, 2017 8:33 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us