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

IEBGENER - howe to limit numer of records copied


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shamus

New User


Joined: 22 Jul 2005
Posts: 7

PostPosted: Mon Aug 25, 2008 9:26 pm
Reply with quote

Hi,
I want to copy a dataset using IEBGENER, but I only want to copy a small number of records from the file to see what is in the file.

Can I limit the number of records or stop the processing when it has copied a certain number of records.

Thanks
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 25, 2008 10:31 pm
Reply with quote

Use IDCAMS REPRO with COUNT option.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Mon Aug 25, 2008 10:42 pm
Reply with quote

One more...Use OPTION COPY,STOPAFT=n with SORT

Thanks,
Arun
Back to top
View user's profile Send private message
shamus

New User


Joined: 22 Jul 2005
Posts: 7

PostPosted: Tue Aug 26, 2008 3:05 pm
Reply with quote

Thankyou
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 only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Join multiple records using splice DFSORT/ICETOOL 5
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
No new posts JCL sortcard to print only the records DFSORT/ICETOOL 11
Search our Forums:

Back to Top