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

Regarding File Size


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kiranbhargava18

New User


Joined: 21 Apr 2009
Posts: 10
Location: Hyderabad

PostPosted: Thu Sep 10, 2009 2:52 pm
Reply with quote

In case we have a file which contains around 3M records how can I find the total number of records using REXX.

Currently, I am storing the file in a stem called ARRAY and when I am trying to get the count through ARRAY.0, its throwing an error and showing a record count of around 60K. I tried using added the buffer space in JCL, the record count being fetched has increased to around 1M, but, still the error continues.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Thu Sep 10, 2009 3:04 pm
Reply with quote

Use some common sense and ask yourself WHY you need to know the exact number of records?

As has been discussed zillions of time on this forum, do not abuse REXX for the purpose of counting records in files!
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu Sep 10, 2009 5:34 pm
Reply with quote

Check multiple ways shown in below thread for it

www.ibmmainframes.com/viewtopic.php?t=42977&highlight=record+count
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
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
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top