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

Ways of preventing datasets from archiving ?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ParagChouguley

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Mon Feb 18, 2008 3:04 pm
Reply with quote

Hi All,
What are the ways of preventing datasets (PS files, PDSs and VSAM) from archiving ?

And which one is the best amongst them ?

--Parag
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Moderator


Joined: 14 Mar 2007
Posts: 10729
Location: italy

PostPosted: Mon Feb 18, 2008 3:21 pm
Reply with quote

in an SMS environment
http://www-03.ibm.com/systems/storage/software/sms/whatis_sms/const.html

Data set archiving/migration is ruled by the management class of the dataset,

In order to give the appropriate management class tho the dataset You want to exclude from archiving/migration
You should speak with Your storage support group, or look at Your shop standards

there is no ... them, that' s the only way
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Feb 18, 2008 3:43 pm
Reply with quote

I currently consult for a company whose mainframe (managed by yet another company - owning company) archive process is based on last date of access. > 14 days, archive it................

so, I wrote a rexx that accesses any ds (pds or po) that I own. I run this rexx every friday (or thursday) evening. Simply reads a record, or opens a member. This effectivly discourages the archive process set-up by the idiots on the other end.
Back to top
View user's profile Send private message
ParagChouguley

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Mon Feb 18, 2008 4:03 pm
Reply with quote

Hi Dick,
This is someting I wanted. I too have a JCL that simply searches a string in a PDS or file. Now, my question is, merely searching a string in a PDS will prevent it from Archiving ?

Also could you please give the REXX, you wrote ?

--Parag
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Feb 18, 2008 4:28 pm
Reply with quote

depends upon the criteria of the archiving agent. mostly, simple access will deter the achiving of a ds.

Quote:

Also could you please give the REXX, you wrote ?


first, you need my paypal account.
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Moderator


Joined: 14 Mar 2007
Posts: 10729
Location: italy

PostPosted: Mon Feb 18, 2008 4:40 pm
Reply with quote

Quote:
What are the ways of preventing datasets (PS files, PDSs and VSAM) from archiving ?


Nothing wrong in reviewing with storage support
...the migrate thresholds
...the datasets eligible/not eligible for migration

but playing dirty tricks to prevent dataset migration... bah! icon_question.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8794
Location: Welsh Wales

PostPosted: Mon Feb 18, 2008 4:49 pm
Reply with quote

Yeah, I'm with Enrico here, being a storage person.

I can also see Dicks point about things disappearing too quickly. And Yes there are some idiots out there who should not be allowed to touch SMS unsupervised. ( In fact, I'm not sure that I would even allow them to logon in the first place !!! ).

I usually allow 32 days for TSO datasets before they are migrated, and always to ML1 for fast recall for another 45 or so days.

So, if the SMS setup is well thought out and implemented, you shouldn't have these problems, so YES also speak to your storage people to see what they can do for you so that you do not need to circumvent the rules.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Tue Feb 19, 2008 12:42 am
Reply with quote

Well,

I use TPS370 command in front of the DSN to alter the mangement class to 370 days. I doubt that it's a common command across shops, still You can give a try.

BTW, keep the Expat's comments in mind, there are some better suggestion then the above one.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare Two datasets and Override Mat... DFSORT/ICETOOL 7
No new posts Compare Two datasets and get the 1st ... DFSORT/ICETOOL 7
No new posts Need a Macro to compare datasets and ... All Other Mainframe Topics 2
No new posts Mainframe datasets without any last r... All Other Mainframe Topics 1
No new posts ADRDSSU BY(REFDT... not selecting cor... IBM Tools 3
Search our Forums:

Back to Top