View previous topic :: View next topic |
Author |
Message |
Devi Beginner
Joined: 29 Oct 2004 Posts: 6 Topics: 3 Location: chennai
|
Posted: Wed Jul 09, 2008 8:54 am Post subject: EXTRACT ATTRIBUTES IN PDS |
|
|
Hi.
Could you please clarify my doubt.
I have a PDS with follwoing members
Code: |
KXX0P.TAB.UAT Row 00001 of 00095
===> Scroll ===> CSR
Name Prompt Size Created Changed ID
_ BHTABBAF 6 1995/05/10 2004/09/07 15:17:19 P002670
_ BHTABINL 10 2003/09/24 2007/09/04 09:48:30 P014100
|
I want to copy the date when this member got changed into a flat file
for instance new file looks like below
Code: |
BHTABBAF 2004/09/07
BHTABINL 2007/09/04
|
Please clarify are we can extract the attributes like this.Many Thanks !! _________________ "A faithful friend is the medicine of life." |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed Jul 09, 2008 11:13 am Post subject: |
|
|
That is an SPF statistic. It is documented somewhere - sorry, cannot say off the top of my head. You would need a Rexx exec or Clist to access each member and its stats and then write the info to your file. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Jul 09, 2008 3:51 pm Post subject: |
|
|
While viewing the list of members in ISPF, enter 'SAVE MYLIST LONG' and the stats will be stored in dataset 'userid.MYLIST.MEMBERS' for you. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
|
vkphani Intermediate
Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
Posted: Thu Jul 10, 2008 1:06 am Post subject: |
|
|
Devi,
'userid.MYLIST.MEMBERS' will have all the details. If you want only the member name and changed date, then you can do it thru SORT by giving 'userid.MYLIST.MEMBERS' as input. |
|
Back to top |
|
|
Devi Beginner
Joined: 29 Oct 2004 Posts: 6 Topics: 3 Location: chennai
|
Posted: Fri Jul 11, 2008 4:40 am Post subject: |
|
|
Thanks a lot! .Now I am just thinking how to place this command in a jcl (without enter command manually)
I mean,we need to create a job which will run montly and generate the file 'userid.MYLIST.MEMBERS'
If time permits,please throw your suggestions. Many Thanks! _________________ "A faithful friend is the medicine of life." |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Fri Jul 11, 2008 6:33 am Post subject: |
|
|
Write a program that uses the ISPF Library Management (LM) service LMMLIST with STATS(YES) enabled. |
|
Back to top |
|
|
Devi Beginner
Joined: 29 Oct 2004 Posts: 6 Topics: 3 Location: chennai
|
Posted: Tue Jul 15, 2008 5:51 am Post subject: |
|
|
Thanks Superk ! _________________ "A faithful friend is the medicine of life." |
|
Back to top |
|
|
|
|