| View previous topic :: View next topic |
| Author |
Message |
ranga_subham Intermediate

Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Tue May 16, 2006 4:52 am Post subject: Count no. of records of a file with RECFM=U |
|
|
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 |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Tue May 16, 2006 5:25 am Post subject: |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Tue May 16, 2006 8:36 am Post subject: |
|
|
| 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 |
|
 |
|
|
|