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
 
Synsort: What are the various options for SKIPREC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Abhilasha

New User


Joined: 09 Mar 2006
Posts: 7
Location: India

PostPosted: Thu Mar 30, 2006 9:56 pm    Post subject: Synsort: What are the various options for SKIPREC
Reply with quote

what are the various options for SKIPREC?
Back to top
View user's profile Send private message

spriya

New User


Joined: 06 Oct 2005
Posts: 42

PostPosted: Thu Mar 30, 2006 10:28 pm    Post subject: Re: Synsort
Reply with quote

hi
v can use skiprec option is used to copy the particular records in a file

for example if u want to copy 50 th record to 100 record means (the file contains 100 rec) u ill give sort field=copy skiprec=49,stopaft=50 means it will first skip 49 rec and copy the remaining rec
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Thu Mar 30, 2006 11:19 pm    Post subject: Re: Synsort
Reply with quote

abhilasha, I'm sure they're documented in the product manual.
Back to top
View user's profile Send private message
Abhilasha

New User


Joined: 09 Mar 2006
Posts: 7
Location: India

PostPosted: Fri Mar 31, 2006 9:51 am    Post subject:
Reply with quote

I have file which i want to Modify as per the records...if the record contains a particular digit at a particular position the record should not be modified but copied as it is...otherwise it should be modified and copied to the out file.
Back to top
View user's profile Send private message
neelesht

New User


Joined: 24 Jul 2006
Posts: 99
Location: Los Angeles

PostPosted: Wed Aug 09, 2006 8:59 pm    Post subject:
Reply with quote

Abhilasha,

Could you please tell some more details what you need to do ?

SKIPREC is simply to SKIP any records

e.g. You have a file of 100 records and you only want to copy 1-9 and then 11-100 then we can use this.

SORT FIELDS=COPY,
SKIPREC=10,

END

Please correct me if I am wrong.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Aug 11, 2006 5:56 pm    Post subject:
Reply with quote

Hi aAhilasha,

The option you want to use is probably OMIT (or INCLUDE) depending on what you require.

How it's used can get complicated so use the SORT manual of your choice to make those decisions.

If you get stuck on a particular point, come back here and hopefully we can give you a hand.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Default FTP options vasanthz All Other Mainframe Topics 2 Fri Aug 25, 2017 5:58 am
No new posts DB2 Unload format options Susanta DB2 2 Fri Aug 12, 2016 5:42 pm
No new posts Endevor - Compiler Options. Chetan Kumar Mainframe Interview Questions 4 Tue Oct 20, 2015 6:32 pm
No new posts DFSORT with Reformat Options jegan_selvan DFSORT/ICETOOL 4 Tue Oct 14, 2014 4:52 pm
No new posts Help Skipping Records based on Condit... nartcr SYNCSORT 10 Fri Aug 22, 2014 2:56 am

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