IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Reading pds directory with statistics


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bauer

New User


Joined: 03 Mar 2009
Posts: 28
Location: germany

PostPosted: Thu Sep 24, 2009 4:23 am
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

Global Moderator


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

PostPosted: Thu Sep 24, 2009 6:31 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 24, 2009 11:27 am
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
www.sillysot.com/ftp/mlrexx.txt

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

New User


Joined: 03 Mar 2009
Posts: 28
Location: germany

PostPosted: Thu Sep 24, 2009 1:04 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 24, 2009 1:08 pm
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: 28
Location: germany

PostPosted: Thu Sep 24, 2009 1:13 pm
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: 262

PostPosted: Thu Sep 24, 2009 7:04 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Creating Unix Directory using COBOL i... COBOL Programming 2
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts A directory in the pathname was not f... ABENDS & Debugging 0
Search our Forums:

Back to Top