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
 
How to know the dataset creation Time

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kalaignar_S
Warnings : 1

New User


Joined: 06 Jan 2006
Posts: 21

PostPosted: Thu Apr 13, 2006 2:46 pm    Post subject: How to know the dataset creation Time
Reply with quote

Could you please help to find out to know the dataset
creation time in mainframe. We have have requirement
like based on creation time of the dataset, our
process shoul FTP the files from mainframe to unix
box.

So how do we identify the creation time of a dataset.

Your response in this is most appriciatable..
Back to top
View user's profile Send private message

kamran

New User


Joined: 01 May 2005
Posts: 55

PostPosted: Thu Apr 13, 2006 4:48 pm    Post subject: Re: PDS
Reply with quote

Do you need creation time or date?
if you need creation time I don't think it would not stored anywhere to be retrieved later!


kalaignar_S wrote:
Could you please help to find out to know the dataset
creation time in mainframe. We have have requirement
like based on creation time of the dataset, our
process shoul FTP the files from mainframe to unix
box.

So how do we identify the creation time of a dataset.

Your response in this is most appriciatable..
Back to top
View user's profile Send private message
kalaignar_S
Warnings : 1

New User


Joined: 06 Jan 2006
Posts: 21

PostPosted: Thu Apr 13, 2006 4:55 pm    Post subject:
Reply with quote

date is possible?
if possible pls let me know the procedure..
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Thu Apr 13, 2006 4:58 pm    Post subject: Re: PDS
Reply with quote

kalaignar_S, your post title is "PDS". Are you looking at how to process a PDS based on the ISPF statistics of the members? Or, are you talking about QSAM or VSAM datasets?
Back to top
View user's profile Send private message
kalaignar_S
Warnings : 1

New User


Joined: 06 Jan 2006
Posts: 21

PostPosted: Thu Apr 13, 2006 5:01 pm    Post subject:
Reply with quote

i am looking at how to process a PDS based on the ISPF statistics of the members
Back to top
View user's profile Send private message
pkmurali
Warnings : 1

Active User


Joined: 15 Dec 2005
Posts: 237

PostPosted: Thu Apr 13, 2006 5:14 pm    Post subject: Re: PDS
Reply with quote

Hi,
If you want to know the creation date type S or I before the dataset.It will give Information about dataset.
Back to top
View user's profile Send private message
kamran

New User


Joined: 01 May 2005
Posts: 55

PostPosted: Thu Apr 13, 2006 5:21 pm    Post subject:
Reply with quote

Hi,
I think it is better you to explain your need in detail because at first I thought you need just creation date of the whole pds but it seems from the quoted one that you need creation time of each member which is possible and you didn't clear if you are going to detecting of creation time of each member automatically and in which language you need to write your probable program.
finally it is possible to retrieve the creation date and update date and time of each member of the a pds through ISPF!
of course if think this must be discussed in other topics

kalaignar_S wrote:
i am looking at how to process a PDS based on the ISPF statistics of the members
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Thu Apr 13, 2006 5:29 pm    Post subject: Re: PDS
Reply with quote

You can write a program that uses ISPF services for PDS member list processing.

Basically, the services you'll need are:

LMINIT to assign a variable as a "handle".

LMOPEN to open the dataset as input.

LMMLIST with OPTION(LIST) and STATS(YES) enabled, in a loop, to retrieve the member statistics one member at a time. As each member is retrieved, a set of ISPF variables will be populated with the PDS member statistic information. Those variables are described here.

LMCLOSE to close the dataset.

You'll find the details for the various ISPF Services in the "z/OS V1R7.0 ISPF Services Guide":

LMINIT

LMOPEN

LMMLIST

LMCLOSE

As always, you'll find the details for using these services in the ISPF EDIT Models for the programming language you choose.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm

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