Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us