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

Provide me the SKIPREC Example JCL


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
msrinivasa
Warnings : 1

New User


Joined: 31 Jan 2007
Posts: 10
Location: chennai

PostPosted: Tue May 20, 2008 2:56 pm
Reply with quote

Can any one provide me the SKIPREC Example JCL.

//TL$SOR1 JOB (),'SKIP RECS',
// CLASS=3,NOTIFY=&SYSUID,
// MSGCLASS=R
//STEP1 EXEC PGM=XXXXXXXXXX
//xx DD DSN=TEST.BKUP(0)DISP=SHR
//XX DD DSN=TEST.OUT,
// DISP=(,CATLG,DELETE),
// DATACLAS=FBX,LRECL=13500
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY,SKIPREC=100,STOPAFT=20
/*


Srini
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue May 20, 2008 3:00 pm
Reply with quote

Do you not have access to documentation ?

What errors are you getting ?

And as this was posted under CA products, I assume that you are using CA-SORT
Back to top
View user's profile Send private message
msrinivasa
Warnings : 1

New User


Joined: 31 Jan 2007
Posts: 10
Location: chennai

PostPosted: Tue May 20, 2008 4:34 pm
Reply with quote

Hi,
Thanks for your reply and just i had mentioned the sample and I am not sure my jcl is correct or not, if possible please provide me the JCL,

To skip 100 records and then copy 20 records
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Tue May 20, 2008 5:55 pm
Reply with quote

So the point is - you are not sure - so just run it and find out. Then if it works, HURRAY!

If not, either you get error messages or wrong results and you go from there.

You could have been finished by now if you had not stopped to read my post.
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Sort skiprec DFSORT/ICETOOL 7
No new posts Subtract the ZD fields to provide neg... DFSORT/ICETOOL 4
No new posts Does SORT provide LRECL in programming? DFSORT/ICETOOL 5
No new posts Requesting to provide me DFSORT syntax. DFSORT/ICETOOL 11
No new posts Provide help screen for each field CICS 3
Search our Forums:

Back to Top