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
 

 

i want to know the how many records are there in the file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
philipraju
Warnings : 1

New User


Joined: 16 Apr 2006
Posts: 29

PostPosted: Wed May 03, 2006 2:21 am    Post subject: i want to know the how many records are there in the file
Reply with quote

hi,
i want to know the how many records are there in the file without opening the file and i want to know the properties of the file,let me know if possible,How (along with steps)
Back to top
View user's profile Send private message

raghunathns

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Wed May 03, 2006 6:06 am    Post subject: records in a file
Reply with quote

use icetool to get the record count
Back to top
View user's profile Send private message
niharika1234

New User


Joined: 01 May 2006
Posts: 9

PostPosted: Wed May 03, 2006 10:59 am    Post subject:
Reply with quote

Raghu !

can we use file-aid for this.......?
Back to top
View user's profile Send private message
laxmi

New User


Joined: 24 May 2005
Posts: 9

PostPosted: Wed May 03, 2006 11:24 am    Post subject: hi,
Reply with quote

if u know the size of the file and record we can know the no of records if the record type is FB BY SIZE FO THE FILE/ SIZE OF THE RECORD.
correct me if i am wrong
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 May 03, 2006 11:39 am    Post subject: Re: i want to know the how many records are there in the fil
Reply with quote

Search please ...there are topics available stating how to get record count of a file by a Job....One of such is here...

Regards,
Priyesh.
Back to top
View user's profile Send private message
kousalya26

New User


Joined: 06 Jul 2005
Posts: 21
Location: chennai

PostPosted: Wed May 03, 2006 12:47 pm    Post subject: Re: i want to know the how many records are there in the fil
Reply with quote

As mentioned in the earlier posts, we can get the number of records in a file using a job. It can also be found using File-Aid. Use "Interactive" option in File-Aid and then give the name of the dataset on disk. Then it will ask to enter the function. Type TALLY and wait.It will give the record count.
Corrections welcome !

Thanks & Regards,
kousalya
Back to top
View user's profile Send private message
parul

New User


Joined: 08 Apr 2005
Posts: 11
Location: mumbai

PostPosted: Mon May 08, 2006 5:42 pm    Post subject:
Reply with quote

yes boss..it worked..!!!
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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