Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to capture the change date of members of a PDS using ...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
pradeepkit
Warnings : 1

New User


Joined: 25 Jun 2008
Posts: 60
Location: chennai

PostPosted: Tue Aug 12, 2008 7:28 pm    Post subject: How to capture the change date of members of a PDS using ...
Reply with quote

Hi,

I am creating the backup of the components from the package.
The backup we need each day.
If there is any change in the component the backup is taken for that component only.

I have only problem if i can get the change date of the component then i will check it to be current date as we are taking backup daily. If same then backup is taken.

please help me..............................
Back to top
View user's profile Send private message

Pedro

Senior Member


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

PostPosted: Tue Aug 12, 2008 9:35 pm    Post subject: Reply to: How to capture the change date of members of a PDS
Reply with quote

Can you explain more about 'component' and 'package'? Are any of them datasets or PDS member names?
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Tue Aug 12, 2008 10:44 pm    Post subject: Reply to: How to capture the change date of members of a PDS
Reply with quote

Is this a similar request you your other topic regarding Changeman?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Aug 13, 2008 11:29 am    Post subject: Reply to: How to capture the change date of members of a PDS
Reply with quote

Pradeep,

How is this topics related to REXX? What do you want to do with REXX?
Back to top
View user's profile Send private message
pradeepkit
Warnings : 1

New User


Joined: 25 Jun 2008
Posts: 60
Location: chennai

PostPosted: Wed Aug 13, 2008 9:14 pm    Post subject:
Reply with quote

this tool is to be made in rexx.

i have done almost everything except i am not able to find the change date of the member of a pds.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Aug 13, 2008 9:48 pm    Post subject:
Reply with quote

The change date for a member of a PDS may or may not exist depending on how the member was changed!
Back to top
View user's profile Send private message
nkumar

New User


Joined: 09 Mar 2008
Posts: 28
Location: USA

PostPosted: Sat Aug 23, 2008 3:22 pm    Post subject:
Reply with quote

Hi Pradeep,

I also had similar query . You can refer the link below for solution.

http://ibmmainframes.com/viewtopic.php?t=33541&highlight=
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sat Aug 23, 2008 4:59 pm    Post subject:
Reply with quote

If you are trying to create a new tool to be used with a library management package
for example, trying to implement an archival tool
I would suggest you read the documentation for your management system.
The documentation will tell you how to properly interface, sort of like explaining its APIs.

As previously stated:
you can not trust pds/pds-e member statistics. They are tooooo easy to change,
thus rendering them useless.

Whereas the management system has all the statistics you need,
the documentation will tell you how to access the info and how to access the data to be archived,
to insure that you are creating a professional archiving tool,
and that you archive the appropirate data.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Aug 23, 2008 5:42 pm    Post subject:
Reply with quote

An extremely valid point from Dick. It only takes one bright spark using option 3.5 to wipe out the ISPF statistics for the whole PDS in one go.

Also, if a member is created by using the CREATE command from SDSF then there are usually no statistics generated by the creation.

SMF data does not track member updates. creation or deletion.

So unless you are using a proprietry software package then you will need to look closely at how access to the members is granted, and controlled. It can be done quite well using RACf and named program access, but you will need to implement a logging mechanism to create your audit trail.

But of course, if you are not using ISPF based libraries the majority of the above comments may or may not be applicable icon_eek.gif
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Sun Aug 24, 2008 5:51 am    Post subject:
Reply with quote

I'd run an IEHLIST and parse the output. That way you can save changes due to ANY change of ISPF statistics AND changes to the TTR. When a member is saved, the TTR should change, even if there are no ISPF statistics. When you compress the data set, all TTRs can change, but it is better to save too many copies of the data than to not save enough. type TSO ISRDDN;M ISPMLIST for an example of invoking IEHLIST from Rexx. If you want even better control, you could read each member and save some sort of hash of its contents (CRC, MD5SUM, etc, but you' have to write that).
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Mon Aug 25, 2008 9:37 pm    Post subject: Reply to: How to capture the change date of members of a PDS
Reply with quote

Quote:
you could read each member and save some sort of

1. Make a copy of the dataset every day.

2. Run SUPERC to see what changed.

3. Replace the copy with current dataset.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Sep 01, 2008 12:53 pm    Post subject:
Reply with quote

Hi Pradeep,

Was searching for something else for me anyhow got this link- might help you, have a look..

http://ibmmainframes.com/viewtopic.php?t=23109&highlight=smf
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us