View previous topic :: View next topic
|
Author |
Message |
kiranbhargava18
New User
Joined: 21 Apr 2009 Posts: 10 Location: Hyderabad
|
|
|
|
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 |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
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 |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
Back to top |
|
|
|