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

Counting the number of records in PS file


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Sep 20, 2007 4:05 pm
Reply with quote

Quote:
I cannot do it using a JCL(though i know it can be done) as my requirements does not allows me to do so.


If it is not "homework" You should explain to Your manager/coordinator/...
that for simple tasks it much more productive and safe to use standard utilities
rather than write a program (which has to be documented, mantained, and so on)

regards

e.s
Back to top
View user's profile Send private message
richa gupta

New User


Joined: 29 Jul 2007
Posts: 8
Location: noida

PostPosted: Thu Sep 20, 2007 4:11 pm
Reply with quote

if appropriate, you can sort the file and get the count .
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Sep 20, 2007 4:14 pm
Reply with quote

Rich,

Quote:
you can sort the file

I hope you are suggesting to use SORT utility and not really sorting the file.
Back to top
View user's profile Send private message
richa gupta

New User


Joined: 29 Jul 2007
Posts: 8
Location: noida

PostPosted: Thu Sep 20, 2007 4:42 pm
Reply with quote

Yes Murali,

I was referring to SORT utility. SORT=COPY, will give the exact number of records sorted in the spool.
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top