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 3 files concatenated to 1 DFSORT/ICETOOL 2
No new posts JCL sort to compare dates in two file... DFSORT/ICETOOL 2
No new posts combine multiple unique records into ... DFSORT/ICETOOL 2
No new posts CA7 count with DATE variable CA Products 0
No new posts To Omit records based n SORT condition DFSORT/ICETOOL 6
Search our Forums:

Back to Top