Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Count the Number of records present in a File

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
raajan_p

New User


Joined: 19 Sep 2005
Posts: 17

PostPosted: Wed Nov 09, 2005 9:35 am    Post subject: Count the Number of records present in a File
Reply with quote

Hi All,

I want to count the number of records present in a file.

I dont have DFSORT utility in my shop and so i am unable to use ICETOOL.

Is it possible to count the number of records present in a file using SORT or SYNCSORT. If so please let me know.

Thanks,
Raajan.
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Wed Nov 09, 2005 10:31 am    Post subject: Re: Count the Number of records present in a File
Reply with quote

Raajan,

Make a search before posting ....

http://ibmmainframes.com/viewtopic.php?t=1832

Regards,

Priyesh.
Back to top
View user's profile Send private message
sathish_rathinam

New User


Joined: 22 Aug 2005
Posts: 59
Location: india

PostPosted: Wed Nov 09, 2005 7:04 pm    Post subject: Re: Count the Number of records present in a File
Reply with quote

hi rajan,

u can get the no of records in a file using fileaid option 3.8 (batch interactive facility) ,just give the input file name and press enter..
In the next screen type 'TALLY' ,u will get the no of records easily ,instead of using DFSORT or ICETOOL ..this can be a more easier one


cheers,
sathish
Back to top
View user's profile Send private message
simham

New User


Joined: 29 Sep 2005
Posts: 12

PostPosted: Thu Nov 10, 2005 10:17 am    Post subject:
Reply with quote

hi sathish,

can you please let us know the possible functions (like tally) we can use under 3.8 in file-aid.

Thanks,
Simha
Back to top
View user's profile Send private message
sathish_rathinam

New User


Joined: 22 Aug 2005
Posts: 59
Location: india

PostPosted: Thu Nov 10, 2005 10:27 am    Post subject: Re: Count the Number of records present in a File
Reply with quote

hi simham,

The other functions we make use IN FILEAID 3.8 r COPY,DROP,DUMP,COMPARE,CONVERT,REFORMAT,PRINT,UPDATE..

cheers,
sathish
Back to top
View user's profile Send private message
raajan_p

New User


Joined: 19 Sep 2005
Posts: 17

PostPosted: Thu Nov 10, 2005 8:40 pm    Post subject: Re: Count the Number of records present in a File
Reply with quote

Hi Guys,

Thanks a lot for your replies.

Regards,
Raajan
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us