Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Ways of preventing datasets from archiving ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Ways of preventing datasets from archiving ?
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 Member


Joined: 14 Mar 2007
Posts: 10701
Location: italy

PostPosted: Mon Feb 18, 2008 3:21 pm    Post subject: Reply to: Ways of preventing datasets from archiving ?
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: 6970
Location: porcelain throne

PostPosted: Mon Feb 18, 2008 3:43 pm    Post subject:
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    Post subject:
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: 6970
Location: porcelain throne

PostPosted: Mon Feb 18, 2008 4:28 pm    Post subject:
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 Member


Joined: 14 Mar 2007
Posts: 10701
Location: italy

PostPosted: Mon Feb 18, 2008 4:40 pm    Post subject: Reply to: Ways of preventing datasets from archiving ?
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: 8796
Location: Welsh Wales

PostPosted: Mon Feb 18, 2008 4:49 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Feb 19, 2008 12:42 am    Post subject:
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    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
No new posts Compare Two datasets and Override Mat... ArunkumarGanesan DFSORT/ICETOOL 7 Mon Apr 27, 2020 7:45 pm
No new posts Compare Two datasets and get the 1st ... ArunkumarGanesan DFSORT/ICETOOL 7 Fri Mar 27, 2020 2:00 am
No new posts Need a Macro to compare datasets and ... Anupam Nayak All Other Mainframe Topics 2 Mon Feb 17, 2020 4:45 pm
No new posts Mainframe datasets without any last r... rajatbagga All Other Mainframe Topics 1 Tue Sep 24, 2019 8:47 am
No new posts ADRDSSU BY(REFDT... not selecting cor... Greg Roschel IBM Tools 3 Wed Sep 18, 2019 7:23 pm

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