View previous topic :: View next topic
|
Author |
Message |
rameshbabu Warnings : 1 New User
Joined: 23 May 2005 Posts: 27
|
|
|
|
hi
how to find the no of records directly from a dataset? |
|
Back to top |
|
|
crreddy
New User
Joined: 09 May 2005 Posts: 4
|
|
|
|
Hi ramesh,
you can use the TSO COUNT command
TSO COUNT dataset(give name in single quotes)
or
u can directly give line command 'COUNT' beside the dataset
This will give you the total count of records present in that dataset.
-crreddy |
|
Back to top |
|
|
David P
Active User
Joined: 11 Apr 2005 Posts: 106 Location: Cincinnati Ohio
|
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
hi ramesh,
in tso 3;4 give the dataset name and give I in left side of the dataset listed. It will give you the information abt the dataset as well as number of members in that dataset. |
|
Back to top |
|
|
gvt460
New User
Joined: 04 Mar 2005 Posts: 23
|
|
|
|
hai crreddy
but i am not getting total number of records in a file.
plz explain me properly. |
|
Back to top |
|
|
sree_2503
New User
Joined: 22 May 2005 Posts: 12 Location: Chennai,India
|
|
|
|
Hi Ramesh,
At the first place, I couldnt understand fully what you meant by finding no. of records directly from a dataset. Did you mean that you have a ds in hand and you want to know how many records are there without coding thru programs?
Well, the simplest way then is to browse the DS (rather the file), and see the count against Line number on top as you pass M in the command line and then hit F8(this is the hot key to reach end of file).....tht gives you the no of records tht file contains.. |
|
Back to top |
|
|
rameshbabu Warnings : 1 New User
Joined: 23 May 2005 Posts: 27
|
|
|
|
hi sorry for inconvinience for you if the dataset is in DASD ok if it is in tape then we have to copy into DASD then we have to follow the same as above you mentioned ok i think you will get the clear idea |
|
Back to top |
|
|
|