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
 

 

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
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: 6967
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: 6967
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
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: 8593
Location: Back in jolly old England

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: 6258
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
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts Finding unreferenced datasets without... Alan Playford JCL & VSAM 5 Tue Jul 12, 2016 9:07 pm


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