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 Need urgent suggestion on DFSORT subratarec DFSORT/ICETOOL 6 Wed Mar 21, 2018 8:46 pm
No new posts Formatting using DFsort Guru Nandu DFSORT/ICETOOL 5 Thu Nov 30, 2017 7:33 am
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts ICETOOL - RESIZE DYNAMICALLY kranthikumarb DFSORT/ICETOOL 0 Tue Nov 21, 2017 5:30 pm
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am

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