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

Synsort: What are the various options for SKIPREC


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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

Global Moderator


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

PostPosted: Thu Mar 30, 2006 11:19 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare input date as YYMMDD with the... SYNCSORT 5
No new posts Sort skiprec DFSORT/ICETOOL 7
This topic is locked: you cannot edit posts or make replies. Adding comments in Synsort SYNCSORT 18
No new posts COBOL MVS options COBOL Programming 8
No new posts Default FTP options All Other Mainframe Topics 2
Search our Forums:

Back to Top