Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Regarding File Size

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Regarding File Size
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: 1048
Location: Oostende, Belgium

PostPosted: Thu Sep 10, 2009 3:04 pm    Post subject:
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    Post subject:
Reply with quote

Check multiple ways shown in below thread for it

http://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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us