MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Count no. of records of a file with RECFM=U

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
ranga_subham
Intermediate


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Tue May 16, 2006 4:52 am    Post subject: Count no. of records of a file with RECFM=U Reply with quote

Hi,

I used a SYNCSORT job with COUNT option to know no. of records on a file with RECFM=U. The job is abending with a message "RECORD FORMAT IS U".

The attributes of the file are:

Code:

Organization  . . . : PS   
Record format . . . : U     
Record length . . . : 0     
Block size  . . . . : 6144 
1st extent tracks . : 64   
Secondary tracks  . : 120   


Please let me know how to count the no. of records from a file with RECFM=U?

TIA.
_________________
Ranga
*****
None of us is as smart as all of us - Ken Blanchard
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue May 16, 2006 5:25 am    Post subject: Reply with quote

Ranga,

RECFM=U means that the dataset is a Load Library. Can you tell us what you are actually upto ? May be we can suggest a better alternative.

I am not sure what are you trying to do - but remember - the number of lines in a load is never same as the number of lines in your actual code.

Thanks,
Phantom
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Tue May 16, 2006 8:36 am    Post subject: Reply with quote

THe number of lines in a RECFM=U data set is pretty meaningless. If you reblock the data set you will get a different number of lines but the data will have exactly the same symantic meaning. Also, how the data is broken up into lines while reading is an arbitrary choice made by the operating system.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group