Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Reading pds directory with statistics

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
bauer

New User


Joined: 03 Mar 2009
Posts: 26
Location: germany

PostPosted: Thu Sep 24, 2009 4:23 am    Post subject: Reading pds directory with statistics
Reply with quote

Hi all,

i like to read the directory of a pds dataset including the statistics data like member creation date, userid etc. using PL/1 or Cobol.

Does anybody know the link to the documenation of the pds directory structure for the statistics data for pds members?

This manual [/url]http://publibfp.boulder.ibm.com/epubs/pdf/dgt2d440.pdf[url] provides only the structure of the pds directory but not the structure of the statistics data.

Thank you for help.
Back to top
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2088
Location: Silicon Valley

PostPosted: Thu Sep 24, 2009 6:31 am    Post subject: Reply to: Reading pds directory with statistics
Reply with quote

The statistics are considered 'user data' by the operating system. ISPF adds them but other utilities do not.

You can get the stats from ISPF using the LMMLIST service.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Thu Sep 24, 2009 11:27 am    Post subject: Reply to: Reading pds directory with statistics
Reply with quote

You can read a PDS directory as a RECFM=F LRECL=256 dataset,
wandering inside the block thru the member entries is up to Your coding...

here is the direct pointer to a REXX sample
http://www.sillysot.com/ftp/mlrexx.txt

other MVS goodies from Doug Nadel
http://www.sillysot.com/mvs
Back to top
View user's profile Send private message
bauer

New User


Joined: 03 Mar 2009
Posts: 26
Location: germany

PostPosted: Thu Sep 24, 2009 1:04 pm    Post subject:
Reply with quote

Thank you very much for your answers.

enrico-sorichetti,
your answser gives exactly the desired result. Perfect.
But one remark: In which IBM manual is the layout of the UserData documented?

For RECFM = U I found this http://publib.boulder.ibm.com/infocenter/zvm/v5r4/index.jsp?topic=/com.ibm.zos.r9.ieab200/destow.htm, but RECFM <> U ????

I anybody is interested for the pl/1 coding pls let me know.

regards,
bauer
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Thu Sep 24, 2009 1:08 pm    Post subject: Reply to: Reading pds directory with statistics
Reply with quote

somewhere in the ispf manuals, but right now I do not remember which icon_neutral.gif

I' ll post when I find out again

edited to add the not
Back to top
View user's profile Send private message
bauer

New User


Joined: 03 Mar 2009
Posts: 26
Location: germany

PostPosted: Thu Sep 24, 2009 1:13 pm    Post subject:
Reply with quote

enrico-sorichetti, no problem.
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 260

PostPosted: Thu Sep 24, 2009 7:04 pm    Post subject:
Reply with quote

ISPZDG70 z/OS V1R10.0 ISPF Dialog Developer's Guide and Reference has the info in
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Need help in reading and validating a... ABINAYATHULASI COBOL Programming 8 Tue Apr 18, 2017 11:42 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts Reading selected volumes of a multi-v... RickBig JCL & VSAM 6 Wed Jul 13, 2016 7:26 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us