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

How to count number of records in a NON-vSAM files or VSAM


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Tue Mar 22, 2005 4:18 pm
Reply with quote

Hi all


How to count number of records in a NON-vSAM files or VSAM files

using TSO/ISPF





Thanks
Siva
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Tue Mar 22, 2005 6:43 pm
Reply with quote

How about using REPRO?
Code:

TSO ALLOC DD(OUT) DUMMY REUSE RECFM(recfm) LRECL(lrecl)

TSO REPRO IDS('MY.DATASET.TO.CHECK') OUTF(OUT)

Result: IDC0005I NUMBER OF RECORDS PROCESSED WAS nnnn


Or using SORT or ICEGENER or ICETOOL or SYNCTOOL or EDIT/BROWSE and maxing down to the last record?
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Count Records with a crietaria in a f... DFSORT/ICETOOL 5
No new posts Splitting group records based on deta... DFSORT/ICETOOL 8
No new posts Orphaned BCDS Records JCL & VSAM 1
No new posts Copy next subsquent records based on ... DFSORT/ICETOOL 5
No new posts How can I get Generation Nbr of GDG f... IBM Tools 1
Search our Forums:

Back to Top