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 fetch records that has Ttamp value... DFSORT/ICETOOL 4
No new posts ICETOOL returns no records JCL & VSAM 1
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts To get the count of rows for every 1 ... DB2 3
Search our Forums:

Back to Top