IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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
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: 1448
Location: Chicago, IL

PostPosted: Wed May 03, 2006 11:39 am
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top