View previous topic :: View next topic
|
Author |
Message |
ponnu116 Warnings : 1 New User
Joined: 12 Sep 2007 Posts: 21 Location: chennai
|
|
|
|
I need to find the total Lines of Code in a PDS which has 1300 members.
How can i find the total number of lines using SORT or some other tool. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
ISPF option 3.4, bring up the PDS on a selection list, enter PX beside the PDS. This prints the member names and line counts along with total lines.
PS. why there is a such a need by the way ? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
go to option 3.4 ( dataset list) and list Your dataset
put PX in front of it
then in the command line type LIST
choose option 3 keep and continue with new
browse the last &PREFIX.SPFx.LIST
and You will find a detailed report on Your pds |
|
Back to top |
|
|
ponnu116 Warnings : 1 New User
Joined: 12 Sep 2007 Posts: 21 Location: chennai
|
|
|
|
Hi,
Thanks for the info, it was required for some estimation.i did as u told but the problem is when i give PX im seeing index printed but where can i see that information |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
I SEE IT
Code: |
DATASET: IBMUSER.TEST.JCLLIB
GENERAL DATA: GENERAL DATA:
VOLUME SERIAL: SARES1 RECORD FORMAT: FB
DEVICE TYPE: 3390 RECORD LENGTH: 80
ORGANIZATION: PO BLOCK SIZE: 27,920
CREATION DATE: 2008/04/14 1ST EXTENT SIZE: 8
EXPIRATION DATE: ***None*** SECONDARY QUAN: 8
MEMBER TTR VERS.MOD CREATION DATE AND TIME CURRENT
NAME (HEX) LEVEL DATE LAST MODIFIED NO. LINE
AAA 000507 01.00 2008/07/15 2008/07/15 02:48:43 2
JTEST 000503 01.01 2008/05/19 2008/07/10 04:44:59 4
XYZ1 00050B 01.01 2008/10/30 2008/10/30 07:55:52 6
XYZ1A 00050F 01.00 2008/10/30 2008/10/30 08:05:17 13
XYZ1B 000511 01.00 2008/10/30 2008/10/30 08:11:30 7
XYZ2A 00050D 01.00 2008/10/30 2008/10/30 07:58:59 13
XYZ2Y 000513 01.00 2008/10/30 2008/10/30 08:12:58 7
Z 000505 01.00 2008/07/13 2008/07/13 00:41:58 5
ZZZ 000401 01.02 2008/06/18 2008/06/18 04:09:31 772
MAXIMUMS: 01.02 2008/10/30 2008/10/30 08:12:58 772
TOTALS: 829
END OF MEMBER LIST
|
did You follow my instructions ??? |
|
Back to top |
|
|
ponnu116 Warnings : 1 New User
Joined: 12 Sep 2007 Posts: 21 Location: chennai
|
|
|
|
Thank you very much guys, i could solve the problem.actually i was doing this using a search jcl which will give total number of lines processed.
but this method is good.thanks |
|
Back to top |
|
|
Amsar
New User
Joined: 26 Sep 2008 Posts: 84 Location: Chennai
|
|
|
|
enrico,
What is dataset &PREFIX.SPFx.LIST ?
Thanks,
Amsar |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
its the standard name of the ispf list dataset
&prefix is Usually Your tso userid
SPFx.. the x gets incremented for each list dataset geerated
( but it depends on Your ispf profile and termination settings )
LIST ... well tht' s self explaining
why don' t You try it |
|
Back to top |
|
|
Amsar
New User
Joined: 26 Sep 2008 Posts: 84 Location: Chennai
|
|
|
|
Thanks a lot enrico,
i am able to see the details of my PDS. |
|
Back to top |
|
|
|