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
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 Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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