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: 4652
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 To get the count of rows for every 1 ... DB2 3
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top