View previous topic :: View next topic
|
Author |
Message |
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
Can you explain more about 'component' and 'package'? Are any of them datasets or PDS member names? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Is this a similar request you your other topic regarding Changeman? |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Pradeep,
How is this topics related to REXX? What do you want to do with REXX? |
|
Back to top |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
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 |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
The change date for a member of a PDS may or may not exist depending on how the member was changed! |
|
Back to top |
|
|
nkumar
New User
Joined: 09 Mar 2008 Posts: 28 Location: USA
|
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
|